Release 4chan X v1.14.17.3.

This commit is contained in:
ccd0 2020-04-19 13:45:50 -07:00
parent 9e8ebbba4e
commit c5b693aa28
15 changed files with 32 additions and 29 deletions

View File

@ -4,6 +4,9 @@
### v1.14.17
**v1.14.17.3** *(2020-04-19)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.17.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.17.3/builds/4chan-X-noupdate.crx)]
- Fix captcha loading issue when captcha language option is used. #2531
**v1.14.17.2** *(2020-04-16)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.17.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.17.2/builds/4chan-X-noupdate.crx)]
- Add hcaptcha.com and subdomains to Javascript Whitelist so that captcha on Cloudflare security check operates properly. #2584

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.14.17.2
// @version 1.14.17.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -215,7 +215,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.17.2',
VERSION: '1.14.17.3',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -23523,10 +23523,10 @@ Captcha = {};
if (Conf['captchaLanguage'].trim() || Conf['Captcha Fixes']) {
if ((ref = location.hostname) === 'boards.4chan.org' || ref === 'boards.4channel.org') {
return $.onExists(doc, '#captchaFormPart', function(node) {
return $.onExists(node, 'iframe', Captcha.replace.iframe);
return $.onExists(node, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
});
} else {
return $.onExists(doc, 'iframe', Captcha.replace.iframe);
return $.onExists(doc, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
}
}
},
@ -23542,7 +23542,7 @@ Captcha = {};
$.rm(original);
insert = function() {
span.innerHTML = noscript.textContent;
return Captcha.replace.iframe($('iframe', span));
return Captcha.replace.iframe($('iframe[src^="https://www.google.com/recaptcha/"]', span));
};
if ((toggle = $('#togglePostFormLink a, #form-link'))) {
return $.on(toggle, 'click', insert);
@ -23810,7 +23810,7 @@ Captcha = {};
$.queueTask((function(_this) {
return function() {
var iframe;
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe', _this.nodes.container))) {
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe[src^="https://www.google.com/recaptcha/"]', _this.nodes.container))) {
iframe.focus();
return QR.focus();
}
@ -23884,7 +23884,7 @@ Captcha = {};
ref = mutation.addedNodes;
for (j = 0, len1 = ref.length; j < len1; j++) {
node = ref[j];
if ((iframe = $.x('./descendant-or-self::iframe', node))) {
if ((iframe = $.x('./descendant-or-self::iframe[starts-with(@src, "https://www.google.com/recaptcha/")]', node))) {
this.setupIFrame(iframe);
}
if ((textarea = $.x('./descendant-or-self::textarea', node))) {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.17.2
// @version 1.14.17.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -215,7 +215,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.17.2',
VERSION: '1.14.17.3',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -23523,10 +23523,10 @@ Captcha = {};
if (Conf['captchaLanguage'].trim() || Conf['Captcha Fixes']) {
if ((ref = location.hostname) === 'boards.4chan.org' || ref === 'boards.4channel.org') {
return $.onExists(doc, '#captchaFormPart', function(node) {
return $.onExists(node, 'iframe', Captcha.replace.iframe);
return $.onExists(node, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
});
} else {
return $.onExists(doc, 'iframe', Captcha.replace.iframe);
return $.onExists(doc, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
}
}
},
@ -23542,7 +23542,7 @@ Captcha = {};
$.rm(original);
insert = function() {
span.innerHTML = noscript.textContent;
return Captcha.replace.iframe($('iframe', span));
return Captcha.replace.iframe($('iframe[src^="https://www.google.com/recaptcha/"]', span));
};
if ((toggle = $('#togglePostFormLink a, #form-link'))) {
return $.on(toggle, 'click', insert);
@ -23810,7 +23810,7 @@ Captcha = {};
$.queueTask((function(_this) {
return function() {
var iframe;
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe', _this.nodes.container))) {
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe[src^="https://www.google.com/recaptcha/"]', _this.nodes.container))) {
iframe.focus();
return QR.focus();
}
@ -23884,7 +23884,7 @@ Captcha = {};
ref = mutation.addedNodes;
for (j = 0, len1 = ref.length; j < len1; j++) {
node = ref[j];
if ((iframe = $.x('./descendant-or-self::iframe', node))) {
if ((iframe = $.x('./descendant-or-self::iframe[starts-with(@src, "https://www.google.com/recaptcha/")]', node))) {
this.setupIFrame(iframe);
}
if ((textarea = $.x('./descendant-or-self::textarea', node))) {

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.17.2
// @version 1.14.17.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -215,7 +215,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.17.2',
VERSION: '1.14.17.3',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@ -23523,10 +23523,10 @@ Captcha = {};
if (Conf['captchaLanguage'].trim() || Conf['Captcha Fixes']) {
if ((ref = location.hostname) === 'boards.4chan.org' || ref === 'boards.4channel.org') {
return $.onExists(doc, '#captchaFormPart', function(node) {
return $.onExists(node, 'iframe', Captcha.replace.iframe);
return $.onExists(node, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
});
} else {
return $.onExists(doc, 'iframe', Captcha.replace.iframe);
return $.onExists(doc, 'iframe[src^="https://www.google.com/recaptcha/"]', Captcha.replace.iframe);
}
}
},
@ -23542,7 +23542,7 @@ Captcha = {};
$.rm(original);
insert = function() {
span.innerHTML = noscript.textContent;
return Captcha.replace.iframe($('iframe', span));
return Captcha.replace.iframe($('iframe[src^="https://www.google.com/recaptcha/"]', span));
};
if ((toggle = $('#togglePostFormLink a, #form-link'))) {
return $.on(toggle, 'click', insert);
@ -23810,7 +23810,7 @@ Captcha = {};
$.queueTask((function(_this) {
return function() {
var iframe;
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe', _this.nodes.container))) {
if (_this.nodes.container && d.activeElement === _this.nodes.counter && (iframe = $('iframe[src^="https://www.google.com/recaptcha/"]', _this.nodes.container))) {
iframe.focus();
return QR.focus();
}
@ -23884,7 +23884,7 @@ Captcha = {};
ref = mutation.addedNodes;
for (j = 0, len1 = ref.length; j < len1; j++) {
node = ref[j];
if ((iframe = $.x('./descendant-or-self::iframe', node))) {
if ((iframe = $.x('./descendant-or-self::iframe[starts-with(@src, "https://www.google.com/recaptcha/")]', node))) {
this.setupIFrame(iframe);
}
if ((textarea = $.x('./descendant-or-self::textarea', node))) {

Binary file not shown.

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.14.17.2",
"version": "1.14.17.3",
"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.14.17.2' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.17.3' />
</app>
</gupdate>

View File

@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
"version": "1.14.17.2",
"version": "1.14.17.3",
"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.14.17.2' />
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.17.3' />
</app>
</gupdate>

View File

@ -1,4 +1,4 @@
{
"version": "1.14.17.2",
"date": "2020-04-16T10:28:31.442Z"
"version": "1.14.17.3",
"date": "2020-04-19T20:32:21.455Z"
}