Class BlockingFilter
Extends
RegExpFilter.
Defined in: filterClasses.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
BlockingFilter(text, regexpSource, contentType, matchCase, domains, thirdParty, collapse)
Class for blocking filters
|
| Field Attributes | Field Name and Description |
|---|---|
|
Defines whether the filter should collapse blocked content.
|
- Fields borrowed from class RegExpFilter:
- contentType, domainSeparator, length, matchCase, regexp, regexpSource, thirdParty
- Fields borrowed from class ActiveFilter:
- disabled, domains, domainSource, hitCount, ignoreTrailingDot, lastHit
- Fields borrowed from class Filter:
- subscriptions, text
- Methods borrowed from class RegExpFilter:
- matches
- Methods borrowed from class ActiveFilter:
- isActiveOnDomain, isActiveOnlyOnDomain, serialize
- Methods borrowed from class Filter:
- toString
Class Detail
BlockingFilter(text, regexpSource, contentType, matchCase, domains, thirdParty, collapse)
Class for blocking filters
- Parameters:
- {String} text
- see Filter()
- {String} regexpSource
- see RegExpFilter()
- {Number} contentType
- see RegExpFilter()
- {Boolean} matchCase
- see RegExpFilter()
- {String} domains
- see RegExpFilter()
- {Boolean} thirdParty
- see RegExpFilter()
- {Boolean} collapse
- defines whether the filter should collapse blocked content, can be null
Field Detail
{Boolean}
collapse
Defines whether the filter should collapse blocked content. Can be null (use the global preference).