This style was deleted by its author, okdana@userstyles

okdana@userstyles deleted this style

Try Gmail: Misc. clean-up instead of this deleted style.

See more styles for Google

Gmail: hide individual labels from Labels menu

Added by okdana@userstyles, Created: Feb 07, 2011, Updated: Feb 07, 2011
No screenshot

Description:

Sometimes i want to have a label in Gmail that is ONLY applied by filters — never (or very rarely) by hand. Naturally there is little benefit to having these labels cluttering up my Labels menu, then. This is a very simple style that will hide individual labels from that menu.

It requires a tiny bit of modification, but it's quite simple. All you have to do is count your labels. The first label at the top is 1, the one below it is 2, and so on. In order to hide the top/first label, use the nth-child(1) selector (as included in the style). In order to hide the 9th label from the top, use nth-child(9), and so on.

This may not be a good solution if you are frequently adding/deleting labels, since obviously doing so will change the numbering.

(A GreaseMonkey script could make this more flashy and automated, but it seems like over-kill.)

Installs:
Applies to:
mail.google.com
License:
CC0 1.0 Universal.
okdana@userstyles has waived all copyright and related or neighboring rights to Gmail: hide individual labels from Labels menu, to the extent allowed by law.

Related styles:

WARNING: This webware is not functioning properly. Please enable javascript in your browser and try again.