Take our complaint links out of the tab order.
This commit is contained in:
parent
f78f04a85c
commit
6ab842c472
@ -16,6 +16,7 @@ Report =
|
|||||||
$.extend passAd,
|
$.extend passAd,
|
||||||
textContent: 'Complain'
|
textContent: 'Complain'
|
||||||
href: 'https://www.4chan-x.net/captchas.html'
|
href: 'https://www.4chan-x.net/captchas.html'
|
||||||
|
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
|
||||||
prev.nodeValue = prev.nodeValue.replace /4chan Pass[^\.]*\./i, 'reCAPTCHA malfunctioning?'
|
prev.nodeValue = prev.nodeValue.replace /4chan Pass[^\.]*\./i, 'reCAPTCHA malfunctioning?'
|
||||||
@ -25,6 +26,7 @@ Report =
|
|||||||
href: 'mailto:4chanpass@4chan.org?subject=4chan%20Pass%20-%20Purchase%20Support'
|
href: 'mailto:4chanpass@4chan.org?subject=4chan%20Pass%20-%20Purchase%20Support'
|
||||||
textContent: 'Email 4chan'
|
textContent: 'Email 4chan'
|
||||||
target: '_blank'
|
target: '_blank'
|
||||||
|
tabIndex: -1
|
||||||
]
|
]
|
||||||
|
|
||||||
if not Conf['Use Recaptcha v1 in Reports'] and not Conf['Force Noscript Captcha'] and Main.jsEnabled
|
if not Conf['Use Recaptcha v1 in Reports'] and not Conf['Force Noscript Captcha'] and Main.jsEnabled
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user