Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

How can I disable the built-in Firefox nag screen that websites can abuse to annoy me?

  • 2 απαντήσεις
  • 7 έχουν αυτό το πρόβλημα
  • 4 προβολές
  • Τελευταία απάντηση από DeathAndPain

more options

Hello everyone,

When I leave some web pages, a window pops up that says: "This site asks you to confirm that you want to leave. Any data you have entered may not be saved." (not literally; I translated the message from the German Firefox version but assume that it also exists in the English original)

This modal message window is identical no matter which web site opens it, so apparently it is not part of the actual web site, but part of Firefox itself (besides the fact that web sides cannot open modal Windows due to regular popups being blocked). It seems that web sites can set some sort of flag to indicate that this question should be posed in case the user simply closes the page, and Firefox heeds it.

Trouble is, most pages that use it are some sorts of advertisements, and either way, I know what I am doing. If I close a tab or the whole browser, then I mean it, so to me, this is but an annoying nag screen. How can I make Firefox stop displaying this for good?

Hello everyone, When I leave some web pages, a window pops up that says: ''"This site asks you to confirm that you want to leave. Any data you have entered may not be saved."'' (not literally; I translated the message from the German Firefox version but assume that it also exists in the English original) This modal message window is identical no matter which web site opens it, so apparently it is not part of the actual web site, but part of Firefox itself (besides the fact that web sides cannot open modal Windows due to regular popups being blocked). It seems that web sites can set some sort of flag to indicate that this question should be posed in case the user simply closes the page, and Firefox heeds it. Trouble is, most pages that use it are some sorts of advertisements, and either way, I know what I am doing. If I close a tab or the whole browser, then I mean it, so to me, this is but an annoying nag screen. How can I make Firefox stop displaying this for good?

Όλες οι απαντήσεις (2)

more options

That is done via an onbeforeunload or onunload event that displays a JavaScript alert.

You can try to search for a Greasemonkey script to reset and block such events.

more options

Unfortunately I know nothing about Greasemonkey or how to use it. Is there any solution that does not require being an expert? I would even call this a vulnerability if Firefox can this easily be triggered to display abuse windows.