mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
modifications for firefox
This commit is contained in:
parent
88e348435e
commit
4d0927f596
1 changed files with 12 additions and 5 deletions
17
bin/web
17
bin/web
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue