Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, 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
Solved Archived

Stop web page from asking me if really want to leave

cor-el replied
James541953

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?

All Replies (1)

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.