Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Get rid of annoying pop up

more options

Every time I search something on a certain website I get a pop up that says: "This page is asking you to confirm that you want to leave — information you’ve entered may not be saved." This has only started happening since Firefox updated and it's very annoying. I use the website for work so I don't want to stop every ten minutes to click leave page.

Every time I search something on a certain website I get a pop up that says: "This page is asking you to confirm that you want to leave — information you’ve entered may not be saved." This has only started happening since Firefox updated and it's very annoying. I use the website for work so I don't want to stop every ten minutes to click leave page.

Vald lösning

This isn't new, but maybe you had customized a preference before and it reverted to default.

That message is generated when sites have hooked into the "beforeunload" event triggered by leaving the page. (Or perhaps if an add-on injected code into the page to do that.) If you do not want ANY site to ever be able to hook into that event, there is a preference for that. But unfortunately there's no way to block it just for one site.

Global preference:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste dom.disable_beforeunload and pause while the list is filtered

(3) Double-click the preference to switch the value from false to true

More info on about:config: Configuration Editor for Firefox.

Läs svaret i sitt sammanhang 👍 1

Alla svar (2)

more options

Vald lösning

This isn't new, but maybe you had customized a preference before and it reverted to default.

That message is generated when sites have hooked into the "beforeunload" event triggered by leaving the page. (Or perhaps if an add-on injected code into the page to do that.) If you do not want ANY site to ever be able to hook into that event, there is a preference for that. But unfortunately there's no way to block it just for one site.

Global preference:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

(2) In the search box in the page, type or paste dom.disable_beforeunload and pause while the list is filtered

(3) Double-click the preference to switch the value from false to true

More info on about:config: Configuration Editor for Firefox.

more options

jscher2000 said

This isn't new, but maybe you had customized a preference before and it reverted to default.

That worked! Thanks a million.