Browse the docs

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 #

ParameterTypeRequiredValuesWhat it does
matchrecordbrowser title urlurl is a pattern, a plain start or /regex/.
sampleany value
tabany valueWhich tab.

Examples #

Only on GitHub
When
  1. Press ⌃⌥G
Only if
  1. If the address of the front tab matches “https://github.com/*”
Do
  1. Show “GitHub” for 1 s
Open in Switchboard to try it

Gotchas #

  • Fails with the reason when no browser extension is connected.