From 84995d87f7134f93a82487048217012ef2919598 Mon Sep 17 00:00:00 2001 From: smege1001 Date: Fri, 31 Jul 2020 19:03:51 +0100 Subject: [PATCH] oops again --- cfemail.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfemail.user.js b/cfemail.user.js index 9d105624..a1de18da 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__").length < 0) { + if (link.getElementsByClassName("__cf_email__").length > 0) { var linkChild = link.getElementsByClassName("__cf_email__")[0]; linkChild.innerText = decodedEmail;