diff --git a/src/content/onScriptDisabled.js b/src/content/onScriptDisabled.js index e6c754a..49d3886 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 = document.createElement("div"); + let replacement = document.createElement("span"); replacement.innerHTML = noscript.innerHTML; noscript.parentNode.replaceChild(replacement, noscript); // emulate meta-refresh