Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Get rid of annoying pop up

  • 2 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от hellokimmiee

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.

Избрано решение

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.

Прочетете този отговор в контекста 👍 1

Всички отговори (2)

more options

Избрано решение

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.