external-application-button
external-application-button copied to clipboard
How to modify URL before passing it to an external application?
Title. I'd like to strip off some parameters before forwarding the [HREF]
to the external application.
I ended up relegating the text manipulation part to coreutils. After combing through some of the issues in this repository, this is what I put together:
Exectuable name: sh
Arguments: -c '<program> $(echo "[HREF]" | <sed or whatever>)'
Leaving this issue open in case this can be done within the addon instead of using shell.