From 987da1960cd84c2651f7963bd91791209aa9f483 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 2 Oct 2015 09:34:53 -0400 Subject: updated comment --- src/js/cosmetic-filtering.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/js/cosmetic-filtering.js b/src/js/cosmetic-filtering.js index d66c2b8..8969fce 100644 --- a/src/js/cosmetic-filtering.js +++ b/src/js/cosmetic-filtering.js @@ -287,7 +287,9 @@ FilterParser.prototype.parse = function(s) { // Script tag filters: pre-process them so that can be used with minimal // overhead in the content script. - // Example: focus.de##script:contains(/uabInject/) + // Examples: + // focus.de##script:contains(/uabInject/) + // focus.de##script:contains(uabInject) if ( this.suffix.charAt(0) === 's' && this.reScriptContains.test(this.suffix) ) { // Currently supported only as non-generic selector. Also, exception // script tag filter makes no sense, ignore. -- cgit v1.1