A browser is in front
Passes while a known browser, or the one you name, is the front app.
A browser is in front
Details #
True when the front app is Safari, Safari Technology Preview, Chrome (or Beta, Canary, Chromium), Arc, Brave, Edge or Vivaldi. browser narrows it to safari or the Chrome family (chrome).
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
browser | one of | safari chrome any | safari, chrome or any. | |
sample | any value |
Examples #
Only in a browser
When
- Press ⌃⌥J
Only if
- If a browser is in front
Do
- Show “In a browser” for 1 s
Gotchas #
It doesn't need the extension.