Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Gmail2 Label Hider

Allows for Labels to be hidden in the label bar

Hides all labels in Gmail interface at labels bar which name starts with x_ (e.g. x_hideme)

Idea from Ben Hengst's "Gmail Label Hider" but fixed for Gmail2

Any feedback and suggestions are highly appreciated

Current version: 1.2

Changes for 1.2: New GMail changes
Changes for 1.1: Make it working for GMail changes






Apr 21, 2008
X4lldux Scriptwright

If you dont want to rename your labels use this script http://userscripts.org/scripts/show/25209
It allows you to select from label-menu which labels you want to hide.

 
Feb 18, 2008
Eugene Schava Script's author

to goldenratio: Anything I can suggest - please try to insert debug statements like
console.info("line number 14");
after any script line and look at the firebug console after gmail loading or send log to me.

 
Feb 15, 2008
goldenratio User

Still doesn't work for me on either version of Gmail. =(

 
Feb 14, 2008
Eugene Schava Script's author

It seems script stopped working for me as well so I've fixed it. Please update

 
Feb 13, 2008
goldenratio User

Hmm... I also have "pvSW6e" for DIV and
"H7Bo8e" for TABLE.

I've now tested this on my personal Gmail and my work Gmail (i.e., hosted on Google Apps for your Domain). Both have the same DIV/TABLE values but the script isn't working on either one.

Any other ideas? Thanks for your help.

 
Feb 13, 2008
Eugene Schava Script's author

to goldenratio: Open Firebug, select Console tab
Click on Inspect button and select any label.
In DOM window you will see some selected DIV element. Find parent TABLE element (after one more DIV, TD, TR and TBODY). Please post here class attribute of this table. Also please post class of DIV parent for TABLE (I have "pvSW6e" for DIV and
"H7Bo8e" for TABLE)

Thank you!

 
Feb 13, 2008
goldenratio User

This doesn't work for me either. I just installed Firebug. What info do you need from me?

My code-fu is weak but I suspect it's this line that is different among Gmail users:

var labelsTableXpath = "//table[@class = 'H7Bo8e']";

How do I use Firebug to find the proper class name?

 
Feb 12, 2008
Eugene Schava Script's author

to ifieatturkey: Are you using Firebug? If so - let's try to make it working

 
Feb 11, 2008
ifieatturkey User

This doesn't seem to work for me!

You could comment on this script if you were logged in.