Blob
1 #!/bin/sh3 plumb1()4 {5 case $BROWSER in6 # Other browsers here7 # ...8 *opera*)9 $BROWSER -remote 'openURL('$i', new-page)'10 ;;11 *firebird*)12 $BROWSER -remote 'openURL('$i', new-window)'13 ;;14 *firefox*)15 $BROWSER -remote 'openURL('$i', new-tab)'16 ;;17 esac18 }20 if [ $# = 0 ]21 then22 plumb1 about:blank23 else24 for i25 do26 if [ -f "$i" ]27 then28 i=file://`pwd`/$i29 fi30 plumb1 $i31 done32 fi34 case $BROWSER in35 *opera*)36 $BROWSER -remote 'raise()'37 esac