Skip to content

tcowley/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. Tabs belonging to a collapsed tab group are ignored.
  • You can toggle tab numbering for all tabs or current tab via keyboard shortcuts or extension context menu.

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. Clone this repository
  2. Go to the cloned directory
  3. Execute npm install
  4. Create a branch
  5. Edit source codes
  6. Lint the source codes: make lint
  7. (Fix lint errors and retry executing make lint)
  8. Format the source codes: make fix
  9. Create a pull request

How to Release

  1. Update the version: make update-major, make update-minor, or make update-patch
    • Check a new release and its release notes on Releases
  2. Execute make zip
  3. Upload the built zip file to 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

Q. Tab number isn't shown if the tab is a PDF document; is this a bug in this extension?

A. No, it is a limitation. If the current page is a PDF, document.title returns "" for a PDF document. So this extension is disabled for avoid unintentional loss of the title.

About

A Chromium extension to show tab numbers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.5%
  • Shell 24.4%
  • Makefile 13.1%