ICT: Diary
D: 28 W: 05
| < | November 2023 | > | ||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | ||
[ < ]
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.
| Key | Value |
|---|---|
| 0 | saveToDisk |
| 1 | alwaysAsk |
| 2 | useHelperApp |
| 3 | handleInternally |
| 4 | useSystemDefault |
So thunderbird now opens links in firefox rather than opening an empty browser tab.
$Id: dates.htm,v 1
$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $