Since 2.48Optionalproperties: Partial<{}>Gets the host part of the pattern string, unless webkit_web_extension_match_pattern_get_matches_all_urls is true.
The host string.
Gets whether the match pattern matches all host. This happens when
the pattern is <all_urls>, or if * is set as the host string.
Whether this match pattern matches all hosts.
Gets whether the match pattern matches all URLs, in other words, whether
the pattern is <all_urls>.
Whether this match pattern matches all URLs.
Gets the path part of the pattern string, unless WebExtensionMatchPattern.get_matches_all_urls is true.
The path string.
Gets the scheme part of the pattern string, unless webkit_web_extension_match_pattern_get_matches_all_urls is true.
The scheme string.
Gets the original pattern string.
The original pattern string.
Matches the matchPattern against the specified pattern with options.
The WebKit.WebExtensionMatchPattern to match with matchPattern.
The WebKit.WebExtensionMatchPatternOptions use while matching.
Whether the pattern matches the specified pattern.
Matches the matchPattern against the specified URL with options.
The URL to match against the pattern.
The WebKit.WebExtensionMatchPatternOptions use while matching.
Whether the pattern matches the specified URL.
Atomically acquires a reference on the given matchPattern.
This function is MT-safe and may be called from any thread.
The same matchPattern with an additional reference.
Atomically releases a reference on the given matchPattern.
If the reference was the last, the resources associated to the
matchPattern are freed. This function is MT-safe and may be called from
any thread.
Staticnew_Staticnew_Staticnew_Staticnew_Staticregister_Registers a custom URL scheme that can be used in match patterns.
This method should be used to register any custom URL schemes used by the app for the extension base URLs,
other than webkit-extension, or if extensions should have access to other supported URL schemes when using <all_urls>.
The custom URL scheme to register
Represents a way to specify a group of URLs for use in WebExtensions.
All match patterns are specified as strings. Apart from the special
<all_urls>pattern, match patterns consist of three parts: scheme, host, and path.Generally, match patterns are returned from a
WebKitWebExtension.Since
2.48