I found this code and have been using this to automatically close the window…It works in Chrome flawlessly,
How can I do this in firefox? Or is there a better way to close a current window?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
it doesn’t work in FF because it’s by design.
you can only close window opened by your script. even if you may find a trick to make it work for now, but once FF patch it in the next version, your script will stop working again.
my suggestion is to alter your page design. maybe uses modal window or a
div.