Release 4chan X v1.11.12.8.

This commit is contained in:
ccd0 2015-10-18 00:41:09 -07:00
parent bf9d380190
commit a0ea062a67
13 changed files with 51 additions and 60 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.12
**v1.11.12.8** *(2015-10-18)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.12.8/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.12.8/builds/4chan-X-noupdate.crx "Chromium version")]
- Update to support MathJax on /sci/.
**v1.11.12.7** *(2015-10-13)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.12.7/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.12.7/builds/4chan-X-noupdate.crx "Chromium version")]
- Add keybind for `[sjis]` tags (default: `Alt+a`).
- Update max comment length on /jp/ (now 5000, read from board).

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.11.12.7
// @version 1.11.12.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.11.12.7
// @version 1.11.12.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -414,7 +414,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.12.7',
VERSION: '1.11.12.8',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15415,7 +15415,7 @@
});
}
if (g.BOARD.ID === 'sci') {
$.globalEval('window.addEventListener(\'jsmath\', function(e) {\n if (!jsMath) return;\n if (jsMath.loaded) {\n // process one post\n jsMath.ProcessBeforeShowing(e.target);\n } else if (jsMath.Autoload && jsMath.Autoload.checked) {\n // load jsMath and process whole document\n jsMath.Autoload.Script.Push(\'ProcessBeforeShowing\', [null]);\n jsMath.Autoload.LoadJsMath();\n }\n}, false);');
$.globalEval('window.addEventListener(\'mathjax\', function(e) {\n if (window.MathJax) {\n window.MathJax.Hub.Queue(function() {\n if (!e.target.querySelector(\'.MathJax\')) {\n window.MathJax.Hub.Typeset(e.target);\n }\n });\n } else {\n if (!document.querySelector(\'script[src^="//cdn.mathjax.org/"]\')) {\n window.loadMathJax();\n window.loadMathJax = function() {};\n }\n }\n}, false);');
Post.callbacks.push({
name: 'Parse /sci/ math',
cb: this.math
@ -15451,18 +15451,21 @@
})(this));
},
math: function() {
if ((this.isClone && doc.contains(this.origin.nodes.root)) || !$('.math', this.nodes.comment)) {
var cb;
if (!(/\[(math|eqn)\]/.test(this.nodes.comment.textContent) || $('.math:not([id])', this.nodes.comment))) {
return;
}
return $.asap(((function(_this) {
cb = (function(_this) {
return function() {
return doc.contains(_this.nodes.comment);
if (!doc.contains(_this.nodes.comment)) {
return;
}
$.off(d, 'PostsInserted', cb);
return $.event('mathjax', null, _this.nodes.comment);
};
})(this)), (function(_this) {
return function() {
return $.event('jsmath', null, _this.nodes.comment);
};
})(this));
})(this);
$.on(d, 'PostsInserted', cb);
return cb();
}
};
@ -18629,10 +18632,6 @@
".current {\n" +
" font-weight: bold;\n" +
"}\n" +
":root.fixed.bottom-header #jsMath_button {\n" +
" bottom: auto;\n" +
" top: 1px;\n" +
"}\n" +
"@media (min-width: 1300px) {\n" +
" :root.fixed:not(.centered-links) #header-bar {\n" +
" white-space: nowrap;\n" +
@ -20570,9 +20569,6 @@
" background-color: #282A2E;\n" +
" border-color: #111;\n" +
"}\n" +
":root.tomorrow img[src*=\"//boards.4chan.org/js/jsMath/fonts/\"] {\n" +
" filter: invert(100%);\n" +
"}\n" +
"/* Header */\n" +
":root.tomorrow #header-bar.dialog {\n" +
" background-color: rgba(40,42,46,0.9);\n" +

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.12.7
// @version 1.11.12.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -414,7 +414,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.12.7',
VERSION: '1.11.12.8',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15415,7 +15415,7 @@
});
}
if (g.BOARD.ID === 'sci') {
$.globalEval('window.addEventListener(\'jsmath\', function(e) {\n if (!jsMath) return;\n if (jsMath.loaded) {\n // process one post\n jsMath.ProcessBeforeShowing(e.target);\n } else if (jsMath.Autoload && jsMath.Autoload.checked) {\n // load jsMath and process whole document\n jsMath.Autoload.Script.Push(\'ProcessBeforeShowing\', [null]);\n jsMath.Autoload.LoadJsMath();\n }\n}, false);');
$.globalEval('window.addEventListener(\'mathjax\', function(e) {\n if (window.MathJax) {\n window.MathJax.Hub.Queue(function() {\n if (!e.target.querySelector(\'.MathJax\')) {\n window.MathJax.Hub.Typeset(e.target);\n }\n });\n } else {\n if (!document.querySelector(\'script[src^="//cdn.mathjax.org/"]\')) {\n window.loadMathJax();\n window.loadMathJax = function() {};\n }\n }\n}, false);');
Post.callbacks.push({
name: 'Parse /sci/ math',
cb: this.math
@ -15451,18 +15451,21 @@
})(this));
},
math: function() {
if ((this.isClone && doc.contains(this.origin.nodes.root)) || !$('.math', this.nodes.comment)) {
var cb;
if (!(/\[(math|eqn)\]/.test(this.nodes.comment.textContent) || $('.math:not([id])', this.nodes.comment))) {
return;
}
return $.asap(((function(_this) {
cb = (function(_this) {
return function() {
return doc.contains(_this.nodes.comment);
if (!doc.contains(_this.nodes.comment)) {
return;
}
$.off(d, 'PostsInserted', cb);
return $.event('mathjax', null, _this.nodes.comment);
};
})(this)), (function(_this) {
return function() {
return $.event('jsmath', null, _this.nodes.comment);
};
})(this));
})(this);
$.on(d, 'PostsInserted', cb);
return cb();
}
};
@ -18629,10 +18632,6 @@
".current {\n" +
" font-weight: bold;\n" +
"}\n" +
":root.fixed.bottom-header #jsMath_button {\n" +
" bottom: auto;\n" +
" top: 1px;\n" +
"}\n" +
"@media (min-width: 1300px) {\n" +
" :root.fixed:not(.centered-links) #header-bar {\n" +
" white-space: nowrap;\n" +
@ -20570,9 +20569,6 @@
" background-color: #282A2E;\n" +
" border-color: #111;\n" +
"}\n" +
":root.tomorrow img[src*=\"//boards.4chan.org/js/jsMath/fonts/\"] {\n" +
" filter: invert(100%);\n" +
"}\n" +
"/* Header */\n" +
":root.tomorrow #header-bar.dialog {\n" +
" background-color: rgba(40,42,46,0.9);\n" +

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.11.12.7
// @version 1.11.12.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.12.7
// @version 1.11.12.8
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -414,7 +414,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.12.7',
VERSION: '1.11.12.8',
NAMESPACE: '4chan X.',
boards: {}
};
@ -15415,7 +15415,7 @@
});
}
if (g.BOARD.ID === 'sci') {
$.globalEval('window.addEventListener(\'jsmath\', function(e) {\n if (!jsMath) return;\n if (jsMath.loaded) {\n // process one post\n jsMath.ProcessBeforeShowing(e.target);\n } else if (jsMath.Autoload && jsMath.Autoload.checked) {\n // load jsMath and process whole document\n jsMath.Autoload.Script.Push(\'ProcessBeforeShowing\', [null]);\n jsMath.Autoload.LoadJsMath();\n }\n}, false);');
$.globalEval('window.addEventListener(\'mathjax\', function(e) {\n if (window.MathJax) {\n window.MathJax.Hub.Queue(function() {\n if (!e.target.querySelector(\'.MathJax\')) {\n window.MathJax.Hub.Typeset(e.target);\n }\n });\n } else {\n if (!document.querySelector(\'script[src^="//cdn.mathjax.org/"]\')) {\n window.loadMathJax();\n window.loadMathJax = function() {};\n }\n }\n}, false);');
Post.callbacks.push({
name: 'Parse /sci/ math',
cb: this.math
@ -15451,18 +15451,21 @@
})(this));
},
math: function() {
if ((this.isClone && doc.contains(this.origin.nodes.root)) || !$('.math', this.nodes.comment)) {
var cb;
if (!(/\[(math|eqn)\]/.test(this.nodes.comment.textContent) || $('.math:not([id])', this.nodes.comment))) {
return;
}
return $.asap(((function(_this) {
cb = (function(_this) {
return function() {
return doc.contains(_this.nodes.comment);
if (!doc.contains(_this.nodes.comment)) {
return;
}
$.off(d, 'PostsInserted', cb);
return $.event('mathjax', null, _this.nodes.comment);
};
})(this)), (function(_this) {
return function() {
return $.event('jsmath', null, _this.nodes.comment);
};
})(this));
})(this);
$.on(d, 'PostsInserted', cb);
return cb();
}
};
@ -18629,10 +18632,6 @@
".current {\n" +
" font-weight: bold;\n" +
"}\n" +
":root.fixed.bottom-header #jsMath_button {\n" +
" bottom: auto;\n" +
" top: 1px;\n" +
"}\n" +
"@media (min-width: 1300px) {\n" +
" :root.fixed:not(.centered-links) #header-bar {\n" +
" white-space: nowrap;\n" +
@ -20570,9 +20569,6 @@
" background-color: #282A2E;\n" +
" border-color: #111;\n" +
"}\n" +
":root.tomorrow img[src*=\"//boards.4chan.org/js/jsMath/fonts/\"] {\n" +
" filter: invert(100%);\n" +
"}\n" +
"/* Header */\n" +
":root.tomorrow #header-bar.dialog {\n" +
" background-color: rgba(40,42,46,0.9);\n" +

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.12.7' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.11.12.8' />
</app>
</gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.12.7' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.11.12.8' />
</app>
</gupdate>

View File

@ -4,8 +4,8 @@
"meta": {
"name": "4chan X",
"fork": "ccd0",
"version": "1.11.12.7",
"date": "2015-10-14T02:20:26.038Z",
"version": "1.11.12.8",
"date": "2015-10-18T07:39:28.149Z",
"page": "https://www.4chan-x.net/",
"downloads": "https://www.4chan-x.net/builds/",
"oldVersions": "https://raw.githubusercontent.com/ccd0/4chan-x/",