Ok, I can open an URL from command line with a command like
firefox.exe http://www.foobar.com
But this opens always automatically a new tab if Firefox is already opened.
How can I tell Firefox "use current active tab for opening the URL; Only if Firefox is currently closed and start it and open a new tab"
Thomas
How to open URL from cmdline in current tab (no open new)?
-
- Posts: 319
- Joined: June 7th, 2003, 12:45 am
- jscher2000
- Posts: 11767
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: How to open URL from cmdline in current tab (no open ne
I don't see anything to overwrite the active tab: https://developer.mozilla.org/docs/Mozi ... ne_Options
There is a way to set Firefox to re-use the active tab for ALL external links if you want to try that, but it's not limited to the command line.
browser.link.open_newwindow.override.external => 1
(2 is new window, 3 is new tab, -1 is follow the new window handling for internal links)
There is a way to set Firefox to re-use the active tab for ALL external links if you want to try that, but it's not limited to the command line.
browser.link.open_newwindow.override.external => 1
(2 is new window, 3 is new tab, -1 is follow the new window handling for internal links)