Script Summary: Alerts you to the status of your Gmail Inbox through distinct Favicons.
Latest Version Notes
Patched 3.13: Fixed issue in Chrome 27 (Error: Uncaught ReferenceError: GM_registerMenuCommand is not defined). Let me know if this doesn't fix your issue or breaks something anew!
A Blue icon lets you know you have unread mail. New to version 3, the number of unread messages is indicated in the icon up to and beyond 999!
A Red icon means you've read all your mail (or, at least, clicked on them all).
A Speech Bubble icon means someone has sent you a chat message.
The newest version of Gmail Favicon Alerts brings both a visual and functional refresh. Many thanks to award-winning designer Tyler Sticka, who has redesigned the iconography from scratch. The updated icons are now visually balanced, evenly shaded and gorgeous. In addition, Tyler designed numeric indicators for displaying the number of unread items in your inbox. As we both avidly watch our inboxes, knowing how many messages are unread allows us to make a better decision on when to switch tabs. The indicator counts up to 10 unread messages and hides when more unread items exist. Much like the Chat alerts, you can choose to turn this feature off through the Greasemonkey User Script Command menu.
Gmail Favicon Alerts was rewritten from the ground up. Originally built by David Alan Schoonover and retro-fitted nearly a year after production ceased on the project, the latest version squashes many of the original bugs and introduces new and updated capabilities, such as:
- The Favicon now stays up-to-date no matter what folder you're in (Inbox, Starred, Trash, etc.)
- The script utilizes Gmail's Greasemonkey API, increasing the script's speed and reliability
- Google Apps for Your Domain Gmail Accounts are now supported at their default location (ex.
- Icons have been updated and are now embedded in the script, so no external resources are required
This version has been tested to work in Firefox 3 on Ubuntu, Windows XP & Vista. As always, please let me know of any issues you run into. In addition, any feature suggestions would be greatly appreciated.
Please be sure to uninstall the previous version of Gmail Favicon Alerts, as the codebase has changed dramatically.
Addon & Script Conflicts
- The Hide Unread Count Gmail Labs script does not work with this script, as it hides the number this script uses to generate your unread count.
- FavIcon Picker 3 causes an issue with this script where the icon is cached and cannot be updated. It may appear to work for a short while, but the unread count appears to become stuck. Uninstalling the addon appears to be the quickest fix.
Previous Version Notes
Patched 3.12: Added fix for Gmail's recent DOM updates. Please update and let me know if it still isn't working for you!
Patched 3.11: Added fix provided by wraithdu in their thread for the issue that has cropped up this week. Please test this out and let me know in the thread. I have yet to see the broken behavior of the old version in my Google Accounts, but as soon as I can reproduce the behavior, I'll do additional testing and might provide an additional fix.
Patched 3.10: Added Chrome Support! Thanks to everyone that helped.
Patched 3.0.9: Gmail's Greasemonkey API, which has been acting strangely for several months now, completely broke today and is currently unusable. This breaks earlier versions of the script. This quick patch is a simple means to solve the issue. It's less tested than other versions, so if you could test it out on your system and report back if it's working or not, feel free to do so in the Script not Working? topic. I appreciate you taking the time! Thanks!
Patched 3.0.8: Today Gmail added great new drag and drop features to Gmail. Unfortunately, they changed a ton of stuff in the DOM, and broke stuff for us. I've patched the script, and am ~85% confident in its ability. It passed my tests with Labs features and languages, but I'd love to hear feedback, either working or not. Feel free to leave a message in the discussion forum or reply @peterwooley.
Note: As of this writing, Gmail Compactor is not yet functional. When it is, I will see about adding compatibility once more.
This script is now a part of the great Better Gmail 2 Firefox Addon.
Patched 3.0.7: With the excellent help of tschordi, Moops, and burnside in the discussion forum, we squished a nasty bug that completely broke the script and added compatibility back with the Gmail Compactor script. If you have any problems with this version, feel free to post!
- You must enable userscripts to run on secure pages for this script to run properly using Gmail's secure setting (e.g.
- Saving user settings is not supported in Opera user scripts, so sensible defaults have been put in place. By default, chat alerts and the unread count are turned on. In order to maintain consistency, these are now the default behaviors in Firefox.
- This version was tested in Opera 9.64 on Windows. If you test it on other versions and platforms, let me know your results in the forums!
Patched 3.0.5: This is a backport to the same code from 3.0.3. It was made necessary by Gmail's recent updated its DOM. Unfortunately, compatibility with Gmail Compactor is not possible, but I will be getting in touch with Pavel_Gutin to discuss a solution! If you have any problems with this patch, let me know in the discussion threads!
Patched: 3.0.3: The Script has now been tested to work with each of the 52 languages Gmail supports, save for an issue with chat alerts in the Suomi and Urdu languages. If you use either of these languages, please let me know in the forums! In addition, the recent chat alert code change was causing issues with the Title Tweaks Labs plugin and a few title-altering scripts. So, I've updated with a small patch to the Chat Alert code that should make it work in 50 of the 52 languages.
New Version! (v3): Now, you can keep tabs on the exact number of unread messages you have! With the power of the <canvas> tag, the unread message count is now dynamically created for your number of unread messages. The font scales well up to 999 unread messages, but higher numbers are still rendered for those with massive unread counts.