為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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