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.

Buscar en Ayuda

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

cant get out of website

more options

Website wont close, "are you sure you want to leave this page" comes up. I click yes and it doesnt respond.

Website wont close, "are you sure you want to leave this page" comes up. I click yes and it doesnt respond.

Solución elegida

This is a new scam, the site is designed to ask that question incessantly until you give up.

Most users end up killing the browser in the Windows Task Manager. At that point, if you restart normally, Firefox will try to load your previous tabs and windows, bringing back the problem. It's frustrating.


I've heard of two workarounds to break the cycle:

  1. Disable JavaScript or
  2. Change the post-crash behavior to present a list of tabs instead of loading them all automatically

Disable JavaScript

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

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

(3) Double-click the javascript.enabled preference to switch it from true to false.

This may or may not affect the already open tab, but when you kill Firefox and restart it, the scripts that prevent you from closing that tab should not be able to run. After closing it, you can go back into about:config and turn JavaScript back on.

Change Post-Crash Startup setting

(A) In the 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.


Also, please see this thread for more information and a longer-term workaround:

Leer esta respuesta en su contexto 👍 0

Todas las respuestas (1)

more options

Solución elegida

This is a new scam, the site is designed to ask that question incessantly until you give up.

Most users end up killing the browser in the Windows Task Manager. At that point, if you restart normally, Firefox will try to load your previous tabs and windows, bringing back the problem. It's frustrating.


I've heard of two workarounds to break the cycle:

  1. Disable JavaScript or
  2. Change the post-crash behavior to present a list of tabs instead of loading them all automatically

Disable JavaScript

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

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

(3) Double-click the javascript.enabled preference to switch it from true to false.

This may or may not affect the already open tab, but when you kill Firefox and restart it, the scripts that prevent you from closing that tab should not be able to run. After closing it, you can go back into about:config and turn JavaScript back on.

Change Post-Crash Startup setting

(A) In the 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.


Also, please see this thread for more information and a longer-term workaround: