Fixed <NOSCRIPT> replacements to be inline elements.
This commit is contained in:
parent
8b183f9c70
commit
cf1b413bff
|
@ -1,7 +1,7 @@
|
|||
function onScriptDisabled() {
|
||||
for (let noscript of document.querySelectorAll("noscript")) {
|
||||
// force show NOSCRIPT elements content
|
||||
let replacement = document.createElement("div");
|
||||
let replacement = document.createElement("span");
|
||||
replacement.innerHTML = noscript.innerHTML;
|
||||
noscript.parentNode.replaceChild(replacement, noscript);
|
||||
// emulate meta-refresh
|
||||
|
|
Loading…
Reference in New Issue