aboutsummaryrefslogtreecommitdiff
path: root/content/noscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'content/noscript.js')
-rw-r--r--content/noscript.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/noscript.js b/content/noscript.js
index 9cf1ac1..58445c5 100644
--- a/content/noscript.js
+++ b/content/noscript.js
@@ -24,6 +24,7 @@
for (const noscript of document.querySelectorAll(
'noscript:not([data-librejs-nodisplay])')) {
const replacement = document.createElement('span');
+ replacement.setAttribute('data-librejs-show-noscript', true);
replacement.innerHTML = noscript.innerHTML;
noscript.replaceWith(replacement);
}