ifTopUrl property

List<String> ifTopUrl
getter/setter pair

A list of strings matched to the entire main document URL; limits the action to a specific list of URL patterns. Values must be lowercase ASCII, or punycode for non-ASCII. Can't be used with ContentBlockerTrigger.unlessTopUrl.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

List<String> ifTopUrl;