搜索 | 用户支持

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

详细了解

Javascript keeps opening an alert so that I can't leave webpage or close FF.

  • 1 个回答
  • 8 人有此问题
  • 8 次查看
  • 最后回复者为 cor-el

more options

A bad JavaScript keeps open an alert so that the page is locked. Whereas Chrome includes a checkbox that prevents further alerts from the page, what does FireFox provide?

And worse, when I ctrl-alt-del-close FF, it "recovers" but reloading that same bad script and sticking it to me again.

I figure there must be some secret keystroke to fix this. What is it? Thanks.


This happened

Just once or twice

== Bad JavaScript

A bad JavaScript keeps open an alert so that the page is locked. Whereas Chrome includes a checkbox that prevents further alerts from the page, what does FireFox provide? And worse, when I ctrl-alt-del-close FF, it "recovers" but reloading that same bad script and sticking it to me again. I figure there must be some secret keystroke to fix this. What is it? Thanks. == This happened == Just once or twice == Bad JavaScript

所有回复 (1)

more options

Firefox 3.5 and later versions will automatically try to restore the tabs and windows from the last session if a crash has occurred or Firefox wasn't closed properly the previous time.

Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox. See https://wiki.mozilla.org/Session_Restore#Preferences http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes See also http://kb.mozillazine.org/Session_Restore#Firefox_keeps_crashing_after_restoring_a_session

To open the about:config page, type about:config in the location (address) bar and press the Enter key, just like you type the url of a website to open a website. If you see a warning then you can confirm that you want to access that page.