Release 4chan X v1.14.0.5.

This commit is contained in:
ccd0 2018-01-31 20:54:17 -08:00
parent e6e65454d4
commit ac62dd41ba
15 changed files with 23 additions and 20 deletions

View File

@ -4,6 +4,9 @@
## v1.14.0
**v1.14.0.5** *(2018-02-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.5/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.5/builds/4chan-X-noupdate.crx)]
- Merge branch v1.13.15.8: Captcha bypass cookie does not work for starting threads. Updating to treat this case correctly.
**v1.14.0.4** *(2018-01-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.4/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.4/builds/4chan-X-noupdate.crx)]
- Merge v1.13.15.7: Show video contract button unconditionally for now due to changes in Firefox.
- Merge v1.13.15.7: Fix webm_audio undefined error shown on first install of script. #1778

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.14.0.4
// @version 1.14.0.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -157,7 +157,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.0.4',
VERSION: '1.14.0.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -20592,7 +20592,7 @@ Captcha = {};
return this.captchas.length;
},
needed: function() {
return !(/\b_ct=/.test(d.cookie) || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
return !((/\b_ct=/.test(d.cookie) && QR.posts[0].thread !== 'new') || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
},
getOne: function(isReply) {
var captcha, i;
@ -22066,7 +22066,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !/\b_ct=/.test(d.cookie) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.0.4
// @version 1.14.0.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -157,7 +157,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.0.4',
VERSION: '1.14.0.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -20592,7 +20592,7 @@ Captcha = {};
return this.captchas.length;
},
needed: function() {
return !(/\b_ct=/.test(d.cookie) || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
return !((/\b_ct=/.test(d.cookie) && QR.posts[0].thread !== 'new') || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
},
getOne: function(isReply) {
var captcha, i;
@ -22066,7 +22066,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !/\b_ct=/.test(d.cookie) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.14.0.4
// @version 1.14.0.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -157,7 +157,7 @@ docSet = function() {
};
g = {
VERSION: '1.14.0.4',
VERSION: '1.14.0.5',
NAMESPACE: '4chan X.',
boards: {}
};
@ -20592,7 +20592,7 @@ Captcha = {};
return this.captchas.length;
},
needed: function() {
return !(/\b_ct=/.test(d.cookie) || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
return !((/\b_ct=/.test(d.cookie) && QR.posts[0].thread !== 'new') || this.captchas.length || QR.req) && (QR.posts.length > 1 || Conf['Auto-load captcha'] || QR.posts[0].com || QR.posts[0].file);
},
getOne: function(isReply) {
var captcha, i;
@ -22066,7 +22066,7 @@ QR = (function() {
if (g.BOARD.ID === 'r9k' && !((ref = post.com) != null ? ref.match(/[a-z-]/i) : void 0)) {
err || (err = 'Original comment required.');
}
if (QR.captcha.isEnabled && !/\b_ct=/.test(d.cookie) && !err) {
if (QR.captcha.isEnabled && !(/\b_ct=/.test(d.cookie) && threadID) && !err) {
captcha = QR.captcha.getOne(!!threadID);
if (!captcha) {
err = 'No valid captcha.';

Binary file not shown.

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{
"version": "1.14.0.4",
"date": "2018-01-27T06:38:45.123Z"
"version": "1.14.0.5",
"date": "2018-02-01T04:44:09.500Z"
}