Reverted <noscript> replacement to <span> over fingerprinting concerns.

This commit is contained in:
hackademix 2018-07-09 23:22:36 +02:00
parent 609a6fec3d
commit 3ae5cd55c9
1 changed files with 1 additions and 1 deletions

View File

@ -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