Gmail - Hide Selected Label

By jmerz Last update Nov 25, 2009 — Installed 409 times.

Problem Update 2009-03-13

in
Subscribe to Problem Update 2009-03-13 1 post, 1 voice

jmerz Script's Author

I'm trying to figure out some of the oddities that cause this script to fail with different sets of GMail Labs features turned on. I haven't made too much progress so far, but I have found one that is quite an oddity and may solve problems for a few people.

I've been running with Offline GMail turned on since it was released, but uninstalled it while playing with different Labs combinations, and found that the viewChangeCallback from the GMail Greasemonkey API seems not to fire when Offline GMail is disabled. I'm baffled as to why that should be.

Additionally, it seems that you don't actually have to be using Offline GMail to get the benefits of having it turned on. That sounds odd, so let me clarify with instructions on how to get Offline GMail into the state I'm talking about:

  1. Go to the Labs page, and Enable Offline GMail.
  2. Save your changes, and reload GMail.
  3. There should now be a link that looks like Offline0.2 at the top of your GMail page. If you don't want to actually use Offline GMail, don't click the Offline link (and don't install Gears, which is also needed for Offline GMail).
I believe that may improve the script a bit without anyone haveing to actually use Offline GMail.

If anyone tries this out, please let me know whether it solved any problems, and if it doesn't, please let me know what problems you are experiencing if I haven't already heard from you.

For those still experiencing problems, if you have experience using the DOM Inspector and XPather Firefox addons, I would greatly appreciate it if you could give me the XPath to the <div> that contains a label that isn't disappearing. It should have a class of 'av'. If you don't have experience using either of those addons but would like to try, let me know! I will gladly write up some detailed instructions on how to use them for this purpose.

Apologies for the slow progress to everyone who is helping by sending me debug info so I can try to make this script work for more people :)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel