diff --git a/CHANGELOG.md b/CHANGELOG.md index 22dd8487b..c87a22ea4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### v1.14.15 +**v1.14.15.2** *(2019-12-20)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.15.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.15.2/builds/4chan-X-noupdate.crx)] +- Display message when noscript captcha is disabled, and link to open list of alternate imageboards. #1539 #2500 + **v1.14.15.1** *(2019-12-17)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.15.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.15.1/builds/4chan-X-noupdate.crx)] - Enable 4chan X by default on more sites. - Fix spurious linkification bug on infinity-based sites. #2356 diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index cf6fbbd51..efe3ed790 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 60a81ef5e..86db99d6a 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.14.15.1 +// @version 1.14.15.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 9b35e7793..f2a337da6 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X beta -// @version 1.14.15.1 +// @version 1.14.15.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -214,7 +214,7 @@ docSet = function() { }; g = { - VERSION: '1.14.15.1', + VERSION: '1.14.15.2', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -23313,13 +23313,15 @@ Captcha = {}; return $.on(d, 'keydown', this.keybinds.bind(this)); }, initNoscript: function() { - var data, form, ref, token; + var data, form, ns, ref, token; this.noscript = true; form = $('.fbc-imageselect-challenge > form'); data = (token = (ref = $('.fbc-verification-token > textarea')) != null ? ref.value : void 0) ? { token: token } : $('.fbc-imageselect-challenge > form') ? { working: true + } : (ns = $('noscript')) && /please enable javascript/i.test(ns.textContent) ? { + disabled: true } : null; if (data) { new Connection(window.parent, '*').send(data); @@ -23525,6 +23527,13 @@ Captcha = {}; } textarea.value = token; return $.event('input', null, textarea); + }, + disabled: function() { + var msg; + msg = $.el('div', { + innerHTML: "Noscript captcha seems to be disabled on 4chan.
You may be able to post if you uncheck "Force Noscript Captcha" in your settings.
If you hate the Javascript version of Recaptcha, consider visiting other imageboards." + }); + return new Notice('warning', msg); } }); } diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index f4098e5c2..e38540d7e 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 97519fe5e..478effa68 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.15.1 +// @version 1.14.15.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -214,7 +214,7 @@ docSet = function() { }; g = { - VERSION: '1.14.15.1', + VERSION: '1.14.15.2', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -23313,13 +23313,15 @@ Captcha = {}; return $.on(d, 'keydown', this.keybinds.bind(this)); }, initNoscript: function() { - var data, form, ref, token; + var data, form, ns, ref, token; this.noscript = true; form = $('.fbc-imageselect-challenge > form'); data = (token = (ref = $('.fbc-verification-token > textarea')) != null ? ref.value : void 0) ? { token: token } : $('.fbc-imageselect-challenge > form') ? { working: true + } : (ns = $('noscript')) && /please enable javascript/i.test(ns.textContent) ? { + disabled: true } : null; if (data) { new Connection(window.parent, '*').send(data); @@ -23525,6 +23527,13 @@ Captcha = {}; } textarea.value = token; return $.event('input', null, textarea); + }, + disabled: function() { + var msg; + msg = $.el('div', { + innerHTML: "Noscript captcha seems to be disabled on 4chan.
You may be able to post if you uncheck "Force Noscript Captcha" in your settings.
If you hate the Javascript version of Recaptcha, consider visiting other imageboards." + }); + return new Notice('warning', msg); } }); } diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index 38421ce27..9defd2137 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 0bc530286..d0be3fbd8 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.15.1 +// @version 1.14.15.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 60672db18..5ad1ccc25 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.14.15.1 +// @version 1.14.15.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -214,7 +214,7 @@ docSet = function() { }; g = { - VERSION: '1.14.15.1', + VERSION: '1.14.15.2', NAMESPACE: '4chan X.', sites: Object.create(null), boards: Object.create(null) @@ -23313,13 +23313,15 @@ Captcha = {}; return $.on(d, 'keydown', this.keybinds.bind(this)); }, initNoscript: function() { - var data, form, ref, token; + var data, form, ns, ref, token; this.noscript = true; form = $('.fbc-imageselect-challenge > form'); data = (token = (ref = $('.fbc-verification-token > textarea')) != null ? ref.value : void 0) ? { token: token } : $('.fbc-imageselect-challenge > form') ? { working: true + } : (ns = $('noscript')) && /please enable javascript/i.test(ns.textContent) ? { + disabled: true } : null; if (data) { new Connection(window.parent, '*').send(data); @@ -23525,6 +23527,13 @@ Captcha = {}; } textarea.value = token; return $.event('input', null, textarea); + }, + disabled: function() { + var msg; + msg = $.el('div', { + innerHTML: "Noscript captcha seems to be disabled on 4chan.
You may be able to post if you uncheck "Force Noscript Captcha" in your settings.
If you hate the Javascript version of Recaptcha, consider visiting other imageboards." + }); + return new Notice('warning', msg); } }); } diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index ec8ebb4c1..806c36ee3 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.json b/builds/updates-beta.json index 2e06f7dd6..bbf72bd55 100644 --- a/builds/updates-beta.json +++ b/builds/updates-beta.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.15.1", + "version": "1.14.15.2", "update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx" } ] diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index b15ae3665..fc29ea7f2 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.json b/builds/updates.json index 0e6605db2..5a9b9f210 100644 --- a/builds/updates.json +++ b/builds/updates.json @@ -3,7 +3,7 @@ "4chan-x@4chan-x.net": { "updates": [ { - "version": "1.14.15.1", + "version": "1.14.15.2", "update_link": "https://www.4chan-x.net/builds/4chan-X.crx" } ] diff --git a/builds/updates.xml b/builds/updates.xml index 37f0d955e..cf26920bb 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/version.json b/version.json index fec464706..a8e4231fc 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "1.14.15.1", - "date": "2019-12-17T19:48:51.458Z" + "version": "1.14.15.2", + "date": "2019-12-20T10:16:14.905Z" } \ No newline at end of file