Open link in a non-default browser?

Discussion of general topics about Mozilla Thunderbird
Post Reply
TimoTom32422
Posts: 3
Joined: September 8th, 2016, 3:30 am

Open link in a non-default browser?

Post by TimoTom32422 »

I want to

a) replace the standard "open in browser"-Action for links in Thunderbird

or

b) Add an action to the context menu of URLs in displayed eMails

Reason: I want to open links in a non-default browser.

I know about the Launchy add-on, but it seems to be broken for current versions of Thunderbird.
The developers website was not updated for more than 2 years....

Is there an alternative?
User avatar
DanRaisch
Moderator
Posts: 127247
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Open link in a non-default browser?

Post by DanRaisch »

See if this is helpful --

How to open a http protocol link in message content with a non-default browser:

1. open Thunderbird
2. open the config editor in Tools > Options > Advanced > General
3. toggle the network.protocol-handler.warn-external.http pref from false (default) to true
4. click a http protocol link in message content
5. choose an application (e.g. C:\Program Files\Internet Explorer\iexplore.exe)
6. check the remember my choice for http links option
7. open the config editor
8. toggle the network.protocol-handler.warn-external.http pref

http://kb.mozillazine.org/Network.proto ... (protocol)
http://kb.mozillazine.org/MimeTypes.rdf

BTW,

You can delete the action for the http content type in Tools > Options > Attachments.
User avatar
patclash
Posts: 128
Joined: November 24th, 2007, 4:06 pm
Location: France

Re: Open link in a non-default browser?

Post by patclash »

There is an Add-on that do it easily :
https://addons.mozilla.org/fr/thunderbi ... open-with/

You can choose what browser you want to open by right click on a link 8-)
TimoTom32422
Posts: 3
Joined: September 8th, 2016, 3:30 am

Re: Open link in a non-default browser?

Post by TimoTom32422 »

Thank you DanRaisch.
I tried to do this (on Linux) but after selecting the alternate Browser (step 5) it does not start up.
maybe the problem is that the application needs additional parameters
I need "/path/binary --option1 option2 URL"
I tried to use" /path/binary --option1 option 2" in the "open with" dialogue, but the browser does not open up....
I also tried the "network.protocol-handler.app.http" setting - which seems to be ignored.
User avatar
DanRaisch
Moderator
Posts: 127247
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Open link in a non-default browser?

Post by DanRaisch »

Check out the extension suggested above by patclash.
TimoTom32422
Posts: 3
Joined: September 8th, 2016, 3:30 am

Re: Open link in a non-default browser?

Post by TimoTom32422 »

I solved the issue finally.
Maybe interesting to know: http/https-handling can be configured within Settings -> Attachments.
Iwould never expect an URL being an "attachment", but anyway....
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Open link in a non-default browser?

Post by tanstaafl »

See http://kb.mozillazine.org/Changing_the_ ... hunderbird

"Maybe interesting to know: http/https-handling can be configured within Settings -> Attachments."
Pleas elaborate. I can't figure out any way to do that under Windows 10, and I'd expect the only differences to be the menu structure (tools -> options -> attachments) since I'm using Windows 10. I'd like to try to duplicate what you did, and update the KB article accordingly.
Post Reply