Quote
Michael Sattler
But is it possible, that an external link (of which I have control over the html href link code) clicked in KM opens in Firefox?
Directly, no. In the past I tried to hook/change the default left-click behaviour and... well, lets say that it wasn't a good idea... (somewhere in the forum are my experiences).
But, right-clicking and using a menu entry to do that, yes.
As this is the second time in a few weeks someone asks a similar question... I attach a modified version of the default ie.kmm macro so it can be used with Firefox (actually, with anything, if you know how to edit macros). Might be some similar macro in the forum or elsewhere but I'm unable to find it right now.
The macro command attaches a menu entry to Send To submenu in the context menu. As it does the default ie.kmm (for Internet Explorer).
Before you start using it, you need to change this line with your current path to Firefox with double slashes instead one, this is "c:\program files\" becomes "c:\\program files\\":
$_FireFox_path = "";
Change the content of the double quotes with the path to your firefox executable + %1
$_FireFox_path = "x:\\path to firefox\\firefox.exe %1";
I removed the default pseudo automation for the executable path because, after all, the magic of Gecko browsers is that they don't depend on an specific path and the original macro wasn't strictly useful for an alternate browser to Internet Explorer.
Note that this is quick edit range">find&replace and I haven't tested it as I don't use Firefox myself on this system. But should work. Anyway, is offered AS-IS.
Also, if anyone wants to use it, remember that you'll have to replace the word Firefox on lots of places in the macro. But, please, if you don't have macro knowledge, try to avoid it, or have a look to the documentation pages.
This should have been on Extensions forum, but it is not macro for general usage. It is just a lazy conversion.
Edited 2 time(s). Last edit at 03/01/2023 10:24PM by JohnHell.