diff --git a/CHANGELOG.md b/CHANGELOG.md
index a8afd5d67..15b99590a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.29
+**v1.11.29.2** *(2016-04-01)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.2/builds/4chan-X-noupdate.crx "Chromium version")]
+- Update archive list: Nyafuu added /news/.
+- CSS fixes for current 4chan theme.
+
**v1.11.29.1** *(2016-03-31)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.29.1/builds/4chan-X-noupdate.crx "Chromium version")]
- Remove default upvote text.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 33673e613..13feb615d 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index ca0f3af68..17c5cc023 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.29.1
+// @version 1.11.29.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index 67a9bd233..99f455d76 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.29.1
+// @version 1.11.29.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -445,7 +445,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.29.1',
+ VERSION: '1.11.29.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -15134,7 +15134,7 @@
}
return Redirect.data = o;
},
- archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","w","wg","wsr"],"files":["c","e","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
+ archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","news","w","wg","wsr"],"files":["c","e","news","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
to: function(dest, data) {
var archive;
archive = (dest === 'search' || dest === 'board' ? Redirect.data.thread : Redirect.data[dest])[data.boardID];
@@ -18388,6 +18388,9 @@
});
});
$.addStyle(Main.css, 'fourchanx-css');
+ Main.bgColorStyle = $.el('style', {
+ id: 'fourchanx-bgcolor-css'
+ });
keyboard = false;
$.on(d, 'mousedown', function() {
return keyboard = false;
@@ -18403,7 +18406,13 @@
return Main.setClass();
},
setClass: function() {
- var mainStyleSheet, setStyle, style, styleSheets;
+ var mainStyleSheet, md2016, setStyle, style, styleSheets;
+ if ((md2016 = $('link[rel="stylesheet"][href^="//s.4cdn.org/css/md2016."]', d.head))) {
+ md2016.removeAttribute('media');
+ if (getComputedStyle(d.body).backgroundColor === 'rgb(245, 245, 245)') {
+ $.addClass(doc, 'md2016');
+ }
+ }
if (g.VIEW === 'catalog') {
$.addClass(doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace(/_+/g, '-'));
return;
@@ -18412,7 +18421,7 @@
mainStyleSheet = $('link[title=switch]', d.head);
styleSheets = $$('link[rel="alternate stylesheet"]', d.head);
setStyle = function() {
- var k, len1, styleSheet;
+ var bgColor, div, k, len1, styleSheet;
$.rmClass(doc, style);
style = null;
for (k = 0, len1 = styleSheets.length; k < len1; k++) {
@@ -18423,7 +18432,18 @@
}
}
if (style) {
- return $.addClass(doc, style);
+ $.addClass(doc, style);
+ return $.rm(Main.bgColorStyle);
+ } else {
+ div = $.el('div', {
+ className: 'reply',
+ style: 'position: absolute; visibility: hidden;'
+ });
+ $.add(d.body, div);
+ bgColor = window.getComputedStyle(div).backgroundColor;
+ $.rm(div);
+ Main.bgColorStyle.textContent = ".dialog, .suboption-list > div:last-of-type {\n background-color: " + bgColor + ";\n}";
+ return $.after($.id('fourchanx-css'), Main.bgColorStyle);
}
};
setStyle();
@@ -20218,6 +20238,7 @@
" opacity: 0.2;\n" +
" position: relative;\n" +
" top: 1px;\n" +
+" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
".watch-thread-link.watched {\n" +
" opacity: 1;\n" +
@@ -21014,6 +21035,7 @@
" min-width: 70px;\n" +
" text-align: left;\n" +
" text-shadow: none;\n" +
+" font-size: 10pt;\n" +
"}\n" +
".left>.entry.has-submenu {\n" +
" padding-right: 17px !important;\n" +
@@ -21913,6 +21935,21 @@
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
+"/* Adapted from https://s.4cdn.org/css/md2016.651.css */\n" +
+":root.md2016 .page-num {\n" +
+" color: #999;\n" +
+"}\n" +
+":root.md2016 .summary {\n" +
+" border-radius: 0 0 2px 2px;\n" +
+" background-color: #f5f5f5;\n" +
+" width: 80%;\n" +
+" display: block;\n" +
+" margin: -1px auto 0 auto;\n" +
+" box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);\n" +
+" border-top: 1px solid rgba(0,0,0,0.1);\n" +
+" text-indent:10px;\n" +
+" padding:10px 0;\n" +
+"}\n" +
"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
" .quotelink.forwardlink,\n" +
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index b7461c557..c0cfdbcfb 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 25f497c58..c27b04a7e 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.29.1
+// @version 1.11.29.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -445,7 +445,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.29.1',
+ VERSION: '1.11.29.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -15134,7 +15134,7 @@
}
return Redirect.data = o;
},
- archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","w","wg","wsr"],"files":["c","e","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
+ archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","news","w","wg","wsr"],"files":["c","e","news","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
to: function(dest, data) {
var archive;
archive = (dest === 'search' || dest === 'board' ? Redirect.data.thread : Redirect.data[dest])[data.boardID];
@@ -18388,6 +18388,9 @@
});
});
$.addStyle(Main.css, 'fourchanx-css');
+ Main.bgColorStyle = $.el('style', {
+ id: 'fourchanx-bgcolor-css'
+ });
keyboard = false;
$.on(d, 'mousedown', function() {
return keyboard = false;
@@ -18403,7 +18406,13 @@
return Main.setClass();
},
setClass: function() {
- var mainStyleSheet, setStyle, style, styleSheets;
+ var mainStyleSheet, md2016, setStyle, style, styleSheets;
+ if ((md2016 = $('link[rel="stylesheet"][href^="//s.4cdn.org/css/md2016."]', d.head))) {
+ md2016.removeAttribute('media');
+ if (getComputedStyle(d.body).backgroundColor === 'rgb(245, 245, 245)') {
+ $.addClass(doc, 'md2016');
+ }
+ }
if (g.VIEW === 'catalog') {
$.addClass(doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace(/_+/g, '-'));
return;
@@ -18412,7 +18421,7 @@
mainStyleSheet = $('link[title=switch]', d.head);
styleSheets = $$('link[rel="alternate stylesheet"]', d.head);
setStyle = function() {
- var k, len1, styleSheet;
+ var bgColor, div, k, len1, styleSheet;
$.rmClass(doc, style);
style = null;
for (k = 0, len1 = styleSheets.length; k < len1; k++) {
@@ -18423,7 +18432,18 @@
}
}
if (style) {
- return $.addClass(doc, style);
+ $.addClass(doc, style);
+ return $.rm(Main.bgColorStyle);
+ } else {
+ div = $.el('div', {
+ className: 'reply',
+ style: 'position: absolute; visibility: hidden;'
+ });
+ $.add(d.body, div);
+ bgColor = window.getComputedStyle(div).backgroundColor;
+ $.rm(div);
+ Main.bgColorStyle.textContent = ".dialog, .suboption-list > div:last-of-type {\n background-color: " + bgColor + ";\n}";
+ return $.after($.id('fourchanx-css'), Main.bgColorStyle);
}
};
setStyle();
@@ -20218,6 +20238,7 @@
" opacity: 0.2;\n" +
" position: relative;\n" +
" top: 1px;\n" +
+" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
".watch-thread-link.watched {\n" +
" opacity: 1;\n" +
@@ -21014,6 +21035,7 @@
" min-width: 70px;\n" +
" text-align: left;\n" +
" text-shadow: none;\n" +
+" font-size: 10pt;\n" +
"}\n" +
".left>.entry.has-submenu {\n" +
" padding-right: 17px !important;\n" +
@@ -21913,6 +21935,21 @@
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
+"/* Adapted from https://s.4cdn.org/css/md2016.651.css */\n" +
+":root.md2016 .page-num {\n" +
+" color: #999;\n" +
+"}\n" +
+":root.md2016 .summary {\n" +
+" border-radius: 0 0 2px 2px;\n" +
+" background-color: #f5f5f5;\n" +
+" width: 80%;\n" +
+" display: block;\n" +
+" margin: -1px auto 0 auto;\n" +
+" box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);\n" +
+" border-top: 1px solid rgba(0,0,0,0.1);\n" +
+" text-indent:10px;\n" +
+" padding:10px 0;\n" +
+"}\n" +
"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
" .quotelink.forwardlink,\n" +
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index b161b9a9a..698c04495 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index 20966a648..981979c2a 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.29.1
+// @version 1.11.29.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index bebac350a..5c4ddce55 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.29.1
+// @version 1.11.29.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -445,7 +445,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.29.1',
+ VERSION: '1.11.29.2',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -15134,7 +15134,7 @@
}
return Redirect.data = o;
},
- archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","w","wg","wsr"],"files":["c","e","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
+ archives: [{"uid":3,"name":"4plebs","domain":"archive.4plebs.org","http":true,"https":true,"software":"foolfuuka","boards":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"],"files":["adv","f","hr","o","pol","s4s","sp","tg","trv","tv","x"]},{"uid":4,"name":"Nyafuu Archive","domain":"archive.nyafuu.org","http":true,"https":true,"software":"foolfuuka","boards":["c","e","news","w","wg","wsr"],"files":["c","e","news","w","wg","wsr"]},{"uid":8,"name":"Rebecca Black Tech","domain":"rbt.asia","http":false,"https":true,"software":"fuuka","boards":["cgl","g","mu"],"files":["cgl","g","mu"]},{"uid":10,"name":"warosu","domain":"warosu.org","http":false,"https":true,"software":"fuuka","boards":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"],"files":["3","biz","cgl","ck","diy","fa","g","ic","jp","lit","sci","tg","vr"]},{"uid":15,"name":"fgts","domain":"fgts.jp","http":true,"https":true,"software":"foolfuuka","boards":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"],"files":["asp","b","cm","gd","h","hc","hm","n","out","p","po","qa","r","s","soc","toy","vp","y"]},{"uid":23,"name":"Desustorage","domain":"desustorage.org","http":true,"https":true,"software":"foolfuuka","boards":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"],"files":["a","aco","an","c","co","d","fit","gif","his","int","k","m","mlp","qa","r9k","tg","trash","vr","wsg"]},{"uid":24,"name":"fireden.net","domain":"boards.fireden.net","http":false,"https":true,"software":"foolfuuka","boards":["a","cm","ic","sci","tg","v","vg","y"],"files":["a","cm","ic","sci","tg","v","vg","y"]},{"uid":25,"name":"arch.b4k.co","domain":"arch.b4k.co","http":true,"https":true,"software":"foolfuuka","boards":["g","jp","mlp","v"],"files":[]},{"uid":5,"name":"Love is Over","domain":"deploy.loveisover.me","http":true,"https":false,"software":"foolfuuka","boards":["c","d","e","i","lgbt","t","u"],"files":["c","d","e","i","lgbt","t","u"],"search":[]}],
to: function(dest, data) {
var archive;
archive = (dest === 'search' || dest === 'board' ? Redirect.data.thread : Redirect.data[dest])[data.boardID];
@@ -18388,6 +18388,9 @@
});
});
$.addStyle(Main.css, 'fourchanx-css');
+ Main.bgColorStyle = $.el('style', {
+ id: 'fourchanx-bgcolor-css'
+ });
keyboard = false;
$.on(d, 'mousedown', function() {
return keyboard = false;
@@ -18403,7 +18406,13 @@
return Main.setClass();
},
setClass: function() {
- var mainStyleSheet, setStyle, style, styleSheets;
+ var mainStyleSheet, md2016, setStyle, style, styleSheets;
+ if ((md2016 = $('link[rel="stylesheet"][href^="//s.4cdn.org/css/md2016."]', d.head))) {
+ md2016.removeAttribute('media');
+ if (getComputedStyle(d.body).backgroundColor === 'rgb(245, 245, 245)') {
+ $.addClass(doc, 'md2016');
+ }
+ }
if (g.VIEW === 'catalog') {
$.addClass(doc, $.id('base-css').href.match(/catalog_(\w+)/)[1].replace('_new', '').replace(/_+/g, '-'));
return;
@@ -18412,7 +18421,7 @@
mainStyleSheet = $('link[title=switch]', d.head);
styleSheets = $$('link[rel="alternate stylesheet"]', d.head);
setStyle = function() {
- var k, len1, styleSheet;
+ var bgColor, div, k, len1, styleSheet;
$.rmClass(doc, style);
style = null;
for (k = 0, len1 = styleSheets.length; k < len1; k++) {
@@ -18423,7 +18432,18 @@
}
}
if (style) {
- return $.addClass(doc, style);
+ $.addClass(doc, style);
+ return $.rm(Main.bgColorStyle);
+ } else {
+ div = $.el('div', {
+ className: 'reply',
+ style: 'position: absolute; visibility: hidden;'
+ });
+ $.add(d.body, div);
+ bgColor = window.getComputedStyle(div).backgroundColor;
+ $.rm(div);
+ Main.bgColorStyle.textContent = ".dialog, .suboption-list > div:last-of-type {\n background-color: " + bgColor + ";\n}";
+ return $.after($.id('fourchanx-css'), Main.bgColorStyle);
}
};
setStyle();
@@ -20218,6 +20238,7 @@
" opacity: 0.2;\n" +
" position: relative;\n" +
" top: 1px;\n" +
+" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
".watch-thread-link.watched {\n" +
" opacity: 1;\n" +
@@ -21014,6 +21035,7 @@
" min-width: 70px;\n" +
" text-align: left;\n" +
" text-shadow: none;\n" +
+" font-size: 10pt;\n" +
"}\n" +
".left>.entry.has-submenu {\n" +
" padding-right: 17px !important;\n" +
@@ -21913,6 +21935,21 @@
"{\n" +
" background-image: url(\"data:image/svg+xml,\");\n" +
"}\n" +
+"/* Adapted from https://s.4cdn.org/css/md2016.651.css */\n" +
+":root.md2016 .page-num {\n" +
+" color: #999;\n" +
+"}\n" +
+":root.md2016 .summary {\n" +
+" border-radius: 0 0 2px 2px;\n" +
+" background-color: #f5f5f5;\n" +
+" width: 80%;\n" +
+" display: block;\n" +
+" margin: -1px auto 0 auto;\n" +
+" box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);\n" +
+" border-top: 1px solid rgba(0,0,0,0.1);\n" +
+" text-indent:10px;\n" +
+" padding:10px 0;\n" +
+"}\n" +
"/* XXX Moved to end of stylesheet to avoid breaking whole stylesheet in Maxthon. */\n" +
"@supports (text-decoration-style: dashed) or (-moz-text-decoration-style: dashed) {\n" +
" .quotelink.forwardlink,\n" +
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index d04325077..6153331cd 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 24ec1f2c6..439115b77 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index c4a6dac10..819145364 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 60b2ed49c..97907cac1 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.11.29.1",
- "date": "2016-03-31T23:26:20.015Z"
+ "version": "1.11.29.2",
+ "date": "2016-04-01T18:22:12.188Z"
}