Release 4chan X v1.11.18.3.

This commit is contained in:
ccd0 2015-11-24 22:05:47 -08:00
parent a1429e3cb0
commit 9ee1a9f68f
13 changed files with 96 additions and 24 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.18
**v1.11.18.3** *(2015-11-24)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.3/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.3/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.11.17.9: Support solving 4x4 image captchas with keys in 7-0-/-M square.
**v1.11.18.2** *(2015-11-23)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.2/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.2/builds/4chan-X-noupdate.crx "Chromium version")]
- The `Use Recaptcha v1` setting takes priority over `Force Noscript Captcha` again.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.11.18.2
// @version 1.11.18.3
// @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.18.2
// @version 1.11.18.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.18.2',
VERSION: '1.11.18.3',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7957,6 +7957,7 @@
Captcha.fixes = {
imageKeys: '789456123uiojklm'.split('').concat(['Comma', 'Period']),
imageKeys16: '7890uiopjkl'.split('').concat(['Semicolon', 'm', 'Comma', 'Period', 'Slash']),
css: '.rc-imageselect-target > div:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-imageselect-target td:focus {\n box-shadow: inset 0 0 0 2px #4a90e2;\n outline: none;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}',
cssNoscript: '.fbc-payload-imageselect {\n position: relative;\n}\n.fbc-payload-imageselect > label {\n position: absolute;\n display: block;\n height: 93.3px;\n width: 93.3px;\n}\nlabel[data-row="0"] {top: 0px;}\nlabel[data-row="1"] {top: 93.3px;}\nlabel[data-row="2"] {top: 186.6px;}\nlabel[data-col="0"] {left: 0px;}\nlabel[data-col="1"] {left: 93.3px;}\nlabel[data-col="2"] {left: 186.6px;}\n.fbc-payload-imageselect > input:focus + label {\n outline: 2px solid #4a90e2;\n}\n.fbc-button-verify input:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}\nbody.focus .fbc {\n box-shadow: inset 0 0 0 2px #4a90e2;\n}',
init: function() {
@ -8029,6 +8030,9 @@
if (this.images.length === 9) {
this.addTooltips(this.images);
}
if (this.images.length === 16) {
this.addTooltips16(this.images);
}
return this.complaintLinks();
},
complaintLinks: function() {
@ -8075,6 +8079,13 @@
node.title = this.imageKeys[i] + " or " + (this.imageKeys[i + 9][0].toUpperCase()) + this.imageKeys[i + 9].slice(1);
}
},
addTooltips16: function(nodes) {
var i, k, len1, node;
for (i = k = 0, len1 = nodes.length; k < len1; i = ++k) {
node = nodes[i];
node.title = "" + (this.imageKeys16[i][0].toUpperCase()) + this.imageKeys16[i].slice(1);
}
},
checkForm: function(e) {
var checkbox, k, len1, n, ref;
n = 0;
@ -8109,6 +8120,9 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
} else if (n === 16 && (i = this.imageKeys16.indexOf(key)) >= 0) {
this.images[i].click();
verify.focus();
} else if (dx = {
'Up': n,
'Down': w,
@ -8706,10 +8720,8 @@
setupIFrame: function(iframe) {
Captcha.replace.iframe(iframe);
$.addClass(QR.nodes.el, 'captcha-open');
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
QR.nodes.el.style.bottom = '0px';
}
this.fixQRPosition();
$.on(iframe, 'load', this.fixQRPosition);
if (d.activeElement === this.nodes.counter) {
iframe.focus();
}
@ -8719,6 +8731,12 @@
return f.focus = f.blur = function() {};
});
},
fixQRPosition: function() {
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
return QR.nodes.el.style.bottom = '0px';
}
},
setupTextArea: function(textarea) {
return $.one(textarea, 'input', (function(_this) {
return function() {
@ -16102,6 +16120,11 @@
return 'Comma';
case 190:
return 'Period';
case 191:
return 'Slash';
case 59:
case 186:
return 'Semicolon';
default:
if ((48 <= kc && kc <= 57) || (65 <= kc && kc <= 90)) {
return String.fromCharCode(kc).toLowerCase();

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.18.2
// @version 1.11.18.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.18.2',
VERSION: '1.11.18.3',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7957,6 +7957,7 @@
Captcha.fixes = {
imageKeys: '789456123uiojklm'.split('').concat(['Comma', 'Period']),
imageKeys16: '7890uiopjkl'.split('').concat(['Semicolon', 'm', 'Comma', 'Period', 'Slash']),
css: '.rc-imageselect-target > div:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-imageselect-target td:focus {\n box-shadow: inset 0 0 0 2px #4a90e2;\n outline: none;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}',
cssNoscript: '.fbc-payload-imageselect {\n position: relative;\n}\n.fbc-payload-imageselect > label {\n position: absolute;\n display: block;\n height: 93.3px;\n width: 93.3px;\n}\nlabel[data-row="0"] {top: 0px;}\nlabel[data-row="1"] {top: 93.3px;}\nlabel[data-row="2"] {top: 186.6px;}\nlabel[data-col="0"] {left: 0px;}\nlabel[data-col="1"] {left: 93.3px;}\nlabel[data-col="2"] {left: 186.6px;}\n.fbc-payload-imageselect > input:focus + label {\n outline: 2px solid #4a90e2;\n}\n.fbc-button-verify input:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}\nbody.focus .fbc {\n box-shadow: inset 0 0 0 2px #4a90e2;\n}',
init: function() {
@ -8029,6 +8030,9 @@
if (this.images.length === 9) {
this.addTooltips(this.images);
}
if (this.images.length === 16) {
this.addTooltips16(this.images);
}
return this.complaintLinks();
},
complaintLinks: function() {
@ -8075,6 +8079,13 @@
node.title = this.imageKeys[i] + " or " + (this.imageKeys[i + 9][0].toUpperCase()) + this.imageKeys[i + 9].slice(1);
}
},
addTooltips16: function(nodes) {
var i, k, len1, node;
for (i = k = 0, len1 = nodes.length; k < len1; i = ++k) {
node = nodes[i];
node.title = "" + (this.imageKeys16[i][0].toUpperCase()) + this.imageKeys16[i].slice(1);
}
},
checkForm: function(e) {
var checkbox, k, len1, n, ref;
n = 0;
@ -8109,6 +8120,9 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
} else if (n === 16 && (i = this.imageKeys16.indexOf(key)) >= 0) {
this.images[i].click();
verify.focus();
} else if (dx = {
'Up': n,
'Down': w,
@ -8706,10 +8720,8 @@
setupIFrame: function(iframe) {
Captcha.replace.iframe(iframe);
$.addClass(QR.nodes.el, 'captcha-open');
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
QR.nodes.el.style.bottom = '0px';
}
this.fixQRPosition();
$.on(iframe, 'load', this.fixQRPosition);
if (d.activeElement === this.nodes.counter) {
iframe.focus();
}
@ -8719,6 +8731,12 @@
return f.focus = f.blur = function() {};
});
},
fixQRPosition: function() {
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
return QR.nodes.el.style.bottom = '0px';
}
},
setupTextArea: function(textarea) {
return $.one(textarea, 'input', (function(_this) {
return function() {
@ -16102,6 +16120,11 @@
return 'Comma';
case 190:
return 'Period';
case 191:
return 'Slash';
case 59:
case 186:
return 'Semicolon';
default:
if ((48 <= kc && kc <= 57) || (65 <= kc && kc <= 90)) {
return String.fromCharCode(kc).toLowerCase();

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.11.18.2
// @version 1.11.18.3
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement;
g = {
VERSION: '1.11.18.2',
VERSION: '1.11.18.3',
NAMESPACE: '4chan X.',
boards: {}
};
@ -7957,6 +7957,7 @@
Captcha.fixes = {
imageKeys: '789456123uiojklm'.split('').concat(['Comma', 'Period']),
imageKeys16: '7890uiopjkl'.split('').concat(['Semicolon', 'm', 'Comma', 'Period', 'Slash']),
css: '.rc-imageselect-target > div:focus {\n outline: 2px solid #4a90e2;\n}\n.rc-imageselect-target td:focus {\n box-shadow: inset 0 0 0 2px #4a90e2;\n outline: none;\n}\n.rc-button-default:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}',
cssNoscript: '.fbc-payload-imageselect {\n position: relative;\n}\n.fbc-payload-imageselect > label {\n position: absolute;\n display: block;\n height: 93.3px;\n width: 93.3px;\n}\nlabel[data-row="0"] {top: 0px;}\nlabel[data-row="1"] {top: 93.3px;}\nlabel[data-row="2"] {top: 186.6px;}\nlabel[data-col="0"] {left: 0px;}\nlabel[data-col="1"] {left: 93.3px;}\nlabel[data-col="2"] {left: 186.6px;}\n.fbc-payload-imageselect > input:focus + label {\n outline: 2px solid #4a90e2;\n}\n.fbc-button-verify input:focus {\n box-shadow: inset 0 0 0 2px #0063d6;\n}\nbody.focus .fbc {\n box-shadow: inset 0 0 0 2px #4a90e2;\n}',
init: function() {
@ -8029,6 +8030,9 @@
if (this.images.length === 9) {
this.addTooltips(this.images);
}
if (this.images.length === 16) {
this.addTooltips16(this.images);
}
return this.complaintLinks();
},
complaintLinks: function() {
@ -8075,6 +8079,13 @@
node.title = this.imageKeys[i] + " or " + (this.imageKeys[i + 9][0].toUpperCase()) + this.imageKeys[i + 9].slice(1);
}
},
addTooltips16: function(nodes) {
var i, k, len1, node;
for (i = k = 0, len1 = nodes.length; k < len1; i = ++k) {
node = nodes[i];
node.title = "" + (this.imageKeys16[i][0].toUpperCase()) + this.imageKeys16[i].slice(1);
}
},
checkForm: function(e) {
var checkbox, k, len1, n, ref;
n = 0;
@ -8109,6 +8120,9 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
} else if (n === 16 && (i = this.imageKeys16.indexOf(key)) >= 0) {
this.images[i].click();
verify.focus();
} else if (dx = {
'Up': n,
'Down': w,
@ -8706,10 +8720,8 @@
setupIFrame: function(iframe) {
Captcha.replace.iframe(iframe);
$.addClass(QR.nodes.el, 'captcha-open');
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
QR.nodes.el.style.bottom = '0px';
}
this.fixQRPosition();
$.on(iframe, 'load', this.fixQRPosition);
if (d.activeElement === this.nodes.counter) {
iframe.focus();
}
@ -8719,6 +8731,12 @@
return f.focus = f.blur = function() {};
});
},
fixQRPosition: function() {
if (QR.nodes.el.getBoundingClientRect().bottom > doc.clientHeight) {
QR.nodes.el.style.top = null;
return QR.nodes.el.style.bottom = '0px';
}
},
setupTextArea: function(textarea) {
return $.one(textarea, 'input', (function(_this) {
return function() {
@ -16102,6 +16120,11 @@
return 'Comma';
case 190:
return 'Period';
case 191:
return 'Slash';
case 59:
case 186:
return 'Semicolon';
default:
if ((48 <= kc && kc <= 57) || (65 <= kc && kc <= 90)) {
return String.fromCharCode(kc).toLowerCase();

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

View File

@ -1,4 +1,4 @@
{
"version": "1.11.18.2",
"date": "2015-11-24T06:48:15.178Z"
"version": "1.11.18.3",
"date": "2015-11-25T06:04:54.566Z"
}