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

GMail Smart-Read Button

Script adds a 'Mark Read/Mark Unread' ping-pong button that updates the states itself. If the checked item are all read ones, the button shows 'Mark Unread', otherwise it is 'Mark Read'. This scripts was based on code of 'GMail Smart-Delete Button 0.5' and works with FF 1.5RC/GM 0.6.3.

OK, so the old script was broken since late March. Here goes the v0.2 with a dirty hack. Since I changed the namespce, please make sure to uninstall the old Gmail Smart-Read script before you load the new one!

For those of you who are new to this script, it will add a "Mark Read/Unread" button depending on the context.




Jan 25, 2008
Kevin 1 User

This is my very favorite Gmail Greasemonkey script. I'd REALLY appreciate it if it could be updated for the new Gmail? I've been missing it more than any other script!

I know I can use it with the Old Version, but it's a pain switching back to that every time I login. Much appreciated, and thanks for a great, useful feature. I wish Google had the sense to build it in as an option.

 
Nov 15, 2007
sbglasius User

I like this script. Thank you.
One suggestion: Make a similar script with "Mark all read": automatically select all unread messages and mark them read, then unselect them again.

/Søren

 
Nov 12, 2007
Alex Hansen User

I wasn't sure if it was firefox or google the broke this script, but it appears others are seeing a similar problem due to gmail 2. Any word on an update or quick fix?

 
Nov 8, 2007
Tom 3 Scriptwright

Doesn't seem to be working with Gmail 2.0

Ideas? Updates?

 
Sep 25, 2007
tcustomgolf User

Yep, I get the same as Sam...X does not work, mouse check does...

 
May 21, 2007
Sam Tyson User

using the shortcut key X to tag a message did not enable the Mark Unread button

 
Apr 27, 2007
teeboo User

Hello everyone! Is it possible to make this button mark all unreaded messages as read, and then unmark all messages again? So with one single click we'd got it!

 
Apr 8, 2007
gabedibble Scriptwright

Author: Please check out User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script

 
Dec 21, 2006
Pratik Sinha User

Works like a charm and saves so much time :) Thanks a lot Chenxin for this :)

 
May 6, 2006
Kevan Bayne User

Works like a charm (XP,1.5.0.3).

I save countless precious seconds using this script to mark my messages. Why doesnt Google just figure it out that we want MORE BUTTONS in Gmail? Perhaps in the future they could just have a "customized buttons" panel in the gmail settings?

 
Apr 17, 2006
Lalo Martins User

oh, what a lovely timing I have, don't I? :-D sorry for the useless message then (wish there was a way to remove it)

 
Apr 17, 2006
Lalo Martins User

Google broke it again :-) they seem to have cleaned up their DOM a bit... I have a working update at http://lalo.revisioncontrol.net/crossfire/gmail... -- I'm still planning to work on it a bit unless Chenxin Li beats me to it, but it mostly works. (It doesn't display on individual messages, I don't remember if it used to).

I'd like to add a shortcut key too... I'll probably copy code from Read/Unread Button (which I also tried to fix, but was too hopeless -- the code of this script is much more tractable).

 
Apr 17, 2006
Wolfy Scriptwright

Thank you!

 
Apr 17, 2006
norcimo Scriptwright

Thanks very much for the update. Works beautifully!

 
Apr 17, 2006
Chenxin Li Script's author

Sorry guys. Somehow the old script as well as you guys' comments got deleted during the update of my script. I guess it is because I changed my namespace.

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