title: Prevent onbeforeunload from being called when clicking on mailto link
body: <p>Is there anyway to prevent onbeforeunload from being called when clicking on mailto link in chrome.
  In FF, Safari, IE it is working fine.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;
          google.load("jquery", "1.3.2");
      &lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
          $(document).ready(function(){
              window.onbeforeunload = confirmExit;
          });
  
          function confirmExit() {
              return "Are you sure?";
          }
      &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;a href="mailto:someone@somewhere.com?subject=test mail&amp;body=Hello%20World"&gt;Mail Link&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>