搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 1 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 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.

所有回覆 (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)