For your Christmas enjoyment a script to either run a new instance of Firefox or open a new tab. Point your application browser path to this executable rather than the binary:

Modfied from a script found a while back on

# Jeffrey Robbins - 2005

#Full path to Firefox or Mozilla binary

if ($MOZILLA -remote "ping()"); then
             #Found a running instance, open a new tab
             $MOZILLA -remote "openurl($1, new-tab)" &
        #Didn't find a running instance, open a new one
        $MOZILLA $1 &

Don’t forget to chmod this so it is executable!!

Comments are closed.