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

Gmail Show Unread only button

Adds a "Show Unread" button next to the search field, to only show unread mails / threads in the current view (using the search keyword "is:unread"). The button toggles to a "Show All" button when in unread-only mode.






Apr 30, 2007
chaosavatar User

the show all does not work:
Invalid search query - returning all mail.
and then leaves you in an all mail search. not inbox.

 
Mar 10, 2007
Francis User

To make this run on SSL sessions, change the URLS to:

http*://mail.google.com/*
http*://gmail.google.com/*

 
Dec 27, 2006
Johan Sundström Script's author

Very handy for catching up on a list you've been cherry picking messages to read from. (It's beyond me why they haven't exposed this functionality to some button, by default.)

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