Register or remove a callback for a named hammerspoon2:// URL event. The URL format is hammerspoon2://eventName?key=value. The host component (eventName) selects the callback to invoke.
hammerspoon2://
hammerspoon2://eventName?key=value
eventName
The URL host component identifying the event.
A function receiving (eventName, params, senderPID, fullURL), or null to remove any existing binding.
(eventName, params, senderPID, fullURL)
null
Register or remove a callback for a named
hammerspoon2://URL event. The URL format ishammerspoon2://eventName?key=value. The host component (eventName) selects the callback to invoke.