zoqacolour.blogg.se

How to allow pop ups on google chrome control
How to allow pop ups on google chrome control










how to allow pop ups on google chrome control

Is there a way to do this without browser sniffing?Įdit: I have now tried making use of newWin.outerHeight, newWin.left, and other similar properties to accomplish this. I try to avoid browser sniffing in favor of feature detection.

how to allow pop ups on google chrome control

What I would like to do is be able to tell if the popup was blocked by Chrome's popup blocker. Of course, the test is working to an extent since Chrome doesn't actually block the popup, but opens it in a tiny minimized window at the lower right corner which lists "blocked" popups. The "POPUP BLOCKED" section is never reached when the popup is blocked. If(!newWin || newWin.closed || typeof newWin.closed='undefined')īut this does not work in Chrome. Here's the basic test: var newWin = window.open(url) I am aware of javascript techniques to detect whether a popup is blocked in other browsers (as described in the answer to this question).












How to allow pop ups on google chrome control