We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b183f9 commit cf1b413Copy full SHA for cf1b413
1 file changed
src/content/onScriptDisabled.js
@@ -1,7 +1,7 @@
1
function onScriptDisabled() {
2
for (let noscript of document.querySelectorAll("noscript")) {
3
// force show NOSCRIPT elements content
4
- let replacement = document.createElement("div");
+ let replacement = document.createElement("span");
5
replacement.innerHTML = noscript.innerHTML;
6
noscript.parentNode.replaceChild(replacement, noscript);
7
// emulate meta-refresh
0 commit comments