Making the change
- Open Firefox and type
about:configinto the address bar, then press Enter. You’ll get a warning about changing advanced settings — accept it to continue. - In the search box at the top of the about:config page, type:
browser.link.open_newwindow.restriction
- The matching preference will appear in the list, with a default value of 2. Click the edit (pencil) icon next to it.
- Change the value from 2 to 0, then confirm with the checkmark/tick icon.
What the values mean
This preference controls howwindow.open() calls are restricted:
- 0 — no restriction; popups that would normally open in a new window open in a new tab instead.
- 1 — only allow it for same-origin popups.
- 2 (default) — allow it for all popups, but treat popups requesting non-default window features (toolbars, specific sizing, etc.) as separate windows rather than tabs.
Still Current in 2026
This preference is unchanged in current Firefox — confirmed directly against Mozilla’s own source repository, wherebrowser.link.open_newwindow.restriction is still defined with the same default value of 2 and is still actively read by Firefox’s window-handling code. Current stable Firefox is version 153. No deprecation, removal, or default-value change has happened to this preference, so the about:config steps above work exactly as written on a fully up-to-date install.
Resources
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.