The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: Emdek on 2017-08-16, 07:46:25

Title: New way to create "Open with" menu
Post by: Emdek on 2017-08-16, 07:46:25
Starting with weekly #189 old actions used for adding "Open with" menus were replaced by generic Menu with parameters and options, example (open current page in external application):
Code: [Select]
{
"type": "menu",
"identifier": "OpenInApplicationMenu",
"parameters":
{
"urlPlaceholder": "{pageUrl}"
},
"options":
{
"mimeType": "text/html"
}
},
urlPlaceholder parameter is used to determine source of the link, currently available:
mimeType option is used to decide which applications should be listed, filtering them by supported MIME type.

Initially I've planned to drop them during migration of keyboard shortcut profiles but these three stopped working after recent overhaul of our actions system anyway...
Most likely they will be still included in that migration, when it will be ready.