Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 2 відповіді
  • 7 мають цю проблему
  • 916 переглядів
  • Остання відповідь від 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.