First, in thunderbird, you need to install this (about:config) extension:
http://aboutconfig.mozdev.org/
Now create a new String entry named "network.protocol-handler.app.http" with /usr/local/bin/fftab as the value. You should do a new string entry for ftp, and https also.
1. create the shell script below. Copy to /usr/local/bin as root and chmod 755 fftab
2. download and install the about:config extension.
3. re-open thunderbird and select Tools>about:config.
4. right-click anywhere in the window and select new>string.
5. Enter the name of the string as "network.protocol-handler.app.http"
6. enter the value of the new string as "/usr/local/bin/fftab"
7. repeat 4, 5 & 6 replacing http with ftp and https.
in /usr/local/bin/fftab shell script:
#!/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/X11R6/bin/firefox -a firefox -remote "openURL($@,new-tab)" ||
exec /usr/X11R6/bin/firefox "$@";
No comments:
Post a Comment