This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

I get a pop up window when leaving a site asking if I am sure I want to leave, the only way to get out is kill Firefox in task mgr but FF restarts the lockup

  • 4 replies
  • 2 have this problem
  • 2 views
  • Last reply by FredMcD

more options

On some sites I get a pop up window asking if I am sure I want to leave the site. The only option is to click on the pop up, nothing else works you cannot use back or even shutdown FF. I have to shut down with task manager, but when I restart FF it goes back to the locked up page.

On some sites I get a pop up window asking if I am sure I want to leave the site. The only option is to click on the pop up, nothing else works you cannot use back or even shutdown FF. I have to shut down with task manager, but when I restart FF it goes back to the locked up page.

All Replies (4)

more options

There is a standard feature that allows pages to ask if you really want to leave the page before closing it or moving to a different URL. It is hard to know whether to trust such dialogs, but I've attached a typical one for comparison.

What is not typical is to be trapped with an incessant number of these dialogs. If you have that issue, there are a couple workarounds you could try other than killing Firefox. However, I'm not sure that is your issue.

If the problem is easy to re-create, could you post the URL(s) of the problem site(s)? If you think they might be malicious, add spaces around the periods in the host name (e.g., www . evil . com) so they can't be accidentally visited.

more options

If you want to change how Firefox starts up after a crash, you have the option to have Firefox show a list of windows and tabs. Then you can deselect the tab you do not want opened again. Here's how to change the setting:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and enter 0 (that's a zero) and click OK.

Note: Please don't customize any other sessionstore preferences to zero, or you might lose the ability to recover your closed windows and tabs.

more options

Note that you can disable JavaScript temporarily to suppress such an alert and then close the tab and re-enable JavaScript.

more options

disallow Script Button {web link} The Disallow Script button looks like a letter "M" and the title is the Minus Script, drag and drop the button on a toolbar. If the button is not displayed then nothing operates, except rules for plugins.