App: MousHero for Safari
Developer: Cesare Forelli
Genres: Utilities, Productivity

MousHero is a Safari extension that adds automation superpowers to your browsing experience: trigger URL actions by adding up to 3 custom context menu items to Safari's right-click menu.
You'll be able to launch apps, services and automations (for instance with third party applications such as Shortcuts, Keyboard Maestro, Drafts, etc.), optionally passing the currently selected text, destination link, current page URL and title as parameters.

MousHero is easy to use, but very powerful:
1. Launch the app and follow the on-screen instructions to enable the MousHero Safari extension;
2. Click on MousHero's icon inside Safari's toolbar to show the customisation interface;
3. Add a name for the custom menu item and the URL you want to execute when you click it;
4. Now, right click anywhere in your Safari page, or select some text and then right-click, and your custom actions will appear in the context menu.

And there's even more convenience at your fingertips:
• Do you want to pass the text that is currently selected in Safari as parameter of the URL? Just type in SELECTION as placeholder in the URL, and MousHero will take care of replacing it while properly percent-encoding the text; do you want to pass the destination link address? LINKTO will do the trick.
• Similarly, use the PAGEURL and PAGETITLE placeholders to pass the address and site title as parameters in your actions... and you can combine multiple placeholders in a single action!
• Do you have multiple automations you want to run from inside Safari? You can have up to 3 custom menu items!

Here's a few URL scheme examples to give you an idea of what you'll be able to achieve with just a right-click inside Safari:
- Run your Shortcuts, optionally passing the selected text as parameter with shortcuts://run-shortcut?name=ShortcutName&input=text&text=SELECTION
- Create a new note in Drafts with the selected text and page address with drafts://x-callback-url/create?text=SELECTION-PAGEURL or skip the note creation and directly execute a Drafts action on the selection with drafts://x-callback-url/runAction?text=SELECTION&action=ActionName
- Add the selected text as task in OmniFocus, with its link as note: omnifocus://x-callback-url/add?name=SELECTION&note=LINKTO
- Run Keyboard Maestro automations with kmtrigger://macro=MacroName&value=SELECTION

There's no limit to what you can do: if something responds to an HTTP GET call, you can trigger it directly from Safari, unlocking any kind of automation.

Need more examples and some help? MousHero configuration screen in Safari includes a button that will load the documentation with additional examples, and you can always reach out to the developer of MousHero (me, Cesare, hi!) at support@cdf1982.com.

All products names and brands of third party applications and services mentioned in this description (Safari, Shortcuts, Drafts, Keyboard Maestro, OmniFocus) are property of their respective owners and are not affiliated with MousHero.

MousHero does not collect any data and 100% respects your privacy! Find out more at https://cdf1982.com/privacy/moushero_terms_of_service_and_privacy_policy.html

Release notes:
A new day, a new superpower for MousHero: you can now use the LINKTO placeholder in your actions to pass the destination URL of the currently selected link as parameter.
You can combine multiple placeholders in a single action, including PAGEURL and PAGETITLE for the link and title of the active website and SELECTION for the currently selected text.
5 star reviews help indie apps like MousHero a lot, please consider leaving one!