tab-numbering icon indicating copy to clipboard operation
tab-numbering copied to clipboard

Numbers on every tab, not only first ones

Open leet0rz opened this issue 5 years ago • 8 comments

Title, pls make it so that there are numbers on all of them :)

leet0rz avatar Sep 16 '18 01:09 leet0rz

I would like to second this request. This feature would be useful when used with extensions like tridactyl that allow switching to an arbitrary tab by number.

micgro42 avatar Oct 12 '18 14:10 micgro42

@micgro42 If you use Tridactyl and its native messenger, you can use :guiset tabs count and then :restart in order to have numbers inserted in your tabs like this: screenshot_2018-11-06-02 31 20

If you don't want to run the native messenger, know that we do this just by inserting the following lines in your userChrome.css thus you can do it manually :)

tabs {
  counter-reset: tab-counter;
}

.tab-label::before {
  counter-increment: tab-counter;
  content: counter(tab-counter) " - ";
}

glacambre avatar Nov 06 '18 01:11 glacambre

I use firefox, can it be done in firefox?

On Tue, Nov 6, 2018 at 2:36 AM glacambre [email protected] wrote:

@micgro42 https://github.com/micgro42 If you use Tridactyl and its native messenger, you can use :guiset tabs count and then :restart in order to have numbers inserted into them like this: [image: screenshot_2018-11-06-02 31 20] https://user-images.githubusercontent.com/11534587/48037346-1895fb00-e16c-11e8-92ae-a9da38b8869d.png

If you don't want to run the native messenger, know that we do this just by inserting the following lines in your userChrome.css and thus you can do it manually :)

tabs { counter-reset: tab-counter; } .tab-label::before { counter-increment: tab-counter; content: counter(tab-counter) " - "; }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tuomassalo/tab-numbering/issues/3#issuecomment-436100175, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab0tmL2Txqb8sEUQTEkqIKxD2wzGddo5ks5usOeBgaJpZM4Wqngv .

leet0rz avatar Nov 06 '18 07:11 leet0rz

@asdf337 Yes! First you need to find your firefox profile directory (named "root directory" in the about:profiles page). In this profile directory, create a folder named "chrome" if it doesn't exist. Then, inside this "chrome" folder, create a file named "userChrome.css" if it doesn't exist and add the snippet I showed in my previous comment to this file. Then restart Firefox and your tabs should be numbered.

glacambre avatar Nov 06 '18 17:11 glacambre

Where is that? Root directory in profiles?

On Tue, Nov 6, 2018 at 6:04 PM glacambre [email protected] wrote:

@asdf337 https://github.com/asdf337 Yes! First you need to find your firefox profile directory (named "root directory" in the about:profiles page). In this profile directory, create a folder named "chrome" if it doesn't exist. Then, inside this "chrome" folder, create a file named "userChrome.css" if it doesn't exist and add the snippet I showed in my previous comment to this file. Then restart Firefox and your tabs should be numbered.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tuomassalo/tab-numbering/issues/3#issuecomment-436329748, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab0tmCBx8DgGgp2XMQdpBRNLNQu6hd6zks5uscEegaJpZM4Wqngv .

leet0rz avatar Nov 07 '18 10:11 leet0rz

That even works without the addon, cool! is this an option in firefox now? Is it possible to turn this on in firefox itself without having to code it like this?

On Wed, Nov 7, 2018 at 11:31 AM AA AA [email protected] wrote:

Where is that? Root directory in profiles?

On Tue, Nov 6, 2018 at 6:04 PM glacambre [email protected] wrote:

@asdf337 https://github.com/asdf337 Yes! First you need to find your firefox profile directory (named "root directory" in the about:profiles page). In this profile directory, create a folder named "chrome" if it doesn't exist. Then, inside this "chrome" folder, create a file named "userChrome.css" if it doesn't exist and add the snippet I showed in my previous comment to this file. Then restart Firefox and your tabs should be numbered.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tuomassalo/tab-numbering/issues/3#issuecomment-436329748, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab0tmCBx8DgGgp2XMQdpBRNLNQu6hd6zks5uscEegaJpZM4Wqngv .

leet0rz avatar Nov 07 '18 10:11 leet0rz

is this an option in firefox now?

This has been possible for a very long while :).

Is it possible to turn this on in firefox itself without having to code it like this?

No, it isn't unfortunately.

glacambre avatar Nov 07 '18 17:11 glacambre

Moved to https://gitlab.com/jtagcat/tab-numbering/issues/2

jtagcat avatar Feb 17 '20 08:02 jtagcat