Skip to content

Commit 269b4b6

Browse files
authored
Update scriptlets.js
1 parent 3ab5191 commit 269b4b6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scriptlets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function removeNode(
1818
if ( nodes.length > 0 ) {
1919
for (const node of nodes) {
2020
if (reNeedle.test(node.outerHTML)) {
21-
node.remove();
21+
node.textContent = '';
2222
}
2323
}
2424
}
@@ -51,7 +51,7 @@ function removeNode(
5151
childList: true,
5252
});
5353
};
54-
runAt(( ) => { start(); }, 'loading');
54+
runAt(( ) => { start(); }, 'interactive');
5555
}
5656

5757
/// rename-attr.js

0 commit comments

Comments
 (0)