The script I use to launch Mozilla Firefox

Include(SoftwareLicense)

The script

Originally based on /usr/pkg/bin/firefox from the pkgsrc firefox package.

version 1.1

if /usr/pkg/bin/firefox -remote "ping()" 2>/dev/null
then /usr/pkg/bin/firefox -remote openURL\($1,new-window\)
else /usr/pkg/bin/firefox $@
fi

As of Firefox 1.5 (Deer Park) this script must be called with a valid argument ("about:blank" is a good default choice).

jakllsch's wiki: FirefoxLaunchScript (last edited 2006-01-23 17:56:58 by JonathanKollasch)