diff options
-rw-r--r-- | main_background.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/main_background.js b/main_background.js index c09e0a3..87b80ae 100644 --- a/main_background.js +++ b/main_background.js @@ -594,9 +594,8 @@ function forceElement(doc, element) { } /** -* Forces displaying any element having the "data-librejs-display" attribute and -* <noscript> elements on pages where LibreJS disabled inline scripts (unless -* they have the "data-librejs-nodisplay" attribute). + * Forces displaying any noscript element not having the "data-librejs-nodisplay" attribute on pages. + * returns number of elements forced, mutates doc. */ function forceNoscriptElements(doc) { let shown = 0; @@ -614,9 +613,7 @@ function forceNoscriptElements(doc) { } /** -* Forces displaying any element having the "data-librejs-display" attribute and -* <noscript> elements on pages where LibreJS disabled inline scripts (unless -* they have the "data-librejs-nodisplay" attribute). +* Forces displaying any element having the "data-librejs-display" attribute. */ function showConditionalElements(doc) { let shown = 0; |