javascript - Closed tab automatically for all browser
<p>I want to closed browser tab after pop up 'Thank you' disappeared.</p>

<pre><code>&lt;script language='javascript'&gt;
alert('Thank you.'); 
window.close();
&lt;/script&gt;
</code></pre>

<p>But It didn't works. Why???</p>

<p>Please to help.</p>

<p><strong>Noted: Support for all web browser.</strong></p>

<p>Thanks</p>
