(no subject)
Nov. 30th, 2009 11:09 amUserscript I've found that is good for people like me, who have both Gmail and fifty billion tabs open:
Gmail title unread count:
"Moves unread count in front of title. Good for tabs so it doesn't get cut off."
If you want to also remove the email address from the title (I only use the one @gmail address, so I want this), change this line in the script from:
To:
Then, change these lines from:
To:
Gmail title unread count:
"Moves unread count in front of title. Good for tabs so it doesn't get cut off."
If you want to also remove the email address from the title (I only use the one @gmail address, so I want this), change this line in the script from:
newval = "(" + matches[1] + ') Gmail - Inbox - ' + endval;
To:
newval = "(" + matches[1] + ') Gmail - Inbox';
Then, change these lines from:
}
return (newval);
To:
} else if (newval.match(/Gmail - Inbox - .*/)) {
endval = newval.split("-")[0] + ' - ' + newval.split("-")[1];
newval = endval;
}
return (newval);