Detect blocked pop-up in Chrome
- by Flash84x
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.