title: Blocking Popups from same domain
body: <p>I am using JavaScript code to check if users browser has popup blocker enabled or disabled which is working fine in all the browser except in IE. IE doesn't seem to be blocking the popups opened from same domain. Any suggestions?</p>
  
  <pre><code>var popUpStr;
  var popUp = window.open("Name of popup which has same domain as the main windown", "", 'width=150, height=150, left=24, top=24, scrollbars, resizable');
  if (popUp === null || typeof (popUp) == 'undefined' || typeof (popUp.location.hash) != "string" || (popUp === null &amp;&amp; popUp.outerWidth === 0) || (popUp !== null &amp;&amp; popUp.outerHeight === 0)) {
      popUpStr = 'Popup Blocker is enabled';
  } else {
      popUp.close();
      popUpStr = 'Popup Blocker is not enabled';
  }
  </code></pre>