[ ] Wednesday, 22 November 2023 [ ]

Thunderbird not opening links

Had an issue where Thunderbird was opening blank firefox windows, rather than opening the link in the email.

The fix ended up editing the prefs.js file in the Config Editor in thunderbird.

user_pref("network.protocol-handler.app.http", "/usr/local/bin/firefox"); user_pref("network.protocol-handler.app.https", "/usr/local/bin/firefox"); user_pref("network.protocol-handler.warn-external.http", true); user_pref("network.protocol-handler.warn-external.https", true);

it took multiple edits before it worked again…

After upgrading my work OpenBSD machine I had this issue again, and the prefs.js had the correct settings, after some more digging I noticed that the handlers.json had:

  "schemes": {
    "https": {
      "action": 2,
      "handlers": [
        {
          "name": "Firefox Web Browser",
          "command": "firefox %u"
        }
      ]
    },
the action was 2 but on my working version "action": 4 and more searching mozilla support had a reply describing the action key values.

Action Key Values
KeyValue
0saveToDisk
1alwaysAsk
2useHelperApp
3handleInternally
4useSystemDefault

So thunderbird now opens links in firefox rather than opening an empty browser tab.

thunderbirdmime types


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $