Handling JavaScript Popups

by Sanju 2010-01-01 16:07:05

Handling JavaScript Popups

When you come across a site that executes a javascript open new window function, and if the popup window is without all the usual window features, i.e. 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 wanted to open all new windows in a new tabs, you can specify it via the browser.link.open_newwindow.restriction setting.

Config name: browser.link.open_newwindow.restriction
Default: 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
Modified values:

* 0 – open all links as how you have Firefox handle new windows
* 1 – do not open any new windows
* 2- open all links as how you have Firefox handle new windows unless the Javascript specify how to display the window



Tagged in:

1117
like
0
dislike
0
mail
flag

You must LOGIN to add comments