We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

When on www.nytimes.com, Firefox pop-up stating "This page is asking you to confirm that you want to leave - data you have entered may not be saved." appears.

  • 7 个回答
  • 1 人有此问题
  • 16 次查看
  • 最后回复者为 poojareddy

more options

Starting this morning, whenever I click on a link on www.nytimes.com, a pop-up appears that says "This page is asking you to confirm that you want to leave - data you have entered may not be saved." and requires that I either click "Stay on Page" or "Leave Page". I have never seen this before and it only seems to happen on www.nytimes.com. Has anyone else had this issue? If so, how can I make it go away? Is there something that may have changed in Firefox Preferences with the most recent update? See attached screen shot.

Starting this morning, whenever I click on a link on www.nytimes.com, a pop-up appears that says "This page is asking you to confirm that you want to leave - data you have entered may not be saved." and requires that I either click "Stay on Page" or "Leave Page". I have never seen this before and it only seems to happen on www.nytimes.com. Has anyone else had this issue? If so, how can I make it go away? Is there something that may have changed in Firefox Preferences with the most recent update? See attached screen shot.

被采纳的解决方案

It is the website that initiates this alert in case you have entered some data in a form or text area to would be lost.

If you really want to disable this notification then you can set this pref to true on the about:config page.

  • dom.disable_beforeunload = true

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

定位到答案原位置 👍 2

所有回复 (7)

more options

See attached screen shot.

more options

Are you registered and logged in when you see that message when you logout?

more options

选择的解决方案

It is the website that initiates this alert in case you have entered some data in a form or text area to would be lost.

If you really want to disable this notification then you can set this pref to true on the about:config page.

  • dom.disable_beforeunload = true

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Thanks cor-el! That solved the problem.

more options

Does changing this in about:config affect all websites, or just NY Times'?

由RJB于修改

more options

This is a global setting, so if you disable it via about:config (dom.disable_beforeunload) then you won't be alerted on other websites where it might be useful if you accidentally close the tab.

more options

Hello,

Engineers at the NYTimes have investigated this issue and it has now been resolved. We apologize for the inconvenience!

Thanks, Pooja Reddy Product Manager at NYTimes