WebExtensionMatchPattern.getHost

Gets the host part of the pattern string, unless webkit.web_extension_match_pattern.WebExtensionMatchPattern.getMatchesAllUrls is true.

class WebExtensionMatchPattern
string
getHost
()

Return Value

Type: string

The host string.