unlessDomain property

List<String> unlessDomain
getter/setter pair

A list of strings matched to a URL's domain; acts on any site except domains in a provided list. Values must be lowercase ASCII, or punycode for non-ASCII. Add * in front to match domain and subdomains. Can't be used with ContentBlockerTrigger.ifDomain.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

List<String> unlessDomain;