Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How to prevent the "are you sure you want to leave this page?" prompt on Facebook?

  • 2 件の返信
  • 7 人がこの問題に困っています
  • 85 回表示
  • 最後の返信者: DJSigma

more options

I'm using Firefox 35.0.1. If I make a post on my Facebook timeline that contains a link, when I hit "Post" and the page goes to refresh to add my post to my timeline, it asks if I'm sure I want to leave the page. I've seen that messages on some sites before, for example, if I'm on a forum and I write a post and go to leave the page before hitting submit, it'll ask me that, but I've never seen it on Facebook until a couple of days ago.

Is there any way to turn this message off? Or even better, can it be turned off just on Facebook? Thanks.

I'm using Firefox 35.0.1. If I make a post on my Facebook timeline that contains a link, when I hit "Post" and the page goes to refresh to add my post to my timeline, it asks if I'm sure I want to leave the page. I've seen that messages on some sites before, for example, if I'm on a forum and I write a post and go to leave the page before hitting submit, it'll ask me that, but I've never seen it on Facebook until a couple of days ago. Is there any way to turn this message off? Or even better, can it be turned off just on Facebook? Thanks.

選ばれた解決策

hi DJSigma, to my knowledge you can only disable that behaviour globally: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named dom.disable_beforeunload. double-click it and change its value to true...

この回答をすべて読む 👍 9

すべての返信 (2)

more options

選ばれた解決策

hi DJSigma, to my knowledge you can only disable that behaviour globally: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preference named dom.disable_beforeunload. double-click it and change its value to true...

この投稿は philipp により に変更されました

more options

Thanks, philipp! I guess Facebook must have made some changes to their code, but I'll make the change you suggested and see how it goes.