diff --git a/src/js/contentscript-extra.js b/src/js/contentscript-extra.js index 6308ac557..5130abcd8 100644 --- a/src/js/contentscript-extra.js +++ b/src/js/contentscript-extra.js @@ -98,14 +98,14 @@ class PSelectorMatchesCSSTask extends PSelectorTask { class PSelectorMatchesCSSAfterTask extends PSelectorMatchesCSSTask { constructor(task) { super(task); - this.pseudo = 'after'; + this.pseudo = '::after'; } } class PSelectorMatchesCSSBeforeTask extends PSelectorMatchesCSSTask { constructor(task) { super(task); - this.pseudo = 'before'; + this.pseudo = '::before'; } }