Tuesday, 3 May 2011

Firefox Tip – Handling JavaScript Popups

As Firefox is open source, it is providing us more functionality in browsing.
I will be guiding you how to handle the javascript popup in Firefox. While browsing a site a site which executes a javascript open new window function, and if the popup window is without all the usual window features such as back/forward/reload buttons, status bar etc. Firefox will automatically treat it as a popup and will not open it as a new tab. However, if you find this to be a nuisance and if you want to open all new javascript popup windows in a new tabs, you can specify it through a simple tweak in the Firefox

Now go to URL and type about:config
Then navigate to browser.link.open_newwindow.restriction
The following are 3 values that can be given in the input box:
0 : Open all links as how Firefox can handle new windows
1 : Do not open any new windows
2 : Open all links as how Firefox can handle new windows unless the Javascript specify how to display the window
And then set the value to 2
That’s it. You are done. Happy browsing =)

0 comments:

Post a Comment