Switch [complain] link back to https://www.4chan.org/feedback.
This commit is contained in:
parent
9ffef89d7d
commit
4e897e5e3c
@ -13,7 +13,7 @@ Report =
|
|||||||
if (passAd = $ 'a[href="https://www.4chan.org/pass"]')
|
if (passAd = $ 'a[href="https://www.4chan.org/pass"]')
|
||||||
$.extend passAd,
|
$.extend passAd,
|
||||||
textContent: 'Complain'
|
textContent: 'Complain'
|
||||||
href: 'https://www.4chan-x.net/captchas.html'
|
href: 'https://www.4chan.org/feedback'
|
||||||
tabIndex: -1
|
tabIndex: -1
|
||||||
passAd.parentNode.normalize()
|
passAd.parentNode.normalize()
|
||||||
if (prev = passAd.previousSibling)?.nodeType is Node.TEXT_NODE
|
if (prev = passAd.previousSibling)?.nodeType is Node.TEXT_NODE
|
||||||
|
|||||||
@ -100,7 +100,7 @@ Captcha.fixes =
|
|||||||
for errmsg in $$ '.rc-imageselect-incorrect-response, .rc-imageselect-error-select-one, .rc-imageselect-error-select-more, .rc-imageselect-error-dynamic-more'
|
for errmsg in $$ '.rc-imageselect-incorrect-response, .rc-imageselect-error-select-one, .rc-imageselect-error-select-more, .rc-imageselect-error-dynamic-more'
|
||||||
unless $ 'a', errmsg
|
unless $ 'a', errmsg
|
||||||
link = $.el 'a',
|
link = $.el 'a',
|
||||||
href: 'https://www.4chan-x.net/captchas.html'
|
href: 'https://www.4chan.org/feedback'
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
textContent: '[complain]'
|
textContent: '[complain]'
|
||||||
$.add errmsg, [$.tn(' '), link]
|
$.add errmsg, [$.tn(' '), link]
|
||||||
|
|||||||
@ -729,7 +729,7 @@ QR =
|
|||||||
# Remove the obnoxious 4chan Pass ad.
|
# Remove the obnoxious 4chan Pass ad.
|
||||||
if /mistyped/i.test err.textContent
|
if /mistyped/i.test err.textContent
|
||||||
err = $.el 'span',
|
err = $.el 'span',
|
||||||
<%= html('You mistyped the CAPTCHA, or the CAPTCHA malfunctioned [<a href="https://www.4chan-x.net/captchas.html" target="_blank">complain here</a>].') %>
|
<%= html('You mistyped the CAPTCHA, or the CAPTCHA malfunctioned [<a href="https://www.4chan.org/feedback" target="_blank">complain here</a>].') %>
|
||||||
else if /expired/i.test err.textContent
|
else if /expired/i.test err.textContent
|
||||||
err = 'This CAPTCHA is no longer valid because it has expired.'
|
err = 'This CAPTCHA is no longer valid because it has expired.'
|
||||||
# Something must've gone terribly wrong if you get captcha errors without captchas.
|
# Something must've gone terribly wrong if you get captcha errors without captchas.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user