Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Is there a way to block tab-locking dialog boxes?

  • 2 відповіді
  • 22 мають цю проблему
  • 1 перегляд
  • Остання відповідь від cor-el

more options

Certain pages on the web will not let you leave their page without pressing buttons on a dialog box.

When you attempt to close a tab that is displaying this page, the dialog box appears. It may say "Are you sure you want to close this page?", or it may say something more complex. If you click on CANCEL, you stay on the page; if you click on OK, it allows Firefox to close the tab.

The problem is that I do not want to click on _any_ button on a page I don't trust. But if I don't, I cannot close the tab. I can't even exit Firefox.

MY CURRENT WORK-AROUND: Use Task Manager to kill the Firefox process. Restart Firefox... which automatically re-opens all my previous tabs, including the one with the problem, so it locks again. Use Task Manager to kill Firefox again. Restart Firefox again ... this time, it allows me to de-select that specific page.

I was going to paste a .jpg of the dialog box but this forum doesn't seem to allow that.

Certain pages on the web will not let you leave their page without pressing buttons on a dialog box. When you attempt to close a tab that is displaying this page, the dialog box appears. It may say "Are you sure you want to close this page?", or it may say something more complex. If you click on CANCEL, you stay on the page; if you click on OK, it allows Firefox to close the tab. The problem is that I do not want to click on _any_ button on a page I don't trust. But if I don't, I cannot close the tab. I can't even exit Firefox. MY CURRENT WORK-AROUND: Use Task Manager to kill the Firefox process. Restart Firefox... which automatically re-opens all my previous tabs, including the one with the problem, so it locks again. Use Task Manager to kill Firefox again. Restart Firefox again ... this time, it allows me to de-select that specific page. I was going to paste a .jpg of the dialog box but this forum doesn't seem to allow that.

Усі відповіді (2)

more options

Those sites rely on JavaScript to display the dialog boxes. You can use the NoScript add-on which blocks JavaScript for all sites unless you specifically allow it.

When you first use NoScript it can take a little while to set it up to allow JavaScript on the sites you visit regularly and trust, but it does lead to a safer browser.

more options

You can 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