Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

How to trigger a warning pop-up when leaving/refreshing/closing a page?

  • 2 odpovede
  • 1 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od cor-el

more options

Hi guys,

Is there a setting or an add-on that triggers a warning pop-up if I want to leave/refresh/close a page in which I had been editing a form?

It would be great if this could be switched on for specific domains only, but it would already be helpful to just switch this feature on in general. I‘m working with a website where many times information gets lost because page is left by accident.

I haven‘t found a solution so far. Thanks very much in advance!

Hi guys, Is there a setting or an add-on that triggers a warning pop-up if I want to leave/refresh/close a page in which I had been editing a form? It would be great if this could be switched on for specific domains only, but it would already be helpful to just switch this feature on in general. I‘m working with a website where many times information gets lost because page is left by accident. I haven‘t found a solution so far. Thanks very much in advance!

Všetky odpovede (2)

more options

Hi philippwr, I'm not sure about a warning pop-up but, have you tried Pinning the tab?

Right click on the tab and select Pin Tab

Here's more information:

Pinned Tabs - keep favorite websites open and just a click away https://support.mozilla.org/en-US/kb/pinned-tabs-keep-favorite-websites-open

more options

Some website do this via an onbeforeunload event (about:config -> dom.disable_beforeunload = true), but you can't add this for other website.

There are extensions that can backup data you typed, so maybe look for such a workaround to prevent losing what you typed in case you accidentally close a tab and "History -> Recently Closed Tabs" doesn't help.