I think I can do better than that:

#!/bin/sh
#
# Full documentation of the remote commands can be found here:
# http://www.mozilla.org/unix/remote.html
#

if /usr/local/MozillaFirebird/MozillaFirebird -remote "ping()"; then
    if [ -z "$@" ]; then
        exec /usr/local/MozillaFirebird/MozillaFirebird -remote "xfeDoCommand 
(openBrowser)"
    else
        exec /usr/local/MozillaFirebird/MozillaFirebird -remote "openURL($@, 
new-window)"
    fi
else
    exec /usr/local/MozillaFirebird/MozillaFirebird "$@"
fi

I just don't know where the default mozilla start script-script is
located so you have to figure that out yourself.


# Han
-- 
http://www.xs4all.nl/~hanb/software
http://www.xs4all.nl/~hanb/documents/quotingguide.html

Reply via email to