How to close a top safari browser using javascript?
<p>I was trying to close a <em>Safari</em> browser through: </p>

<pre><code>window.navigate("javascript:top.close()");
</code></pre>

<p>or</p>

<pre><code>function closeBrowser(){
    top.close();
}
</code></pre>

<p>They work fine in <em>IE</em>, but are not in <em>Safari</em>.</p>

<p>Could anyone give me some suggestions?</p>
