We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

How do I stop web page from asking me if really want to leave

  • 4 odpowiedzi
  • 0 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od cor-el

more options

This page [Old question on subject] apparently no longer works as that parameter is TRUE on my system. This one [Using greasemonkey script] doesn't sound encouraging. I don't want to break the china to fix the cabinet door.

I also saw one posting about adding to a Vue script but writing that is not my idea of a solution. Any better suggestions?

Thanks.

This page [[https://support.mozilla.org/en-US/questions/1067058 Old question on subject]] apparently no longer works as that parameter is TRUE on my system. This one [[https://support.mozilla.org/en-US/questions/964820 Using greasemonkey script]] doesn't sound encouraging. I don't want to break the china to fix the cabinet door. I also saw one posting about adding to a Vue script but writing that is not my idea of a solution. Any better suggestions? Thanks.

Zmodyfikowany przez cor-el w dniu

Wszystkie odpowiedzi (4)

more options

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or userChrome.css is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window

You can try Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.

more options

I tested on Reddit, which is the main site I notice where once you start typing a comment, if you decide to leave the page, you get that message. It uses the standard mechanism which generates the standard message:

Setting the dom.disable_beforeunload preference to true works for me on Reddit, in that I do not get the prompt and Firefox just immediately leaves the page.

Are you getting that overlay, or something different/custom?

more options

@jscher2000, that is similar but it simply says "Log out of [site name]?" I guess they are not sure that if I hit the logout button, I really want to do it. It's not like anything is left if I do so

@corel, I'll try that when I have a chance. It's a pain to have instructions on a sit that disappears when you follow the instructions. Means I have to PDF print the page to save it while I'm trying it. I'll see if that give me a clue to the problem.

more options

If this only happens if you click the logout button and not when you leave or close the tab then it is likely that this alert comes from the website and there is not much that you can do.