title: Opening Popup from website without Popup Blocker catching it
body: <p>i have a strange query, i want to open a new window (a popup), when the browser/tab is closed using asp.net, Jquery, but i want to bypass the popup blocker which blocks the window, can anyone help me with this, how can i open a popup when user closes the browser/tab, or any other alternatives which can help me achieve the same. the main problem is i want to ignore the popup blocker. on one the <a href="https://stackoverflow.com/questions/9514698/bypass-popup-blocker-on-window-open-when-jquery-event-preventdefault-is-set">SO Post</a></p>
  
  <p>i read the below example could help:</p>
  
  <pre><code>jQuery(function($) {
    // This version does work, because the window.open is
    // during the event processing. But it uses a synchronous
    // ajax call, locking up the browser UI while the call is
    // in progress.
    $("#theButton").click(function(e) {
      e.preventDefault();
      $.ajax({
        url:      "http://jsbin.com/uriyip",
        async:    false,
        dataType: "json",
        success:  function() {
          window.open("http://jsbin.com/ubiqev");
        }
      });
    });
  });
  </code></pre>
  
  <p>i replaced the click event with <code>$(window).unload</code> but that too didnt helped. the popup does not opens, but when i remove <code>e.preventDefault();</code> the popup opens, but require the popup-blocker be enabled.</p>