Release 4chan X v1.13.8.1.

This commit is contained in:
ccd0 2017-02-10 12:03:38 -08:00
parent b9f0081ac4
commit 6281564344
13 changed files with 24 additions and 39 deletions

View File

@ -4,6 +4,9 @@
### v1.13.8 ### v1.13.8
**v1.13.8.1** *(2017-02-10)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.1/builds/4chan-X-noupdate.crx)]
- Fix bug from v1.13.8.0 causing v1 captcha sometimes not to reload when needed.
**v1.13.8.0** *(2017-02-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.0/builds/4chan-X-noupdate.crx)] **v1.13.8.0** *(2017-02-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.8.0/builds/4chan-X-noupdate.crx)]
- Based on v1.13.7.2. - Based on v1.13.7.2.
- Retry posting on connection errors using the same captcha. - Retry posting on connection errors using the same captcha.

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.13.8.0 // @version 1.13.8.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.8.0', VERSION: '1.13.8.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -21463,7 +21463,7 @@ QR = (function() {
return $.event('QRDialogCreation', null, dialog); return $.event('QRDialogCreation', null, dialog);
}, },
submit: function(e) { submit: function(e) {
var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID, wasAuto; var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID;
if (e != null) { if (e != null) {
e.preventDefault(); e.preventDefault();
} }
@ -21474,9 +21474,6 @@ QR = (function() {
$.forceSync('cooldowns'); $.forceSync('cooldowns');
if (QR.cooldown.seconds) { if (QR.cooldown.seconds) {
QR.cooldown.auto = !QR.cooldown.auto; QR.cooldown.auto = !QR.cooldown.auto;
if (QR.cooldown.auto) {
QR.captcha.setup(true);
}
QR.status(); QR.status();
return; return;
} }
@ -21518,7 +21515,6 @@ QR = (function() {
QR.error(err); QR.error(err);
return; return;
} }
wasAuto = QR.cooldown.auto;
QR.cooldown.auto = QR.posts.length > 1; QR.cooldown.auto = QR.posts.length > 1;
post.lock(); post.lock();
formData = { formData = {
@ -21577,10 +21573,7 @@ QR = (function() {
} }
QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra); QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra);
QR.req.progress = '...'; QR.req.progress = '...';
QR.status(); return QR.status();
if (!wasAuto) {
return QR.captcha.setup(true);
}
}, },
response: function() { response: function() {
var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
@ -21656,6 +21649,7 @@ QR = (function() {
})()); })());
if (postsCount) { if (postsCount) {
post.rm(); post.rm();
QR.captcha.setup(d.activeElement === QR.nodes.status);
} else if (Conf['Persistent QR']) { } else if (Conf['Persistent QR']) {
post.rm(); post.rm();
if (Conf['Auto Hide QR']) { if (Conf['Auto Hide QR']) {

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.8.0 // @version 1.13.8.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.8.0', VERSION: '1.13.8.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -21463,7 +21463,7 @@ QR = (function() {
return $.event('QRDialogCreation', null, dialog); return $.event('QRDialogCreation', null, dialog);
}, },
submit: function(e) { submit: function(e) {
var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID, wasAuto; var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID;
if (e != null) { if (e != null) {
e.preventDefault(); e.preventDefault();
} }
@ -21474,9 +21474,6 @@ QR = (function() {
$.forceSync('cooldowns'); $.forceSync('cooldowns');
if (QR.cooldown.seconds) { if (QR.cooldown.seconds) {
QR.cooldown.auto = !QR.cooldown.auto; QR.cooldown.auto = !QR.cooldown.auto;
if (QR.cooldown.auto) {
QR.captcha.setup(true);
}
QR.status(); QR.status();
return; return;
} }
@ -21518,7 +21515,6 @@ QR = (function() {
QR.error(err); QR.error(err);
return; return;
} }
wasAuto = QR.cooldown.auto;
QR.cooldown.auto = QR.posts.length > 1; QR.cooldown.auto = QR.posts.length > 1;
post.lock(); post.lock();
formData = { formData = {
@ -21577,10 +21573,7 @@ QR = (function() {
} }
QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra); QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra);
QR.req.progress = '...'; QR.req.progress = '...';
QR.status(); return QR.status();
if (!wasAuto) {
return QR.captcha.setup(true);
}
}, },
response: function() { response: function() {
var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
@ -21656,6 +21649,7 @@ QR = (function() {
})()); })());
if (postsCount) { if (postsCount) {
post.rm(); post.rm();
QR.captcha.setup(d.activeElement === QR.nodes.status);
} else if (Conf['Persistent QR']) { } else if (Conf['Persistent QR']) {
post.rm(); post.rm();
if (Conf['Auto Hide QR']) { if (Conf['Auto Hide QR']) {

Binary file not shown.

View File

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

View File

@ -1,6 +1,6 @@
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.13.8.0 // @version 1.13.8.1
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -151,7 +151,7 @@ docSet = function() {
}; };
g = { g = {
VERSION: '1.13.8.0', VERSION: '1.13.8.1',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -21463,7 +21463,7 @@ QR = (function() {
return $.event('QRDialogCreation', null, dialog); return $.event('QRDialogCreation', null, dialog);
}, },
submit: function(e) { submit: function(e) {
var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID, wasAuto; var captcha, err, extra, filetag, formData, options, post, ref, thread, threadID;
if (e != null) { if (e != null) {
e.preventDefault(); e.preventDefault();
} }
@ -21474,9 +21474,6 @@ QR = (function() {
$.forceSync('cooldowns'); $.forceSync('cooldowns');
if (QR.cooldown.seconds) { if (QR.cooldown.seconds) {
QR.cooldown.auto = !QR.cooldown.auto; QR.cooldown.auto = !QR.cooldown.auto;
if (QR.cooldown.auto) {
QR.captcha.setup(true);
}
QR.status(); QR.status();
return; return;
} }
@ -21518,7 +21515,6 @@ QR = (function() {
QR.error(err); QR.error(err);
return; return;
} }
wasAuto = QR.cooldown.auto;
QR.cooldown.auto = QR.posts.length > 1; QR.cooldown.auto = QR.posts.length > 1;
post.lock(); post.lock();
formData = { formData = {
@ -21577,10 +21573,7 @@ QR = (function() {
} }
QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra); QR.req = $.ajax("https://sys.4chan.org/" + g.BOARD + "/post", options, extra);
QR.req.progress = '...'; QR.req.progress = '...';
QR.status(); return QR.status();
if (!wasAuto) {
return QR.captcha.setup(true);
}
}, },
response: function() { response: function() {
var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, connErr, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID;
@ -21656,6 +21649,7 @@ QR = (function() {
})()); })());
if (postsCount) { if (postsCount) {
post.rm(); post.rm();
QR.captcha.setup(d.activeElement === QR.nodes.status);
} else if (Conf['Persistent QR']) { } else if (Conf['Persistent QR']) {
post.rm(); post.rm();
if (Conf['Auto Hide QR']) { if (Conf['Auto Hide QR']) {

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.8.0' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.13.8.1' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'> <app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.8.0' /> <updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.13.8.1' />
</app> </app>
</gupdate> </gupdate>

View File

@ -1,4 +1,4 @@
{ {
"version": "1.13.8.0", "version": "1.13.8.1",
"date": "2017-02-07T20:07:59.893Z" "date": "2017-02-10T19:44:51.235Z"
} }