excludedTopDomains property

List<String>? get excludedTopDomains

The rule will not match network requests when the associated top-level frame's domain matches one from the list of excludedTopDomains. If the list is empty or omitted, no domains are excluded. This takes precedence over topDomains.

Notes:

  • Sub-domains like "a.example.com" are also allowed.
  • The entries must consist of only ascii characters.
  • Use punycode encoding for internationalized domains.
  • Sub-domains of the listed domains are also excluded.
  • For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.

Implementation

List<String>? get excludedTopDomains => _wrapped.excludedTopDomains?.toDart
    .cast<JSString>()
    .map((e) => e.toDart)
    .toList();
set excludedTopDomains (List<String>? v)

Implementation

set excludedTopDomains(List<String>? v) {
  _wrapped.excludedTopDomains = v?.toJSArray((e) => e.toJS);
}