Reload captcha if there are posts in the queue.
This commit is contained in:
parent
f6353729eb
commit
4d8e4b62da
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.5.1 - 2014-04-04
|
* 4chan X - Version 1.5.1 - 2014-04-05
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.5.1 - 2014-04-04
|
* 4chan X - Version 1.5.1 - 2014-04-05
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -6804,6 +6804,10 @@
|
|||||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||||
QR.close();
|
QR.close();
|
||||||
} else {
|
} else {
|
||||||
|
if (QR.posts.length > 1) {
|
||||||
|
QR.captcha.setup();
|
||||||
|
QR.captcha.afterSetup();
|
||||||
|
}
|
||||||
post.rm();
|
post.rm();
|
||||||
}
|
}
|
||||||
QR.cooldown.set({
|
QR.cooldown.set({
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// Generated by CoffeeScript
|
// Generated by CoffeeScript
|
||||||
/*
|
/*
|
||||||
* 4chan X - Version 1.5.1 - 2014-04-04
|
* 4chan X - Version 1.5.1 - 2014-04-05
|
||||||
*
|
*
|
||||||
* Licensed under the MIT license.
|
* Licensed under the MIT license.
|
||||||
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
|
||||||
@ -6849,6 +6849,10 @@
|
|||||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||||
QR.close();
|
QR.close();
|
||||||
} else {
|
} else {
|
||||||
|
if (QR.posts.length > 1) {
|
||||||
|
QR.captcha.setup();
|
||||||
|
QR.captcha.afterSetup();
|
||||||
|
}
|
||||||
post.rm();
|
post.rm();
|
||||||
}
|
}
|
||||||
QR.cooldown.set({
|
QR.cooldown.set({
|
||||||
|
|||||||
@ -791,6 +791,9 @@ QR =
|
|||||||
unless Conf['Persistent QR'] or QR.cooldown.auto
|
unless Conf['Persistent QR'] or QR.cooldown.auto
|
||||||
QR.close()
|
QR.close()
|
||||||
else
|
else
|
||||||
|
if QR.posts.length > 1
|
||||||
|
QR.captcha.setup()
|
||||||
|
QR.captcha.afterSetup()
|
||||||
post.rm()
|
post.rm()
|
||||||
|
|
||||||
QR.cooldown.set {req, post, isReply, threadID}
|
QR.cooldown.set {req, post, isReply, threadID}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user