This commit is contained in:
seaweedchan 2013-10-03 16:47:45 -07:00
parent c6d5c0c463
commit 6cab2cfca7
5 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,6 @@
**MayhemYDG**:
- Minor Chrome 30 fix
### v1.2.40 ### v1.2.40
*2013-09-22* *2013-09-22*

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.2.40 - 2013-09-22 * 4chan X - Version 1.2.40 - 2013-10-03
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

View File

@ -22,7 +22,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* 4chan X - Version 1.2.40 - 2013-09-22 * 4chan X - Version 1.2.40 - 2013-10-03
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -6188,6 +6188,10 @@
threadID: threadID, threadID: threadID,
postID: postID postID: postID
}); });
$.event('QRPostSuccessful_', {
threadID: threadID,
postID: postID
});
postsCount = QR.posts.length - 1; postsCount = QR.posts.length - 1;
QR.cooldown.auto = postsCount && isReply; QR.cooldown.auto = postsCount && isReply;
if (QR.cooldown.auto && QR.captcha.isEnabled && (captchasCount = QR.captcha.captchas.length) < 3 && captchasCount < postsCount) { if (QR.cooldown.auto && QR.captcha.isEnabled && (captchasCount = QR.captcha.captchas.length) < 3 && captchasCount < postsCount) {

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* 4chan X - Version 1.2.40 - 2013-09-22 * 4chan X - Version 1.2.40 - 2013-10-03
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE
@ -6175,6 +6175,10 @@
threadID: threadID, threadID: threadID,
postID: postID postID: postID
}); });
$.event('QRPostSuccessful_', {
threadID: threadID,
postID: postID
});
postsCount = QR.posts.length - 1; postsCount = QR.posts.length - 1;
QR.cooldown.auto = postsCount && isReply; QR.cooldown.auto = postsCount && isReply;
if (QR.cooldown.auto && QR.captcha.isEnabled && (captchasCount = QR.captcha.captchas.length) < 3 && captchasCount < postsCount) { if (QR.cooldown.auto && QR.captcha.isEnabled && (captchasCount = QR.captcha.captchas.length) < 3 && captchasCount < postsCount) {

View File

@ -1216,12 +1216,15 @@ QR =
ThreadUpdater.postID = postID ThreadUpdater.postID = postID
# Post/upload confirmed as successful. # Post/upload confirmed as successful.
$.event 'QRPostSuccessful', { $.event 'QRPostSuccessful', {
board: g.BOARD board: g.BOARD
threadID threadID
postID postID
} }
$.event 'QRPostSuccessful_', {threadID, postID}
# Enable auto-posting if we have stuff left to post, disable it otherwise. # Enable auto-posting if we have stuff left to post, disable it otherwise.
postsCount = QR.posts.length - 1 postsCount = QR.posts.length - 1