commit 4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e from: rsc date: Tue Jan 04 21:15:55 2005 UTC modifications for firefox commit - 88e348435e417d1b7c9a8bde88ed93fbb9d98d6e commit + 4d0927f5969c6f68cf13703cd9bb9d2ce5ea770e blob - 6fe66f9625f78cc175c0563df047ace12cd4e150 blob + 1745df50d7bed56022ba4363935518bfa50c0fea --- bin/web +++ bin/web @@ -2,21 +2,28 @@ 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 }