# Tab Lock (Ask before closing)

> Lets you lock a tab,so that it asks for confirmation before you close it.

Canonical page: [https://chrome-stats.com/d/tab-lock-ask-before-closing](https://chrome-stats.com/d/tab-lock-ask-before-closing)

## Overview

- **ID:** `tab-lock-ask-before-closing`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** ts
- **Category:** tabs
- **Daily users:** 47
- **Weekly downloads:** 7
- **Rating:** 5.00 / 5 (2 ratings)
- **Version:** 0.1
- **Last updated:** 2024-11-12
- **First published:** 2024-11-12
- **Size:** 21 KB
- **Data as of:** 2026-09-14
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/tab-lock-ask-before-closing/)
- **Website:** [https://github.com/tascofield/lock-tab](https://github.com/tascofield/lock-tab)

## Description

You can right click on a tab, and check "Lock this tab". If this is enabled, the tab will show a confirmation popup if you try to close it. This can be useful if you often find yourself accidentally clicking links off a page, and losing whatever was previously on the page once you go back (because the content of the page changes after every reload).

The confirmation mechanism seems to only work for a tab that you have clicked inside of at least once. There doesn't seem to be a way for me to fix this.

## Rankings

- #16,733 — Overall
- #131 — close

## Permissions and access

### Permissions

- `tabs`
- `menus`
- `scripting`
- `<all_urls>`

### Content script matches

- `<all_urls>`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Low risk likelihood

### Analysis details

- Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Tab Lock](https://chrome-stats.com/d/tab-lock) — 63 users, 5.00 / 5
- [Tab Close Confirmation](https://chrome-stats.com/d/tab-close-confirmation) — 1 users
- [Page Lock](https://chrome-stats.com/d/page-lock) — 174 users, 3.25 / 5
- [Lock Tab Page](https://chrome-stats.com/d/lock-tab-page) — 483 users, 4.07 / 5
- [Prevent Accidental Close](https://chrome-stats.com/d/prevent-accidental-close) — 1 users
- [Prevent Closing Window](https://chrome-stats.com/d/prevent-closing-window) — 63 users, 3.70 / 5
- [Tabloc](https://chrome-stats.com/d/tabloc) — 745 users, 4.05 / 5
- [Disable Tab Close](https://chrome-stats.com/d/disable-tab-close) — 235 users, 4.20 / 5
- [TST Lock](https://chrome-stats.com/d/tst-lock) — 40 users, 5.00 / 5
- [Don't Close Last Tab](https://chrome-stats.com/d/don-t-close-last-tab) — 16 users
- [Browser Lock Timer](https://chrome-stats.com/d/browser-lock-timer) — 10 users
- [Tab Privacy Lock](https://chrome-stats.com/d/tab-privacy-lock) — 1 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/tab-lock-ask-before-closing)
