Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Gmail Inbox Display Unread Count FIRST
Modify Gmail inbox title to display count of unread messages at the beginning, so unread count displays in a small tab. Modified to work with Google Apps for your Domain.
This script is based entirely on Jonathon Ramsey's original version, located at http://userscripts.org/scripts/show/4146
This version adds support for Google Apps for Your Domain Gmail. (It preserves the custom inbox name.)
|
|
Of course it is! You've probably figured this out by now, but if not you can just go to edit the script and change newval to anything you like. Just leave the matches[1] alone, as I believe this is the group for the regular expression match for the number of unread mails. The names[0] returns the Gmail name from the regular expression search. I edited mine to look like this:
newval = '(' + matches[1] + ') - ' + names[0] + ' Inbox';
Which displays as (10) - Gmail Inbox You would want yours to look like this:
newval = matches[1] + ' unread'; |
|
|
Hi folks,
"1 unread" instead of
Thanks. |
You could comment on this script if you were logged in.
