ifDomain property

List<String> ifDomain
getter/setter pair

A list of strings matched to a URL's domain; limits action to a list of specific domains. Values must be lowercase ASCII, or punycode for non-ASCII. Add * in front to match domain and subdomains. Can't be used with ContentBlockerTrigger.unlessDomain.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

List<String> ifDomain;