WebExtensionMatchPattern.matchesUrl
bool matchesUrl(string url, webkit.types.WebExtensionMatchPatternOptions options)Matches the matchPattern against the specified URL with options.
Parameters
url | The URL to match against the pattern. |
options | The #WebKitWebExtensionMatchPatternOptions use while matching. |
Returns
Whether the pattern matches the specified URL.