Post doesn't exist

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 4 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
ithinc User

Is it possible to show the unread inbox count in the tab title whether inbox is the current view or not?

 
J Seabold User

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';

 
Ubbu User

Hi folks,
Is it possible to modify this script so that my tab will have:

"1 unread"

instead of
"1 unread -Gmail Inbox"
?

Thanks.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel