This is what I do:
1. Put this scripte somewhere and make it executable:
Code:
#!/bin/sh
#
# This script allows external apps to open new URLs in Firefox
# or open a new instance of Firefox if it isn't already started
#
/usr/bin/firefox -a firefox -remote "openURL($@,new-tab)" ||
exec /usr/bin/firefox "$@";
2. Add the following lines to your ~/.thunderbird/default/prefs.js file:
user_pref("network.protocol-handler.app.ftp", "/home/optimistic/Scripts/fftab");
user_pref("network.protocol-handler.app.http", "/home/optimistic/Scripts//fftab");
user_pref("network.protocol-handler.app.https", "/home/optimistic/Scripts//fftab");
Make sure you do the above when you are not running Thunderbird.
Note: I didn't write the script, but I couldn't find the link.