Merge branch 'v3'
Conflicts: builds/appchan-x.user.js builds/crx/script.js
This commit is contained in:
commit
6760dcf09f
@ -8782,6 +8782,7 @@
|
||||
}
|
||||
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
||||
QR.captcha.nodes.input.focus();
|
||||
QR.captcha.setup();
|
||||
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
||||
QR.notify(el);
|
||||
} else {
|
||||
@ -9493,10 +9494,6 @@
|
||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||
QR.close();
|
||||
} else {
|
||||
if (QR.posts.length > 1) {
|
||||
QR.captcha.setup();
|
||||
QR.captcha.afterSetup();
|
||||
}
|
||||
post.rm();
|
||||
}
|
||||
QR.cooldown.set({
|
||||
@ -9955,6 +9952,9 @@
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
} else if (this === QR.selected) {
|
||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||
if (QR.captcha.isEnabled) {
|
||||
QR.captcha.setup();
|
||||
}
|
||||
}
|
||||
QR.posts.splice(index, 1);
|
||||
return QR.status();
|
||||
|
||||
@ -8836,6 +8836,7 @@
|
||||
}
|
||||
if (QR.captcha.isEnabled && /captcha|verification/i.test(el.textContent)) {
|
||||
QR.captcha.nodes.input.focus();
|
||||
QR.captcha.setup();
|
||||
if (Conf['Captcha Warning Notifications'] && !d.hidden) {
|
||||
QR.notify(el);
|
||||
} else {
|
||||
@ -9537,10 +9538,6 @@
|
||||
if (!(Conf['Persistent QR'] || QR.cooldown.auto)) {
|
||||
QR.close();
|
||||
} else {
|
||||
if (QR.posts.length > 1) {
|
||||
QR.captcha.setup();
|
||||
QR.captcha.afterSetup();
|
||||
}
|
||||
post.rm();
|
||||
}
|
||||
QR.cooldown.set({
|
||||
@ -9993,6 +9990,9 @@
|
||||
$.rmClass(QR.nodes.el, 'dump');
|
||||
} else if (this === QR.selected) {
|
||||
(QR.posts[index - 1] || QR.posts[index + 1]).select();
|
||||
if (QR.captcha.isEnabled) {
|
||||
QR.captcha.setup();
|
||||
}
|
||||
}
|
||||
QR.posts.splice(index, 1);
|
||||
return QR.status();
|
||||
|
||||
@ -139,6 +139,7 @@ QR =
|
||||
if QR.captcha.isEnabled and /captcha|verification/i.test el.textContent
|
||||
# Focus the captcha input on captcha error.
|
||||
QR.captcha.nodes.input.focus()
|
||||
QR.captcha.setup()
|
||||
if Conf['Captcha Warning Notifications'] and !d.hidden
|
||||
QR.notify el
|
||||
else
|
||||
@ -814,9 +815,6 @@ QR =
|
||||
unless Conf['Persistent QR'] or QR.cooldown.auto
|
||||
QR.close()
|
||||
else
|
||||
if QR.posts.length > 1
|
||||
QR.captcha.setup()
|
||||
QR.captcha.afterSetup()
|
||||
post.rm()
|
||||
|
||||
QR.cooldown.set {req, post, isReply, threadID}
|
||||
|
||||
@ -80,6 +80,8 @@ QR.post = class
|
||||
$.rmClass QR.nodes.el, 'dump'
|
||||
else if @ is QR.selected
|
||||
(QR.posts[index-1] or QR.posts[index+1]).select()
|
||||
if QR.captcha.isEnabled
|
||||
QR.captcha.setup()
|
||||
QR.posts.splice index, 1
|
||||
QR.status()
|
||||
delete: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user