Reverted <noscript> replacement to <span> over fingerprinting concerns.
This commit is contained in:
parent
609a6fec3d
commit
3ae5cd55c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue