title: Javascript onClick not working in Safari or Chrome
body: <p>I just need a simple dialog box to let a user know they are leaving the site by clicking on a third party link. This works fine in jst about everything but Safari and Chrome. Am I doing something wrong? Here is an example of a link I am using:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="http://www.website.net" target="_blank" onClick="return confirm('You are leaving the example website!')"&gt;Sample Link&lt;/a&gt;</code></pre>
  </div>
  </div>
  </p>