Detect blocked pop-up in Chrome

Posted by Flash84x on Stack Overflow See other posts from Stack Overflow or by Flash84x
Published on 2010-04-08T23:33:50Z Indexed on 2010/04/09 0:03 UTC
Read the original article Hit count: 702

Filed under:
|
|

Ok so I am using Chromium for Ubuntu 9.10 and cannot get this working using the normal means of detecting a pop-up blocker which are...

var popup = window.open(...);
var blocked;
if(!popup) {
    blocked = true;
} else {
    blocked = false;
}

Also, the accepted solution in this SO post, http://stackoverflow.com/questions/668286/detect-blocked-popup-in-chrome, does not work.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about popup