Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I prevent a new window from opening each time I click on a hyperlink?

  • 1 (رد واحد)
  • 1 has this problem
  • 3 views
  • آخر ردّ كتبه cor-el

more options

I would like to know how to prevent a new window opening each time I click on a button, or link? I rather it open in the current window, or a new tab if selected.

I would like to know how to prevent a new window opening each time I click on a button, or link? I rather it open in the current window, or a new tab if selected.

All Replies (1)

more options

You can look at the browser.link.open_newwindow prefs on the about:config page.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

  • Use the Filter bar at to top of the about:config page to locate a preference more easily.
  • Preferences that have been modified show as bold (user set).
  • Preferences can be reset to the default via the right-click context menu if they are user set
  • Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)