In firefox 31 when closing the tab the window.onbeforeunload keyword it work correctly, instead when you closing browser with X it don't work.
When i use javascript to make some actions closing the browser, it only work when i close the tab, but when i close the browser with X the javascript function ended before execute all statements. In try with other browsers all work correctly.
Chosen solution
Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: This will cause you to lose any Extensions and some Preferences.
- Open websites will not be saved in Firefox versions lower than 25.
To Reset Firefox do the following:
- Click the menu button , click help and select Troubleshooting Information.Now, a new tab containing your troubleshooting information should open.
- At the top right corner of the page, you should see a button that says "Reset Firefox". Click on it.
- Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
- Firefox will open with all factory defaults applied.
Further information can be found in the Refresh Firefox - reset add-ons and settings article.
Did this fix your problems? Please report back to us!
Thank you.
Read this answer in context 👍 0All Replies (1)
Seçilmiş Həll
Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: This will cause you to lose any Extensions and some Preferences.
- Open websites will not be saved in Firefox versions lower than 25.
To Reset Firefox do the following:
- Click the menu button , click help and select Troubleshooting Information.Now, a new tab containing your troubleshooting information should open.
- At the top right corner of the page, you should see a button that says "Reset Firefox". Click on it.
- Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
- Firefox will open with all factory defaults applied.
Further information can be found in the Refresh Firefox - reset add-ons and settings article.
Did this fix your problems? Please report back to us!
Thank you.
Modified