Release 4chan X v1.11.18.4.

This commit is contained in:
ccd0 2015-11-25 19:16:58 -08:00
parent ccb30e0fc8
commit e73689b7d8
13 changed files with 48 additions and 39 deletions

View File

@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.18 ### v1.11.18
**v1.11.18.4** *(2015-11-25)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.18.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.11.17.10: Fix captcha focusing bug.
**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")] **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. - Merge v1.11.17.9: Support solving 4x4 image captchas with keys in 7-0-/-M square.

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X beta // @name 4chan X beta
// @version 1.11.18.3 // @version 1.11.18.4
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.18.3', VERSION: '1.11.18.4',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -7810,7 +7810,7 @@
return QR.status(); return QR.status();
}, },
response: function() { response: function() {
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, ref3, req, resDoc, seconds, threadID;
req = QR.req; req = QR.req;
delete QR.req; delete QR.req;
post = QR.posts[0]; post = QR.posts[0];
@ -7853,7 +7853,7 @@
} else { } else {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status); QR.captcha.setup(QR.cooldown.auto && ((ref1 = d.activeElement) === QR.nodes.status || ref1 === d.body));
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) { if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
@ -7866,12 +7866,12 @@
if (Conf['Posting Success Notifications']) { if (Conf['Posting Success Notifications']) {
QR.notifications.push(new Notice('success', h1.textContent, 5)); QR.notifications.push(new Notice('success', h1.textContent, 5));
} }
ref1 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref1[0], threadID = ref1[1], postID = ref1[2]; ref2 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref2[0], threadID = ref2[1], postID = ref2[2];
postID = +postID; postID = +postID;
threadID = +threadID || postID; threadID = +threadID || postID;
isReply = threadID !== postID; isReply = threadID !== postID;
if ((ref2 = QR.db) != null) { if ((ref3 = QR.db) != null) {
ref2.set({ ref3.set({
boardID: g.BOARD.ID, boardID: g.BOARD.ID,
threadID: threadID, threadID: threadID,
postID: postID, postID: postID,
@ -7891,10 +7891,10 @@
postsCount = QR.posts.length - 1; postsCount = QR.posts.length - 1;
QR.cooldown.auto = postsCount && isReply; QR.cooldown.auto = postsCount && isReply;
lastPostToThread = !((function() { lastPostToThread = !((function() {
var k, len1, p, ref3; var k, len1, p, ref4;
ref3 = QR.posts.slice(1); ref4 = QR.posts.slice(1);
for (k = 0, len1 = ref3.length; k < len1; k++) { for (k = 0, len1 = ref4.length; k < len1; k++) {
p = ref3[k]; p = ref4[k];
if (p.thread === post.thread) { if (p.thread === post.thread) {
return true; return true;
} }
@ -8378,6 +8378,7 @@
} }
this.create(); this.create();
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
return this.nodes.input.focus(); return this.nodes.input.focus();
} }
}, },
@ -8654,6 +8655,7 @@
return; return;
} }
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
this.nodes.counter.focus(); this.nodes.counter.focus();
} }
if (this.timeouts.destroy) { if (this.timeouts.destroy) {

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.18.3 // @version 1.11.18.4
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.18.3', VERSION: '1.11.18.4',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -7810,7 +7810,7 @@
return QR.status(); return QR.status();
}, },
response: function() { response: function() {
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, ref3, req, resDoc, seconds, threadID;
req = QR.req; req = QR.req;
delete QR.req; delete QR.req;
post = QR.posts[0]; post = QR.posts[0];
@ -7853,7 +7853,7 @@
} else { } else {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status); QR.captcha.setup(QR.cooldown.auto && ((ref1 = d.activeElement) === QR.nodes.status || ref1 === d.body));
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) { if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
@ -7866,12 +7866,12 @@
if (Conf['Posting Success Notifications']) { if (Conf['Posting Success Notifications']) {
QR.notifications.push(new Notice('success', h1.textContent, 5)); QR.notifications.push(new Notice('success', h1.textContent, 5));
} }
ref1 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref1[0], threadID = ref1[1], postID = ref1[2]; ref2 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref2[0], threadID = ref2[1], postID = ref2[2];
postID = +postID; postID = +postID;
threadID = +threadID || postID; threadID = +threadID || postID;
isReply = threadID !== postID; isReply = threadID !== postID;
if ((ref2 = QR.db) != null) { if ((ref3 = QR.db) != null) {
ref2.set({ ref3.set({
boardID: g.BOARD.ID, boardID: g.BOARD.ID,
threadID: threadID, threadID: threadID,
postID: postID, postID: postID,
@ -7891,10 +7891,10 @@
postsCount = QR.posts.length - 1; postsCount = QR.posts.length - 1;
QR.cooldown.auto = postsCount && isReply; QR.cooldown.auto = postsCount && isReply;
lastPostToThread = !((function() { lastPostToThread = !((function() {
var k, len1, p, ref3; var k, len1, p, ref4;
ref3 = QR.posts.slice(1); ref4 = QR.posts.slice(1);
for (k = 0, len1 = ref3.length; k < len1; k++) { for (k = 0, len1 = ref4.length; k < len1; k++) {
p = ref3[k]; p = ref4[k];
if (p.thread === post.thread) { if (p.thread === post.thread) {
return true; return true;
} }
@ -8378,6 +8378,7 @@
} }
this.create(); this.create();
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
return this.nodes.input.focus(); return this.nodes.input.focus();
} }
}, },
@ -8654,6 +8655,7 @@
return; return;
} }
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
this.nodes.counter.focus(); this.nodes.counter.focus();
} }
if (this.timeouts.destroy) { if (this.timeouts.destroy) {

Binary file not shown.

View File

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

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript // Generated by CoffeeScript
// ==UserScript== // ==UserScript==
// @name 4chan X // @name 4chan X
// @version 1.11.18.3 // @version 1.11.18.4
// @minGMVer 1.14 // @minGMVer 1.14
// @minFFVer 26 // @minFFVer 26
// @namespace 4chan-X // @namespace 4chan-X
@ -432,7 +432,7 @@
doc = d.documentElement; doc = d.documentElement;
g = { g = {
VERSION: '1.11.18.3', VERSION: '1.11.18.4',
NAMESPACE: '4chan X.', NAMESPACE: '4chan X.',
boards: {} boards: {}
}; };
@ -7810,7 +7810,7 @@
return QR.status(); return QR.status();
}, },
response: function() { response: function() {
var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, req, resDoc, seconds, threadID; var URL, _, ban, err, h1, isReply, lastPostToThread, m, open, post, postID, postsCount, ref, ref1, ref2, ref3, req, resDoc, seconds, threadID;
req = QR.req; req = QR.req;
delete QR.req; delete QR.req;
post = QR.posts[0]; post = QR.posts[0];
@ -7853,7 +7853,7 @@
} else { } else {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
QR.captcha.setup(QR.cooldown.auto && d.activeElement === QR.nodes.status); QR.captcha.setup(QR.cooldown.auto && ((ref1 = d.activeElement) === QR.nodes.status || ref1 === d.body));
if (QR.captcha.isEnabled && !QR.captcha.captchas.length) { if (QR.captcha.isEnabled && !QR.captcha.captchas.length) {
QR.cooldown.auto = false; QR.cooldown.auto = false;
} }
@ -7866,12 +7866,12 @@
if (Conf['Posting Success Notifications']) { if (Conf['Posting Success Notifications']) {
QR.notifications.push(new Notice('success', h1.textContent, 5)); QR.notifications.push(new Notice('success', h1.textContent, 5));
} }
ref1 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref1[0], threadID = ref1[1], postID = ref1[2]; ref2 = h1.nextSibling.textContent.match(/thread:(\d+),no:(\d+)/), _ = ref2[0], threadID = ref2[1], postID = ref2[2];
postID = +postID; postID = +postID;
threadID = +threadID || postID; threadID = +threadID || postID;
isReply = threadID !== postID; isReply = threadID !== postID;
if ((ref2 = QR.db) != null) { if ((ref3 = QR.db) != null) {
ref2.set({ ref3.set({
boardID: g.BOARD.ID, boardID: g.BOARD.ID,
threadID: threadID, threadID: threadID,
postID: postID, postID: postID,
@ -7891,10 +7891,10 @@
postsCount = QR.posts.length - 1; postsCount = QR.posts.length - 1;
QR.cooldown.auto = postsCount && isReply; QR.cooldown.auto = postsCount && isReply;
lastPostToThread = !((function() { lastPostToThread = !((function() {
var k, len1, p, ref3; var k, len1, p, ref4;
ref3 = QR.posts.slice(1); ref4 = QR.posts.slice(1);
for (k = 0, len1 = ref3.length; k < len1; k++) { for (k = 0, len1 = ref4.length; k < len1; k++) {
p = ref3[k]; p = ref4[k];
if (p.thread === post.thread) { if (p.thread === post.thread) {
return true; return true;
} }
@ -8378,6 +8378,7 @@
} }
this.create(); this.create();
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
return this.nodes.input.focus(); return this.nodes.input.focus();
} }
}, },
@ -8654,6 +8655,7 @@
return; return;
} }
if (focus) { if (focus) {
$.addClass(QR.nodes.el, 'focus');
this.nodes.counter.focus(); this.nodes.counter.focus();
} }
if (this.timeouts.destroy) { if (this.timeouts.destroy) {

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

View File

@ -1,4 +1,4 @@
{ {
"version": "1.11.18.3", "version": "1.11.18.4",
"date": "2015-11-25T06:04:54.566Z" "date": "2015-11-26T03:16:11.946Z"
} }