WebExtensionMatchPattern.getHost

string getHost()

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

Returns

The host string.