diff --git a/src/js/contentscript.js b/src/js/contentscript.js index d625c8828..3efd77f75 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -881,7 +881,6 @@ vAPI.injectScriptlet = function(doc, text) { return; } for ( const node of nodes ) { - if ( node.parentElement === null ) { continue; } node.setAttribute(this.masterToken, ''); node.setAttribute(styleToken, ''); }