Get rid of annoying pop up
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.
Isisombulu esikhethiweyo
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.
Funda le mpendulo kwimeko leyo 👍 1All Replies (2)
Isisombululo esiKhethiweyo
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.
jscher2000 said
This isn't new, but maybe you had customized a preference before and it reverted to default.
That worked! Thanks a million.