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

Tab Numbers by piyush

Displays [1]-[9] in tab titles for easy Ctrl+Number keyboard navigation

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
The tab numbers prefixed when vertical tabs are enabled.The tab numbers prefixed when horizontal tabs are enabled.
About this extension
A lightweight Firefox extension that displays [1]-[9] prefixes in tab titles for easy keyboard navigation using Ctrl+Number.

Features:
✅ Clear, readable [1] Page Title format
✅ Supports tabs 1-9 (matches Firefox's Ctrl+N shortcuts)
✅ Includes pinned tabs in numbering
✅ Cross-window tab dragging support
✅ Automatically renumbers when tabs are moved, closed, or created
✅ Privacy-focused: No data collection, no network requests

Installation
From Firefox Add-ons (Recommended)

Github Repo for the code: https://github.com/piyushjain9399/firefox-tab-numbers
How It Works
The extension uses Firefox's scripting.executeScript() API to modify document.title on each tab. It listens to all tab events (created, removed, moved, attached, detached) to keep numbers synchronized.
Keyboard Shortcuts
Shortcut Action
Ctrl+1 Switch to tab 1
Ctrl+2 Switch to tab 2
... ...
Ctrl+9 Switch to tab 9

Note: These are Firefox's built-in shortcuts - the extension just makes it easier to identify which tab corresponds to which number!

Known Limitations
- Some tabs cannot display the number prefix due to Firefox's security model:
- about: pages (settings, debugging, etc.)
- moz-extension:// pages
- Firefox's built-in PDF viewer
- New Tab page
These tabs will still work with Ctrl+N shortcuts - they just won't show the [N] prefix.

Privacy
This extension:
✅ Only reads tab titles and positions
❌ Does NOT access URLs or browsing history
❌ Does NOT store any data (locally or remotely)
❌ Does NOT make any network requests

Permissions required:
tabs - Read tab titles and positions
scripting - Modify tab titles via document.title
<all_urls> - Required for scripting.executeScript() to work on web pages

Requirements
Firefox 140 or later

License
MIT License - feel free to use, modify, and distribute!

Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access browser tabs

Optional permissions:

  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Version
1.0.0
Size
16.62 KB
Last updated
4 days ago (Jan 11, 2026)
Related Categories
  • Appearance
  • Tabs
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
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 License v3.0 or any later version.