Point captcha error complaint link at https://www.4chan-x.net/captchas.html so it can be redirected as needed.
This commit is contained in:
parent
b5fb101b17
commit
3f0e937074
@ -74,7 +74,7 @@ Captcha.fixes =
|
|||||||
for errmsg in $$ '.rc-imageselect-incorrect-response, .rc-imageselect-error-select-one, .rc-imageselect-error-select-more'
|
for errmsg in $$ '.rc-imageselect-incorrect-response, .rc-imageselect-error-select-one, .rc-imageselect-error-select-more'
|
||||||
unless $ 'a', errmsg
|
unless $ 'a', errmsg
|
||||||
link = $.el 'a',
|
link = $.el 'a',
|
||||||
href: 'https://www.4chan.org/feedback'
|
href: 'https://www.4chan-x.net/captchas.html'
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
textContent: '[complain]'
|
textContent: '[complain]'
|
||||||
$.add errmsg, [$.tn(' '), link]
|
$.add errmsg, [$.tn(' '), link]
|
||||||
|
|||||||
@ -730,7 +730,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.org/feedback" target="_blank">complain here</a>].') %>
|
<%= html('You mistyped the CAPTCHA, or the CAPTCHA malfunctioned [<a href="https://www.4chan-x.net/captchas.html" 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.'
|
||||||
# Enable auto-post if we have some cached captchas.
|
# Enable auto-post if we have some cached captchas.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user