Since 2.48Optionalproperties: Partial<{}>Since 2.48get_Since 2.48get_Since 2.48get_Since 2.48get_Gets the path part of the pattern string, unless WebExtensionMatchPattern.get_matches_all_urls is true.
The path string.
Since 2.48get_Since 2.48get_Since 2.48matches_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.
Since 2.48matches_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.
Since 2.48refAtomically 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.
Since 2.48unrefStaticnew_Staticnew_Staticnew_Staticnew_StaticSince 2.52register_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
StaticDeprecated 2.52Since 2.48register_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>.
DeprecatedurlScheme: string
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 WebKit.WebExtension.
Since
2.48