搜尋 Mozilla 技術支援網站

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

Learn More

How to prevent ALL new firefox windows from opening? I want ONE INSTANCE ONLY.

  • 3 回覆
  • 9 有這個問題
  • 45269 次檢視
  • 最近回覆由 cor-el

more options

I want to prevent pop ups, pop unders, etc. Literally not one answer was appropriate, so I am rephrasing the question. I want firefox to simply not even acknowledge the request to open ANY new window or tab from the html code, website, server etc. I don't even want it to alert me that is hasn't acknowledged the request to open a new window or tab. I don't EVER want to see a firefox window or tab or instance that I haven't directly caused via mouse or keyboard input, and I want it to be COMPLETELY transparent. How do I do that? (I don't care if the answer is long or technical.)

被選擇的解決方法

Try Tab Mix Plus.

The above add-on can make pop-up windows open in new tabs instead. If you don't want pop-ups to open automatically at all, you can set the dom.popup_allowed_events preference to an empty value in about:config. You can then open blocked pop-ups by clicking the notification icon on the right side of the address bar. You can also allow certain sites to open pop-ups under Options - Content - Exceptions.

從原來的回覆中察看解決方案 👍 6

所有回覆 (3)

more options

選擇的解決方法

Try Tab Mix Plus.

The above add-on can make pop-up windows open in new tabs instead. If you don't want pop-ups to open automatically at all, you can set the dom.popup_allowed_events preference to an empty value in about:config. You can then open blocked pop-ups by clicking the notification icon on the right side of the address bar. You can also allow certain sites to open pop-ups under Options - Content - Exceptions.

more options

The dom.popup_allowed_events option was very close to what I am looking for. I like that it lets me immediately whitelist some windows. This was helpful, thank you.

more options