Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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.

  • 1 reply
  • 3 have this problem
  • 8 views
  • Last reply by guigs

more options

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.

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:


  1. Click the menu button New Fx Menu, click help Help-29 and select Troubleshooting Information.Now, a new tab containing your troubleshooting information should open.
  2. At the top right corner of the page, you should see a button that says "Reset Firefox"Button reset. Click on it.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. 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 👍 0

All Replies (1)

more options

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:


  1. Click the menu button New Fx Menu, click help Help-29 and select Troubleshooting Information.Now, a new tab containing your troubleshooting information should open.
  2. At the top right corner of the page, you should see a button that says "Reset Firefox"Button reset. Click on it.
  3. Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
  4. 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 by guigs