Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

If I already have firefox open in Linux, how can I open a new URL in a new window.

  • 6 antwurd
  • 1 hat dit probleem
  • 98 werjeftes
  • Lêste antwurd fan lmpetrie

more options

I want to be able to click on a button, and have firefox open a new window at a given URL. Currently, if I already have firefox running, then it opens a new tab, which may be on a different desktop. Having to detach the new tab to a new window and move it back to the right desktop seems like unnecessary work.

I want to be able to click on a button, and have firefox open a new window at a given URL. Currently, if I already have firefox running, then it opens a new tab, which may be on a different desktop. Having to detach the new tab to a new window and move it back to the right desktop seems like unnecessary work.

Keazen oplossing

Alle antwurden (6)

more options

You can hold down the Shift key and left-click a link or bookmark to open this link in a new window.

more options
more options

If you mean a shortcut or link completely outside of Firefox, there is a hidden preference to change how that works. This requires a visit to the about:config preferences editor. I think it's (C) below that you might want to change.

In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

In the filter box, type or paste link.o and pause while the list is filtered.

Double click these and set the value as desired:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*)
2 = allow link to open a new window (unchecked*)
1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows)
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default)
3 = open external links in a new tab in the last active window
2 = open external links in a new window
1 = open external links in the last active tab replacing the current page

Does that work?

more options

This only seems to work from within firefox. I want to be able to run firefox from the command line specifying a URL, and if firefox is already running, have it open in a new window instead of a new tab.

more options

Keazen oplossing

Try the -new-window command line switch.

more options

This was exactly what I wanted, to be able to specify on a case by case basis what happens. Thanks.