modifications for firefox

This commit is contained in:
rsc 2005-01-04 21:15:55 +00:00
parent 88e348435e
commit 4d0927f596

17
bin/web
View file

@ -2,20 +2,27 @@
plumb1()
{
case $BROWSER in
case x-$BROWSER in
# Other browsers here
# ...
*opera*)
$BROWSER -remote 'openURL('$i', new-page)'
$BROWSER -remote 'openURL('$i',new-page)'
;;
*firebird*)
$BROWSER -remote 'openURL('$i', new-window)'
$BROWSER -remote 'openURL('$i',new-window)'
;;
*firefox*)
$BROWSER -remote 'openURL('$i', new-tab)'
$BROWSER -remote 'openURL('$i',new-tab)'
;;
x-)
# run firefox as default!
firefox -remote 'openURL('$i',new-tab)'
;;
*mozilla*)
$BROWSER -remote 'openURL('$i', new-tab)'
$BROWSER -remote 'openURL('$i',new-tab)'
;;
x-*)
$BROWSER -remote 'openURL('$i',new-tab)'
;;
esac
}