Seems that (try at jsfiddle)
window.open(\'http://www.google.com/\', window_name, \'width=400,height=320\');
completely stops opening new w
From Mozilla: https://developer.mozilla.org/en/DOM/window.open#section_31
and here:
http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html