you are in: codestackercodes [RSS]detecting popup blockers

detecting popup blockers Delicious Email

show/hide lines
   1  var win = window.open(...);
   2  if(win == null || typeof(win) == "undefined" || (win == null && win.outerWidth == 0) || (win != null && win.outerHeight == 0) || win.test == "undefined") {
   3  // popup blocked :(
   4  }
created by leozera — 17 November 2011 — get a short url — tags: javascript popup embed

Comments



We dont send spam :)

If checked, it's highlights your comment
simple_captcha.jpg
Are you a human? Type the code from the image