WebExtensionMatchPattern.getMatchesAllHosts

Gets whether the match pattern matches all host. This happens when the pattern is <all_urls>, or if * is set as the host string.

class WebExtensionMatchPattern
bool
getMatchesAllHosts
()

Return Value

Type: bool

Whether this match pattern matches all hosts.