diff --git a/src/js/contentscript.js b/src/js/contentscript.js index bd0768c1e..fb5e1932e 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -867,6 +867,7 @@ vAPI.injectScriptlet = function(doc, text) { for ( const node of nodes ) { node.setAttribute(this.masterToken, ''); node.setAttribute(styleToken, ''); + this.styledNodes.add(node); } }