Class: UrlFilter
Defined in: | src/kermit/extensions/core.filter.coffee |
Overview
Filter URLs by means of regular expressions of filter functions, i.e Function[String,Object]:Boolean. Supports white-listing and black-listing.
Class Method Summary
- . (void) defaultOpts() Default options
Instance Method Summary
- # (void) isAllowed(url, meta) Check the given URL for matching entries in blacklist/whitelist
Class Method Details
.
(void)
defaultOpts()
Default options
Instance Method Details
#
(void)
isAllowed(url, meta)
Check the given URL for matching entries in blacklist/whitelist