Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

"Are you sure you want to Leave this page" message

  • 2 réponses
  • 21 ont ce problème
  • 3 vues
  • Dernière réponse par cor-el

more options

When attempting to close a tab, I get the "Are you sure you want to leave this page" message and a OK button and a cancel button. I would like to be able to close any page without seeing this message. If I click to close a page or tab containing a page, then I would like it to close without this message appearing. Please help.

When attempting to close a tab, I get the "Are you sure you want to leave this page" message and a OK button and a cancel button. I would like to be able to close any page without seeing this message. If I click to close a page or tab containing a page, then I would like it to close without this message appearing. Please help.

Toutes les réponses (2)

more options

Without a specific example I'm speculating a bit here...

Most browsers allow pages to detect when the user is leaving the page and run a script before leaving (using the beforeunload event). It's useful in some cases, for example, where the page lets you edit something and you never saved your edit.

You might be able to block scripts from hooking into that event (I'm not sure it's possible, but there's probably a way), but you might not be able to block it in one certain circumstances, e.g., going Back versus loading another page in the same tab versus closing the tab.

more options

If you get it all the time then you may have caught malware or a Firefox extension.


Do a malware check with some malware scanning programs on the Windows computer.
You need to scan with all programs because each program detects different malware.
Make sure that you update each program to get the latest version of their databases before doing a scan.

You can also do a check for a rootkit infection with TDSSKiller.

See also: