[Project_owners] Open url in standard browser

Jaap A. Haitsma jaap at haitsma.org
Fri Mar 19 14:02:44 EST 2004


> Hi,
>
> does anybody knows how I can open an url in the standard browser within
> Thunderbird
>
If you want to do it from an extension do it like this:

var url = ""http://www.google.com";
var messenger =
Components.classes["@mozilla.org/messenger;1"].createInstance();
messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);
messenger.launchExternalURL(url);


More information about the Project_owners mailing list