simple javascript close window, no jquery or any other framework
<p>I'm trying to write a simple javascript(no jquery or any other framework) which should automatically close the browser window or tab (if it's open in a tab). I found a lot of examples over the internet but I couldn't find a reliable solution( some of them don't work with IE) . If it's not possible to close the window directly without the client action a simple link to click on would be good too . So far I have this 
</p>

<pre><code>&lt;a href="javascript: self.close()"&gt;Close Window&lt;/a&gt;
</code></pre>

<p></p>
