Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Gmail Label Hider
Allows for Labels to be hidden in the label bar
Gmail Label Hider: v0.02
Ben Hengst
ben.hengst+glh@gmail.com
This script will hide any label that you rename to begin with 'x_' so for instance if you have a label of 'TEST' and rename it to 'x_TEST' then you will not see it in the label bar on the side of the Gmail interface.
KNOWN ISSUES:
> Currently your labels can not contain certin charicters:
{}
[]
()
(space)
.
> You must refresh the entire page after you change the names of your labels.
RESOURCES USED:
> http://diveintogreasemonkey.org/toc/index.html
> http://www.devguru.com/Technologies/ecmascript/...
> http://www.regular-expressions.info/javascript....
> http://greasemonkey.mozdev.org/authoring.html
CHANGE LOG:
> v0.02 Fixed issue with Google changeing location of the label name
> v0.01 Inital release
LICENSE:
|
|
This worked for a while with Gmail2, but apparently Google updated Gmail once more, and now this script no longer works for me. My code-fu is weak but I suspect it's this line that is different among Gmail users: target.src.className == 'qn0D4e' How do I find the proper class name for my Gmail client? |
|
|
It's a great script but it doesn't work with Gmail2 for me. So I've created my version at http://userscripts.org/scripts/show/22635 |
|
|
howdy all, sorry it's taken me so long to update to match Gmail2.0. v0.03 of GLH now should match up with Gmail2.0. |
|
|
Please update! It's a great script! |
|
|
I wrote a script based on this one, called Gmail Label Hider (pref-based, at http://userscripts.org/scripts/show/11774 . It works by asking you which labels you want to hide, so you don't need to have your labels named with any particular prefix. |
|
|
doesn't appear to work with # either (which means that label coloring isn't compatible). |
|
|
Britne: sorry that you couldn't get it to work, can you explain a bit more on how you were running things? |
|
|
couldn't get this to work. now back to unlabelling 30+ labels that now have "x_" in front of them... |
|
|
Leonardo: good idea, I'll see what I can whip up for you. |
|
|
Shruti: yes you can just search for label:x_LABEL as your labels are still there. Thanks for playing around with the script. |
|
|
What happens when you want to search for that label? Do you have to type label:x_LABEL or label:LABEL? |
|
|
Hi, I was looking for a script like Gmail Labels Hider for a long time and I'm glad you did such a great work. I'd like to suggest you a link "Show All" next to "Edit Labels" which would show all labels. |
You could comment on this script if you were logged in.
