mirror of
https://codeberg.org/crimeflare/cloudflare-tor
synced 2024-11-14 13:22:39 +00:00
oops
This commit is contained in:
parent
9e05025a6a
commit
29485e3b1f
@ -43,10 +43,10 @@ for (var linksIndex = 0; linksIndex < links.length; linksIndex++) {
|
|||||||
var linkChild = link.getElementsByClassName("__cf_email__")[0];
|
var linkChild = link.getElementsByClassName("__cf_email__")[0];
|
||||||
linkChild.innerText = decodedEmail;
|
linkChild.innerText = decodedEmail;
|
||||||
|
|
||||||
link.removeAttribute("data-cfemail");
|
linkChild.removeAttribute("data-cfemail");
|
||||||
link.classList.remove("__cf_email__");
|
linkChild.classList.remove("__cf_email__");
|
||||||
|
|
||||||
if (link.getAttribute("class") == "") link.removeAttribute("class");
|
if (linkChild.getAttribute("class") == "") linkChild.removeAttribute("class");
|
||||||
}
|
}
|
||||||
} else if (emailprotectionURLNoHashRegex.test(link.href) && link.hasAttribute("data-cfemail")) {
|
} else if (emailprotectionURLNoHashRegex.test(link.href) && link.hasAttribute("data-cfemail")) {
|
||||||
var hash = link.getAttribute("data-cfemail");
|
var hash = link.getAttribute("data-cfemail");
|
||||||
|
Loading…
Reference in New Issue
Block a user