[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Iceweasel and `new tab'



> The major problem is that I want all
> these URLs to be opened simultaneously, and not Iceweasel to be closed
> to be able to launch a new tab according to my command!
> 
> Any idea?

The following will open a new tab in a running iceweasel or open a new
instance as necessary:

if firefox -remote "ping()" >/dev/null 2>&1
then
	firefox -remote "openURL($1,new-tab)"
else
	firefox "$1" &
fi

Use iceweasel instead of firefox if you prefer.

-- 
Cheers,
Clive


Reply to: