为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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 个回答
  • 3 人有此问题
  • 8 次查看
  • 最后回复者为 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.

被采纳的解决方案

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.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

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.

由guigs于修改