Google Mail Checker for Chrome/Chromium with Google Apps

So, Google/Chromium have released sample extensions for Chrome and Chromium (link) dev/beta builds.

One such extension is Google Mail Checker (link), which uses very nice graphics and a simple polling script to check for new Gmail messages.  Now, the problem is that the extension only works for Gmail.com users and not Google Apps users.

This is easily fixed, though, through editing of the background.html file (which houses the extension javascript):

Locate your Extensions folder.

Windows 7:

C:\Users\%USER%\AppData\Local\Google\Chrome\User Data\Default\Extensions\

Windows XP:

C:\Documents and Settings\%USER%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\

Locate the Google Mail Checker extension through digging in each folder (look at Date Modified), and then locate the background.html file in the \1.0\ folder.

Open the background.html file in an HTML editor (WordPad, Notepad, etc.).

You’ll see two variables linking to mail.google.com, which you have to edit to point to your Google Apps account:

var gmail = “http://mail.google.com/”;

var gmailAtomRef = “http://mail.google.com/mail/feed/atom”;

To edit them, just insert your Google Apps URL (replacing DOMAIN.COM), like so:

var gmail = “http://mail.google.com/a/DOMAIN.COM”;

var gmailAtomRef = “http://mail.google.com/a/DOMAIN.COM/feed/atom”;

Save your background.html (you can make a backup of the original if you want), restart Chrome, load your Google Apps mailbox and you should notice the icon red instead of with a question mark.

Google Chrome AdBlock via Paulfox's Ad Blocking FiltersetP

Thanks to the new Google Chrome 2.0 beta and its support for user-scripts, you can now have ad blocking from within Chrome itself, without need for Privoxy, BFilter, or Ad Muncher. This does not stop the ads from downloading, however, but does hide them from being shown.

All you need do is:

1. Download the Google Chrome Channel Changer from the Early Access Release Channels.

2. Select, “Dev,” from the radio boxes.

3. Force Chrome to update by going to Wrench -> About Google Chrome.

4. Enable user-scripts in a Chrome shortcut by adding the
—enable-user-scripts
flag (after chrome.exe).

5. Download the Ad Blocking FiltersetP by Paulfox from http://userstyles.org/styles/299. Be sure to select “Load as user script” because Chrome only supports Greasemonkey scripts. Save the “Ad Blocking FiltersetP.user.js” file in the appropriate directory and load Chrome.

Windows XP:
C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default\User Scripts\

Vista/Windows 7:
C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\User Scripts\