javascript to close firefox browser
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4537203/how-to-close-window-in-firefox-using-javascript">How to close window in firefox using javascript?</a>  </p>
</blockquote>



<p>i want to close the main <code>Firefox</code> browser window that a user is browsing my site to close automatically using JS. </p>

<p>i came to know that setting <code>dom.allow_scripts_to_close_windows = true</code> in <code>C:\Program Files\Mozilla Firefox\greprefs\all.js</code> will allow this. Please let me know if it is possible to ovrwirte this value using our <code>Javascript</code>. </p>
