[olug] new firefox windows from shell script
Neal R
neal at lists.rauhauser.net
Wed Feb 7 14:01:52 UTC 2007
Invoke this thing with a URL as a parameter from the command line and
the URL opens in a new tab on your existing firefox instance.
#!/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 "$@";
More information about the OLUG
mailing list