CyberNotes: Crushing Those JavaScript Pop-ups In Firefox
One thing I hate the most are popup windows but sometimes they just seem unavoidable. JavaScript pop-ups are all over the place and it is frustrating when you can’t resize the window or have access to the navigation bar. That is why I searched for a way to disable JavaScript pop-ups from opening in a new window, and now they will open in a tab.
Here are the few steps that you need to do this:
- Start Firefox.
- In the Address Bar type about:config and press Enter.
- Find the option that is named browser.link.open_newwindow.restriction and double-click on it.
- You now need to change the value based upon how you want Firefox to handle the JavaScript pop-ups. The default option used to be “0″ but they changed it to “2″ recently. If you have Firefox set to open all new windows in tabs then setting “0″ will also force all JavaScript windows to open in tabs, which is the option that I chose. Here is what all of the options do:
- 0 - Open JavaScript windows the same way as you have Firefox handle new windows.
- 1 - Allow all JavaScript windows to popup if requested.
- 2 - Open all JavaScript windows the same way as you have Firefox handle new windows unless the JavaScript call specifies how to display the window.
- Restart Firefox.
This is probably one of my favorite “about:config” tweaks that I have done. I use tabs for a reason and that is because I don’t want to have windows open all over the place. I’m pretty sure that the Tab Mix Plus extension covers this feature but ever since Firefox 2 I haven’t really felt the need to install it.
This is just one of the hundreds of CyberNotes we have done. You can find more of them by visiting our CyberNotes category, or by subscribing to our CyberNotes feed. We also have a full feed available if you want to receive all of our articles in your reader!
Tags: CyberNotes, Firefox, Software


Related Posts:
- CyberNotes: Your Week In Review With Sunday’s Summary
- A Look Back at Firefox in 2006
- Your Week in Review with Sunday’s Summary
- Amaze Your Friends With This JavaScript
- Top 10 Funniest Super Bowl Commercials






















That tweak is best, it’s maybe first tweak i made 2 and half years ago, when i did start using Firefox.
BTW, you need to check your JavaScript Advanced -options,
and uncheck first 2 or those JavaScript windows can still resize.