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

Tom Lee thomas.j.lee at gmail.com
Mon Dec 12 00:28:17 EST 2005


Whoops -- my mistake.  I've added a couple of conditionals to make the
script ignore the "Inbox" label.  Should take care of the error.

As for the lightened color -- I actually tried this (if I understand what
you're asking for) because some users had complained about it being
difficult to identify unread messages.  I didn't really like the effect,
though -- unread messages stood out, but the lighter color made it hard to
visually associate them with their "parent" color.  I might add some icons
or other effects to signify messages' unread status -- personally, the bold
is enough for me to pick them out.

But don't take my word for all this.  If you uncomment line 185 of the
updated script, it'll apply a translucent white PNG to unread messages.
Unfortunately this won't work with multi-label messages.  Not sure what'll
happen there (they'll probably just not be properly lightened).

Tom

On 12/12/05, Jason W. <jwellband at gmail.com> wrote:
>
> 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.
>
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
>
>
>


More information about the Greasemonkey mailing list