A browser connects or disconnects
Runs the macro when a browser extension connects to or disconnects from Switchboard.
A browser event
Details #
Fires from Switchboard itself, with no page involved: the extension connected (the default) or disconnected. browser limits it to one browser. The run starts with event, browser and version.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
browser | one of | safari chrome any | safari, chrome or any. | |
event | one of | connected disconnected | connected or disconnected. |
Every trigger also takes Limits: a cooldown, the first time each day, every nth time, twice within seconds, a chance, only while you are at the Mac, on one Mac, or in a State. See Limits on any trigger.
Examples #
Say when Chrome connects
When
- Chrome connects to Switchboard
Do
- Show “Chrome is connected” for 2 s
Gotchas #
A browser that is quit disconnects after a moment.