Prevent Closing Window

Prevent Closing Window

Displays the "Leave Page" prompt to avoid accidentally closing the current window. **BUG** To allow Firefox to shut down, click Stay on page and the Close This Tab button before you exit.

  • Prevent Closing Window
  • Prevent Closing Window
What is Prevent Closing Window?
Prevent Closing Window is a Firefox add-on that adds a tab to regular and private windows, prompting for approval before closing the window when clicking the X button.
Users: 49 ▼ -1
Rating: 3.70 (10)
Version: 1.0 (Last updated: 2020-09-19)
Creation date: 2019-01-05
Weekly download count: 2
Firefox on Android: No
Risk impact: Moderate risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
  • menus
  • tabs
  • storage
Size: 42.70K
URLs: Website
Stats date:

Other platforms

Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Firefox Browser Add-ons.
Chrome-Stats extension

Adds a tab to a regular window and to a private window. To prevent closing the window when clicking the X button, use one of the Activate Protection options. Then Firefox should ask your approval before closing.

To add the Keep Open tab only in regular windows, or only in private windows, or in all windows, use the Options tab for the extension on the Add-ons page.

User reviews
The Extension Works But It's Annoying That The Tab Auto Opens In The Startup And When You Open A New Tab In A Second Window
by Seikikai, 2024-05-29

Installed this to work with Keevault password manager. It stops logging out of KeeVault unless needed. I created a html launcher to open KeeVault and a blank page when I first open firefox so my logins are ready for use.

This plugin requires you to have an open tab dedicated to it in every window you open. It doesn't work without that tab. When you open a new window, this plugin can open a new tab, which covers up your new tab page. Noble effort, but too many sacrifices to be useful.
View all user reviews
Risk impact

Prevent Closing Window may not be safe to use and it requires some risky permissions. Exercise caution when installing this add-on. Review carefully before installing.

Risk likelihood

Prevent Closing Window has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details