Best Firefox Feed Readers Manage iPod Ryan and Ashley Browser Stats How to Report a Phishing Email
Collapsed Today Collapsed CyberNotes
Collapsed Yesterday

CyberNotes
Tutorial Thursday


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:

  1. Start Firefox.
  2. In the Address Bar type about:config and press Enter.
  3. Find the option that is named browser.link.open_newwindow.restriction and double-click on it.
    browser.link.open_newwindow.restriction Firefox Configuration
  4. 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.

    Firefox Configuration Change Value

  5. 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.

RSS Icon 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

Learn Firefox
Previous ArticleNext Article
 

Related Posts:


1 Unread Comment Tracking CyberMark This Article
RSS Icon
1

  1. Avatar

    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.

:mrgreen: :| :twisted: :arrow: 8O :) :? 8) :evil: :D :idea: :oops: :P :roll: ;) :cry: :o :lol: :x :( :!: :?:

Note: All links posted in comments will automatically be hyperlinked.

↓ Expand Text Area  or  Decrease Text Area ↑

 Find out how to track new comments!


 

  1. There aren't any trackbacks or pings yet. You can be the first by using this trackback URL.