Hi Rodrigo, Rodrigo Arias <rodarima@gmail.com> wrote:
I implemented this here using the option "link_action" which will *only* add new entries to the Link menu:
https://github.com/dillo-browser/dillo/pull/326
https://github.com/dillo-browser/dillo/pull/326.patch
I set the $url environment variable to hold the link URL and $origin to hold the current page URL, in case you want to handle links different based on which page you where clicking from.
It would be nice if it gets some testing, specially with strange URL looking cases. Hopefully it covers all your use cases, Alex.
So far this is working flawlessly with every URL I have thrown at it, including stufff with a lot of symbols, and also extra-long links. I will keep testing this heavily, but hopefully it's good to go! Looks like I will be able to retire my inferior link handler patch now, thank you very much! Best regards, Alex