[Greasemonkey] anyone experiencing bugs w/ gmail colorizer script?

Jason W. jwellband at gmail.com
Mon Dec 12 00:15:33 EST 2005


On 12/11/05, Tom Lee <thomas.j.lee at gmail.com> wrote:
> Thanks for the feedback.  I'll definitely be creating some dialogs that let
> users easily specify colors, then assign them to labels; and to do so in a
> way that the assignments persist even if labels are added or deleted.

Great, can't wait :)

> For now, though, I've got a slight upgrade that includes what I think might
> be a novel GM scripting idea.  Multiple labels on a single message are now
> supported (up to three).  This is done by using a background image, using
> the data: uri method -- but with dynamic replacement of the embedded gif's
> pallette information.  I don't know if anyone else has tried this before,
> but if not, perhaps someone will find the idea useful.  There are probably
> much better ways to do this.  Mine is definitely a bit of a hack, but it
> works.

I'm not a JS expert, but my reaction was "whoa! you can do that!?!"

> If anyone would like to try the script, you can find it at
> http://www.metamonkey.net/gmailcolorizer/gmailcolorizer_beta.user.js.  I'd

Works fine for me in Inbox view or in a search page -without- any
Inbox mail showing - maybe due to the Inbox label? I get lots of
"color has no properties" in the JS console when I hit a page with the
Inbox label, no line # unfortunately.

> love to hear feedback -- I realize that the barberpole layout of the dynamic
> gif might be irritating.  I've considered horizontal lines, too, but think
> there might be problems across varying resolutions.

Could you put a CSS filter on the text so the graphic is lightened?
That would help a bunch.

--
HTH, YMMV, HANW :)

Jason

The nice thing about standards, there is enough for everyone to have their own.


More information about the Greasemonkey mailing list