URI-scheme

The data-uri is built up like this

piemenu://safari?description=Close%20the%20active%20tab&modifiers=command&key_code=13

Description

  • piemenu:// the code - required
  • safari? the app-name - required
  • description the description that comes when you hover over an element - not required
  • modifiers could be command, shift or option. If more values, separated by %20 - not required
  • key_code macOS keycode for the shortcut. - required
  • icon Icon-name from SF symbols - not required

Data URI Generator