Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

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.

Learn More

Stop web page from asking me if really want to leave

  • 1 reply
  • 3 have this problem
  • 156 views
  • Last reply by cor-el

more options

Some times i'll be trying to close a tab and I get a popup asking me if I really want to leave the page. How can I block this?

Some times i'll be trying to close a tab and I get a popup asking me if I really want to leave the page. How can I block this?

Chosen solution

You can double-click the dom.disable_beforeunload pref on the about:config page to change its value to true.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

You can double-click the dom.disable_beforeunload pref on the about:config page to change its value to true.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.