Release 4chan X v1.13.14.9.

This commit is contained in:
ccd0 2017-11-17 15:10:03 -08:00
parent e53d2af9b5
commit efaea04478
15 changed files with 55 additions and 44 deletions

View File

@ -4,6 +4,11 @@
### v1.13.14
**v1.13.14.9** *(2017-11-17)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.9/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.9/builds/4chan-X-noupdate.crx)]
- Hard disable 'Force Noscript Captcha for v1' in GM4 for now.
- Work around double loading issue in Greasemonkey 4. #1629
- Fix 'Open front page' keybind in Tampermonkey.
**v1.13.14.8** *(2017-11-16)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.8/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.14.8/builds/4chan-X-noupdate.crx)]
- Yet more Greasemonkey 4 related fixes.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.13.14.8
// @version 1.13.14.9
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -159,7 +159,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.14.8',
VERSION: '1.13.14.9',
NAMESPACE: '4chan X.',
boards: {}
};
@ -17136,7 +17136,7 @@ Keybinds = (function() {
}
break;
case Conf['Open front page']:
$.open("/" + g.BOARD + "/");
$.open(location.origin + "/" + g.BOARD + "/");
break;
case Conf['Next page']:
if (!(g.VIEW === 'index' && g.BOARD.ID !== 'f')) {
@ -21452,7 +21452,7 @@ QR = (function() {
'video/webm': 'webm'
},
init: function() {
var noscript, sc, version;
var info, noscript, sc, version;
if (!Conf['Quick Reply']) {
return;
}
@ -21460,7 +21460,7 @@ QR = (function() {
if (g.VIEW === 'archive') {
return;
}
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), noscript ? 'noscript' : 'v1') : 'v2';
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), (info = typeof GM !== "undefined" && GM !== null ? GM.info : void 0) && info.scriptHandler === 'Greasemonkey' && /^4\./.test(info.version) ? noscript = false : void 0, noscript ? 'noscript' : 'v1') : 'v2';
this.captcha = Captcha[version];
$.on(d, '4chanXInitFinished', function() {
return BoardConfig.ready(QR.initReady);
@ -24641,6 +24641,15 @@ Main = (function() {
if (location.hostname === 'boards.4chan.org' && d.documentElement && !d.doctype) {
return;
}
if (doc && $.hasClass(doc, 'fourchan-x')) {
return;
}
$.asap(docSet, function() {
$.addClass(doc, 'fourchan-x', 'seaweedchan');
if ($.engine) {
return $.addClass(doc, "ua-" + $.engine);
}
});
$.on(d, '4chanXInitFinished', function() {
if (Main.expectInitFinished) {
return delete Main.expectInitFinished;
@ -24687,9 +24696,6 @@ Main = (function() {
Conf['QR Shortcut'] = true;
Conf['Bottom QR Link'] = true;
Conf['Toggleable Thread Watcher'] = true;
if ($.engine === 'gecko' && (typeof GM !== "undefined" && GM !== null)) {
Conf['Force Noscript Captcha for v1'] = false;
}
($.getSync || $.get)({
'jsWhitelist': Conf['jsWhitelist']
}, function(arg) {
@ -24850,11 +24856,7 @@ Main = (function() {
if ((ref = $('link[href*=mobile]', d.head)) != null) {
ref.disabled = true;
}
$.addClass(doc, 'fourchan-x', 'seaweedchan');
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
$.onExists(doc, '.ad-cnt, .adg-rects > .desktop', function(ad) {
return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.14.8
// @version 1.13.14.9
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -159,7 +159,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.14.8',
VERSION: '1.13.14.9',
NAMESPACE: '4chan X.',
boards: {}
};
@ -17136,7 +17136,7 @@ Keybinds = (function() {
}
break;
case Conf['Open front page']:
$.open("/" + g.BOARD + "/");
$.open(location.origin + "/" + g.BOARD + "/");
break;
case Conf['Next page']:
if (!(g.VIEW === 'index' && g.BOARD.ID !== 'f')) {
@ -21452,7 +21452,7 @@ QR = (function() {
'video/webm': 'webm'
},
init: function() {
var noscript, sc, version;
var info, noscript, sc, version;
if (!Conf['Quick Reply']) {
return;
}
@ -21460,7 +21460,7 @@ QR = (function() {
if (g.VIEW === 'archive') {
return;
}
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), noscript ? 'noscript' : 'v1') : 'v2';
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), (info = typeof GM !== "undefined" && GM !== null ? GM.info : void 0) && info.scriptHandler === 'Greasemonkey' && /^4\./.test(info.version) ? noscript = false : void 0, noscript ? 'noscript' : 'v1') : 'v2';
this.captcha = Captcha[version];
$.on(d, '4chanXInitFinished', function() {
return BoardConfig.ready(QR.initReady);
@ -24641,6 +24641,15 @@ Main = (function() {
if (location.hostname === 'boards.4chan.org' && d.documentElement && !d.doctype) {
return;
}
if (doc && $.hasClass(doc, 'fourchan-x')) {
return;
}
$.asap(docSet, function() {
$.addClass(doc, 'fourchan-x', 'seaweedchan');
if ($.engine) {
return $.addClass(doc, "ua-" + $.engine);
}
});
$.on(d, '4chanXInitFinished', function() {
if (Main.expectInitFinished) {
return delete Main.expectInitFinished;
@ -24687,9 +24696,6 @@ Main = (function() {
Conf['QR Shortcut'] = true;
Conf['Bottom QR Link'] = true;
Conf['Toggleable Thread Watcher'] = true;
if ($.engine === 'gecko' && (typeof GM !== "undefined" && GM !== null)) {
Conf['Force Noscript Captcha for v1'] = false;
}
($.getSync || $.get)({
'jsWhitelist': Conf['jsWhitelist']
}, function(arg) {
@ -24850,11 +24856,7 @@ Main = (function() {
if ((ref = $('link[href*=mobile]', d.head)) != null) {
ref.disabled = true;
}
$.addClass(doc, 'fourchan-x', 'seaweedchan');
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
$.onExists(doc, '.ad-cnt, .adg-rects > .desktop', function(ad) {
return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.13.14.8
// @version 1.13.14.9
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -159,7 +159,7 @@ docSet = function() {
};
g = {
VERSION: '1.13.14.8',
VERSION: '1.13.14.9',
NAMESPACE: '4chan X.',
boards: {}
};
@ -17136,7 +17136,7 @@ Keybinds = (function() {
}
break;
case Conf['Open front page']:
$.open("/" + g.BOARD + "/");
$.open(location.origin + "/" + g.BOARD + "/");
break;
case Conf['Next page']:
if (!(g.VIEW === 'index' && g.BOARD.ID !== 'f')) {
@ -21452,7 +21452,7 @@ QR = (function() {
'video/webm': 'webm'
},
init: function() {
var noscript, sc, version;
var info, noscript, sc, version;
if (!Conf['Quick Reply']) {
return;
}
@ -21460,7 +21460,7 @@ QR = (function() {
if (g.VIEW === 'archive') {
return;
}
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), noscript ? 'noscript' : 'v1') : 'v2';
version = Conf[g.VIEW === 'thread' ? 'Use Recaptcha v1' : 'Use Recaptcha v1 on Index'] && (Main.jsEnabled || location.protocol === 'https:') ? (noscript = location.protocol === 'https:' && (Conf['Force Noscript Captcha for v1'] || !Main.jsEnabled), (info = typeof GM !== "undefined" && GM !== null ? GM.info : void 0) && info.scriptHandler === 'Greasemonkey' && /^4\./.test(info.version) ? noscript = false : void 0, noscript ? 'noscript' : 'v1') : 'v2';
this.captcha = Captcha[version];
$.on(d, '4chanXInitFinished', function() {
return BoardConfig.ready(QR.initReady);
@ -24641,6 +24641,15 @@ Main = (function() {
if (location.hostname === 'boards.4chan.org' && d.documentElement && !d.doctype) {
return;
}
if (doc && $.hasClass(doc, 'fourchan-x')) {
return;
}
$.asap(docSet, function() {
$.addClass(doc, 'fourchan-x', 'seaweedchan');
if ($.engine) {
return $.addClass(doc, "ua-" + $.engine);
}
});
$.on(d, '4chanXInitFinished', function() {
if (Main.expectInitFinished) {
return delete Main.expectInitFinished;
@ -24687,9 +24696,6 @@ Main = (function() {
Conf['QR Shortcut'] = true;
Conf['Bottom QR Link'] = true;
Conf['Toggleable Thread Watcher'] = true;
if ($.engine === 'gecko' && (typeof GM !== "undefined" && GM !== null)) {
Conf['Force Noscript Captcha for v1'] = false;
}
($.getSync || $.get)({
'jsWhitelist': Conf['jsWhitelist']
}, function(arg) {
@ -24850,11 +24856,7 @@ Main = (function() {
if ((ref = $('link[href*=mobile]', d.head)) != null) {
ref.disabled = true;
}
$.addClass(doc, 'fourchan-x', 'seaweedchan');
$.addClass(doc, g.VIEW === 'thread' ? 'thread-view' : g.VIEW);
if ($.engine) {
$.addClass(doc, "ua-" + $.engine);
}
$.onExists(doc, '.ad-cnt, .adg-rects > .desktop', function(ad) {
return $.onExists(ad, 'img, iframe', function() {
return $.addClass(doc, 'ads-loaded');

Binary file not shown.

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.13.14.8",
"version": "1.13.14.9",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]

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.13.14.8' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.14.9' />
</app>
</gupdate>

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.13.14.8",
"version": "1.13.14.9",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]

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.13.14.8' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.14.9' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.13.14.8",
"date": "2017-11-16T05:51:41.932Z"
"version": "1.13.14.9",
"date": "2017-11-17T23:03:05.833Z"
}