Allow Javascript to close Tab in firefox 2.0 and greater

under ff 2 you have to set manually under about:config
dom.allow_scripts_to_close_windows to true
then it’ll work


Otherwise javascipt will need to open the window to allow for it to be able to close it.

Leave a Reply

Your email address will not be published. Required fields are marked *