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.
under ff 2 you have to set manually under about:config
dom.allow_scripts_to_close_windows to true
then it’ll work