From 2247cec9dab5916fa336433855737bb8dc2a3a79 Mon Sep 17 00:00:00 2001 From: Guest workers <11125-guests@users.noreply.0xacab.org> Date: Fri, 15 Dec 2023 01:39:27 +0000 Subject: [PATCH] . --- tool/userscripts/cf.color.user.js | 6 +++--- tool/userscripts/cf.remove.user.js | 6 +++--- tool/userscripts/cf.replace.user.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tool/userscripts/cf.color.user.js b/tool/userscripts/cf.color.user.js index 7528deaf68..a0e041f3b8 100644 --- a/tool/userscripts/cf.color.user.js +++ b/tool/userscripts/cf.color.user.js @@ -26,10 +26,10 @@ function scanme() { if (u.hostname != fqdn_self && (u.protocol == 'https:' || u.protocol == 'http:')) { l.setAttribute('xcf', 'q'); let fqdn = u.hostname; - if (fqdns[fqdn] == undefined) { - fqdns[fqdn] = []; - } if (!/^(|(.*)\.)archive\.org$/.test(fqdn)) { + if (fqdns[fqdn] == undefined) { + fqdns[fqdn] = []; + } fqdns[fqdn].push(l); } } diff --git a/tool/userscripts/cf.remove.user.js b/tool/userscripts/cf.remove.user.js index d261c55b56..a76d837c3d 100644 --- a/tool/userscripts/cf.remove.user.js +++ b/tool/userscripts/cf.remove.user.js @@ -26,10 +26,10 @@ function scanme() { if (u.hostname != fqdn_self && (u.protocol == 'https:' || u.protocol == 'http:')) { l.setAttribute('xcf', 'q'); let fqdn = u.hostname; - if (fqdns[fqdn] == undefined) { - fqdns[fqdn] = []; - } if (!/^(|(.*)\.)archive\.org$/.test(fqdn)) { + if (fqdns[fqdn] == undefined) { + fqdns[fqdn] = []; + } fqdns[fqdn].push(l); } } diff --git a/tool/userscripts/cf.replace.user.js b/tool/userscripts/cf.replace.user.js index b57a8f1b4f..1bf3cc014d 100644 --- a/tool/userscripts/cf.replace.user.js +++ b/tool/userscripts/cf.replace.user.js @@ -26,10 +26,10 @@ function scanme() { if (u.hostname != fqdn_self && (u.protocol == 'https:' || u.protocol == 'http:')) { l.setAttribute('xcf', 'q'); let fqdn = u.hostname; - if (fqdns[fqdn] == undefined) { - fqdns[fqdn] = []; - } if (!/^(|(.*)\.)archive\.org$/.test(fqdn)) { + if (fqdns[fqdn] == undefined) { + fqdns[fqdn] = []; + } fqdns[fqdn].push(l); } }