The script I use to launch Mozilla Firefox
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).