diff options
author | hackademix | 2018-07-09 23:22:36 +0200 |
---|---|---|
committer | hackademix | 2018-07-09 23:22:36 +0200 |
commit | 3ae5cd55c90c1079bf28c71081eadca264641264 (patch) | |
tree | 2f6875b8b087ec388f56a9c095c7f963dd937ec7 /src/content | |
parent | 609a6fec3d131168804d6bd77cdc0c4f52dc44fc (diff) | |
download | noscript-3ae5cd55c90c1079bf28c71081eadca264641264.tar.gz noscript-3ae5cd55c90c1079bf28c71081eadca264641264.tar.xz noscript-3ae5cd55c90c1079bf28c71081eadca264641264.zip |
Reverted <noscript> replacement to <span> over fingerprinting concerns.
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/onScriptDisabled.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/onScriptDisabled.js b/src/content/onScriptDisabled.js index 45f1534..a3a0ffe 100644 --- a/src/content/onScriptDisabled.js +++ b/src/content/onScriptDisabled.js @@ -1,7 +1,7 @@ function onScriptDisabled() { for (let noscript of document.querySelectorAll("noscript")) { // force show NOSCRIPT elements content - let replacement = createHTMLElement("no-script"); + let replacement = createHTMLElement("span"); replacement.innerHTML = noscript.innerHTML; noscript.parentNode.replaceChild(replacement, noscript); // emulate meta-refresh |