Skip to content

Commit 94bcd2c

Browse files
committed
Noscript elements have content, don't remove them
1 parent ee31447 commit 94bcd2c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

content-script.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,6 @@ Repaginator.prototype = {
428428
// Note: This is NOT a security mechanism, but a performance thing.
429429
Array.forEach(doc.querySelectorAll("script"),
430430
s => s.parentNode.removeChild(s));
431-
Array.forEach(doc.querySelectorAll("noscript"),
432-
s => s.parentNode.removeChild(s));
433-
434431
yield true;
435432

436433
// Do the dirty deed

0 commit comments

Comments
 (0)