Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

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

  • 2 respostas
  • 21 têm este problema
  • 3 visualizações
  • Última resposta por 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.

Todas as respostas (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: