diff options
author | Yuchen Pei <hi@ypei.me> | 2022-10-12 18:37:26 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-10-12 18:37:26 +1100 |
commit | 88fa677b51b6b1eb814866ea08129a6b7cda9ddb (patch) | |
tree | 84427492876ab50ded53033a451c5bab5aa8a702 | |
parent | 9bdf30ef02f3f67a7c45e7ac64db3c1ef15340d4 (diff) |
minor comment fix
-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; |