blob: e7db04de92cce1d71226a31ee22e846f0bae5369 [file] [log] [blame]
#!/bin/sh
plumb1()
{
case $BROWSER in
# Other browsers here
# ...
*opera*)
$BROWSER -remote 'openURL('$i', new-page)'
;;
*firebird*)
$BROWSER -remote 'openURL('$i', new-window)'
;;
*firefox*)
$BROWSER -remote 'openURL('$i', new-tab)'
;;
esac
}
if [ $# = 0 ]
then
plumb1 about:blank
else
for i
do
if [ -f "$i" ]
then
i=file://`pwd`/$i
fi
plumb1 $i
done
fi
case $BROWSER in
*opera*)
$BROWSER -remote 'raise()'
esac