aboutsummaryrefslogtreecommitdiffstats
path: root/cfemail.user.js
diff options
context:
space:
mode:
authorsmege1001 <smege1001@aaathats3as.com>2020-07-31 18:25:20 +0100
committersmege1001 <smege1001@aaathats3as.com>2020-07-31 18:25:20 +0100
commit9077c0a7e6620cb5b6f98843cae206b91b3a5fda (patch)
tree43be2439543c6f76556871ece0f473c5f7f4bf75 /cfemail.user.js
parent29485e3b1f28cfb63c5424f273d8c32d47ec1d88 (diff)
downloadcloudflare-tor-9077c0a7e6620cb5b6f98843cae206b91b3a5fda.tar.lz
cloudflare-tor-9077c0a7e6620cb5b6f98843cae206b91b3a5fda.tar.xz
cloudflare-tor-9077c0a7e6620cb5b6f98843cae206b91b3a5fda.zip
error fixed
Diffstat (limited to 'cfemail.user.js')
-rw-r--r--cfemail.user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfemail.user.js b/cfemail.user.js
index 2dbfe334..d406d334 100644
--- a/cfemail.user.js
+++ b/cfemail.user.js
@@ -39,7 +39,7 @@ for (var linksIndex = 0; linksIndex < links.length; linksIndex++) {
link.href = "mailto:" + decodedEmail; //replace the stupid email protection with just a mailto link
- if (link.getElementsByClassName("__cf_email__")) {
+ if (link.getElementsByClassName("__cf_email__").length < 0) {
var linkChild = link.getElementsByClassName("__cf_email__")[0];
linkChild.innerText = decodedEmail;