Class WhitelistFilter
Extends
RegExpFilter.
Defined in: filterClasses.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
WhitelistFilter(text, regexpSource, contentType, matchCase, domains, thirdParty, siteKeys)
Class for whitelist filters
|
| Field Attributes | Field Name and Description |
|---|---|
|
List of public keys of websites that this filter should apply to
|
- 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
WhitelistFilter(text, regexpSource, contentType, matchCase, domains, thirdParty, siteKeys)
Class for whitelist 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()
- {String[]} siteKeys
- public keys of websites that this filter should apply to
Field Detail
{String[]}
siteKeys
List of public keys of websites that this filter should apply to