Closed Bug 1622780 Opened 5 years ago Closed 5 years ago

Thunderbird 68+ doesn't support opening external URL in browsers, instead supports opening URL in a tab in Thunderbird itself

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1664708

People

(Reporter: bprasannakumar, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Open a link constructed through WebExtensions API using browser.tabs.create.

Actual results:

In Thunderbird 68+ versions, the Web Extensions API doesn't support opening links in external browsers. Using browser.tabs.create opens a link only as a new tab as part of Thunderbird itself.

Expected results:

In Thunderbird <=60 versions, we had messenger.launchExternalURL to open a link from Thunderbird into a browser (like Firefox, Chrome, etc.,). Like this if we could have an WebExtensions API interface to open external link in external browser instead of in-built browser of Thunderbird it would be very helpful.

A question on the same has been raised in StackOverflow: https://stackoverflow.com/questions/59432941/how-to-open-urls-using-addon-for-thunderbird-68-in-external-browsers-instead-of. But, till now there is no help on this question. So, raising my requirement as enhancement request to see if there is any quick way to open link in external browser instead of built-in browser of Thunderbird.

I highly recommend using the experiment generator to create a one-function experiment API that wraps your existing code.

Attached file search_context_menu.js

Adding the javascript which is used at my end which opens the URL from Thunderbird.

Thank you for sharing experiment generator application. It may require some time for me to understand how it works. In the meanwhile im sharing the JavaScript of the Add-On i have developed for your perusal. Please check the attached file.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: