The page address matches
Passes when the address of a tab matches a pattern.
The page address matches a pattern
Details #
Checks the tab's address with the same pattern rules as the triggers. tab is front (the default), trigger (the tab that started the run), a tab id or a match like {"url": "github.com"}.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
match | record | browser title url | url is a pattern, a plain start or /regex/. | |
sample | any value | |||
tab | any value | Which tab. |
Examples #
Only on GitHub
When
- Press ⌃⌥G
Only if
- If the address of the front tab matches “https://github.com/*”
Do
- Show “GitHub” for 1 s
Gotchas #
Fails with the reason when no browser extension is connected.