Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Disable Tab Close

Disable Tab Close by zupffwhy

Automatically restore closed tab. Prevent accidental closing of tabs.

4.2 (5 reviews)4.2 (5 reviews)
180 Users180 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Context MenuConfirmation dialog
About this extension
Add-ons cannot prevent tabs from being closed. This add-on restores a tab as soon as it is closed. This causes a page reload. The tab ID will change to a new one. The session information attached to the tab disappears. As a result, add-ons that depend on them may not work properly.

This add-on can only recover it if only one tab is closed. If multiple tabs are highlighted and closed at the same time, they cannot be restored correctly. It may not be possible to recover properly due to a bug in Firefox.

In addition, the add-on can display a dialog box on a web page when a user attempts to close a tab, asking the user to confirm whether to close the tab. However, this feature displays a dialog box not only when you try to close a tab, but also when you try to navigate to another page. For this reason, this feature is less versatile, but may be useful for tabs that never leave from a particular page. For this to work, you have to do something with the page after it is displayed. For example, click once on the page with the mouse. If no operation is performed, the dialog box will not be displayed. This feature does not work on special pages such as addons.mozilla.org and about:*.

Tabs that you want to prevent accidentally closing must be specified in advance. It can be specified using the context menu or shortcut keys. To set shortcut keys, go to about:addons -> ⚙️ Gear icon -> Manage Extension Shortcuts.

Tags: Lock Tab Page

I invite you to explore and help me translate this add-on in Crowdin.

Please make a donation through Kampa!, Amazon (recipient Email: heyxedjn@kampa.me, You can donate a minimum of 15 yen (15 cents)) or PayPal.Me.
Developer comments
Bitcoin donations are also welcome: 1KMyBNyvVtnHn9iTT7YSCYzaWQA4WPFb8x
Rated 4.2 by 5 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
4
4
0
3
0
2
0
1
1
Read all 5 reviews
Permissions and dataLearn more

Required permissions:

  • Monitor extension usage and manage themes
  • Access recently closed tabs
  • Access browser tabs
  • Access your data for all web sites
More information
Add-on Links
  • Homepage
Version
1.2025.314.0
Size
26.73 kB
Last updated
5 months ago (14 Mar 2025)
Related Categories
  • Tabs
Licence
All Rights Reserved
Version History
  • See all versions
Tags
  • google
  • search
Add to collection
Report this add-on
Support this developer

The developer of this extension asks that you help support its continued development by making a small contribution.

Contribute now

Release notes for 1.2025.314.0
Taiwanese translation by <a href="https://crowdin.com/profile/haer0248">猫又おにぎり (haer0248) – Crowdin</a>
More extensions by zupffwhy
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.