aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-10-02 09:34:53 -0400
committergorhill <rhill@raymondhill.net>2015-10-02 09:34:53 -0400
commit987da1960cd84c2651f7963bd91791209aa9f483 (patch)
treecd53020514b53b8763921dda78a8c4bf06415ebd /src/js
parent0a6331e7befdfdcfdbf0dd3cf4f4fc397303aa0e (diff)
downloaduBlock-987da1960cd84c2651f7963bd91791209aa9f483.zip
uBlock-987da1960cd84c2651f7963bd91791209aa9f483.tar.gz
uBlock-987da1960cd84c2651f7963bd91791209aa9f483.tar.bz2
updated comment
Diffstat (limited to 'src/js')
-rw-r--r--src/js/cosmetic-filtering.js4
1 files changed, 3 insertions, 1 deletions
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.