Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Get rid of annoying pop up

  • 2 ответа
  • 1 имеет эту проблему
  • 418 просмотров
  • Последний ответ от 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.