
Component | Description | Notes / Examples |
Scheme | The protocol of the URL | Must be one of: http, https, or a wildcard * (matches only http or https) |
Host | Hostname of the URL | Rules: Wildcard * must be first or only character, followed by . or / |
| Path | Path after the host | abc: /abcWildcard /* is used by convention. For host permissions, the path is required but ignored. |
Pattern | Description |
<all_urls> | Matches any URL with a permitted scheme (http, https, file). Use with caution. |
Pattern | Matches |
| https://*/* | Any URL using HTTPS |
https://*/foo* | Any HTTPS URL with path starting foo (e.g., https://example.com/foo/bar.html) |
https://*.example.com/foo*bar | HTTPS URLs on google.com host, path starts with foo and ends with bar (e.g., https://www.example.com/foo/baz/bar) |
*://mail.example.com/ or *://mail.example.com/* | Matches HTTP or HTTPS URLs on mail.google.com |