Reverted <noscript> replacement to <span> over fingerprinting concerns.
This commit is contained in:
parent
609a6fec3d
commit
3ae5cd55c9
|
@ -1,7 +1,7 @@
|
||||||
function onScriptDisabled() {
|
function onScriptDisabled() {
|
||||||
for (let noscript of document.querySelectorAll("noscript")) {
|
for (let noscript of document.querySelectorAll("noscript")) {
|
||||||
// force show NOSCRIPT elements content
|
// force show NOSCRIPT elements content
|
||||||
let replacement = createHTMLElement("no-script");
|
let replacement = createHTMLElement("span");
|
||||||
replacement.innerHTML = noscript.innerHTML;
|
replacement.innerHTML = noscript.innerHTML;
|
||||||
noscript.parentNode.replaceChild(replacement, noscript);
|
noscript.parentNode.replaceChild(replacement, noscript);
|
||||||
// emulate meta-refresh
|
// emulate meta-refresh
|
||||||
|
|
Loading…
Reference in New Issue