Skip to content

kg8m/chrome-show-tab-numbers

Repository files navigation

MIT License checks

chrome-show-tab-numbers

A Chromium extension to show tab numbers.

Screenshot

Notable features:

  • This extension supports Google Chrome’s collapsed tab group feature, automatically ignoring tabs in a collapsed tab group.
  • You can toggle tab numbering for all tabs or just the current one via keyboard shortcuts or the extension’s context menu.
  • Tab numbers can be relative, displaying the current tab’s absolute number and indicating the position of other tabs relative to it ― how many tabs they are ahead or behind the current one.

How to Install

From Chrome Web Store

https://chrome.google.com/webstore/detail/pflnpcinjbcfefgbejjfanemlgcfjbna

From Source

  1. Download (and unzip) this repository
  2. Open the extensions of your browser
  3. Enable “Developer mode”
  4. Click “Load unpacked”
  5. Select the downloaded directory

How to Develop

  1. Fork this repository
  2. Clone your forked repository
  3. Go to the cloned directory
  4. (Create a branch)
  5. Run npm install
  6. Make changes to the source code
  7. Lint the code: make lint
  8. (Fix lint errors and rerun make lint)
  9. Format the code: make fix
  10. Create a pull request

How to Release

  1. Update the version: make update-major, make update-minor, or make update-patch
    • A new release and its release notes will be generated automatically. Review them on the Releases page
  2. Run make zip to build a zip file
  3. Upload the built zip file to the Chrome Web Store and publish it

Q&A

Q. Keyboard shortcuts don’t work on Vivaldi; is this a bug in this extension?

A. No, it is Vivaldi’s bug. As a workaround, changing the shortcut to Global will solve the issue.

cf. https://forum.vivaldi.net/topic/75247/extensions-keyboard-shortcuts-don-t-work/115

That is a known issue that can be fixed by changing the shortcut from In Vivaldi to Global.

This can have some side effects if you use the same shortcut in other programs, so it might be helpful to also take a look at this workaround: https://forum.vivaldi.net/topic/69541/guide-make-extension-keyboard-shortcuts-work-windows-10-11