summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2018-07-09 23:22:36 +0200
committerhackademix2018-07-09 23:22:36 +0200
commit3ae5cd55c90c1079bf28c71081eadca264641264 (patch)
tree2f6875b8b087ec388f56a9c095c7f963dd937ec7 /src
parent609a6fec3d131168804d6bd77cdc0c4f52dc44fc (diff)
downloadnoscript-3ae5cd55c90c1079bf28c71081eadca264641264.tar.gz
noscript-3ae5cd55c90c1079bf28c71081eadca264641264.tar.xz
noscript-3ae5cd55c90c1079bf28c71081eadca264641264.zip
Reverted <noscript> replacement to <span> over fingerprinting concerns.
Diffstat (limited to 'src')
-rw-r--r--src/content/onScriptDisabled.js2
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