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

Gmail Label Hider (pref-based)

Hide certain Gmail labels

How to Use

Instructions

Right-click on the Greasemonkey monkey-face to access the "User Script Commands" menu. Select the "Set list of Gmail labels to hide" menu item.

At the prompt, type in the list of Gmail labels you want to hide, separated by the "|" (pipe) character.

Example

MyLabel|AnotherLabel|Drafts|Starred|YetAnotherLabel

About

Known Bugs

  1. Sometimes the labels don't hide themselves when you open a message. I haven't yet investigated why this is happening.

Changelog

v1.3
made label names case-insenstive ("drafts" and "Drafts" are the same)
v1.2
added ability to hide non-label things like Starred, Drafts, etc.
v1.1
added "Show All" and "Hide Some" toggle links
v1.0
initial release

Credits & License

Based on Ben Hengst's Gmail Label Hider (v0.02) and thus released under the GPL2 license.




Apr 21, 2008
X4lldux Scriptwright

I've made another Gmail2 version, also pref-based and easier to use! http://userscripts.org/scripts/show/25209
It allows you to select from label-menu which labels you want to hide.

 
Feb 11, 2008
Eugene Schava Scriptwright

I've created my version of such script for Gmail2 which hides labels with name started with x_
at http://userscripts.org/scripts/show/22635
If you want to implement pref-based labels - please notify me

 
Dec 30, 2007
Robds User

Please update to Gmail 2.0...this was one of the best scripts for gmail ever!!

 
Nov 16, 2007
ifieatturkey User

PLEASE update for gmail 2.0!
i will give you money!

 
Aug 29, 2007
Arthaey Angosii Script's author

@wmblewett: I've added the ability to hide things like "Starred" and "Drafts".

 
Aug 29, 2007
Arthaey Angosii Script's author

The reason those didn't work for you is because they're not labels, technically speaking. Only the labels that are actually in the "Labels" box can be hidden right now.

That said, I'll see about hiding the core "folders," too.

 
Aug 28, 2007
wmblewett Scriptwright

did not work for me using labels "starred|chat|drafts|spam" What would be the proper format for this?

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