How to prevent ALL new firefox windows from opening? I want ONE INSTANCE ONLY.
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.)
Chosen solution
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.
Read this answer in context 👍 6All Replies (3)
Chosen Solution
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.
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.
See also:
- http://kb.mozillazine.org/browser.link.open_newwindow (3)
1: current tab; 2:new window; 3:new tab;