Total Pageviews

Sunday, March 08, 2009

Gmail and Safari 4 beta issue

Just a quick post. Some of you out there may be using the brand spanking new Safari 4 beta. It is SWEEEEEEEEET by the way. And by sweet, I mean fast. Anyway, if you are using Google Gears with Gmail for offline access, you may experience problems with Safari 4 (on a Mac at least). What you will see when you attempt to log in is a beautiful blank page. Yes, blank and staring at you. If you run the Web Inspector, you will see that an error is occurring on load. The error is:

TypeError: Result of expression 'mc().create' [undefined] is not a function.

I've had numerous problems with offline Gmail on Safari (on a Mac) even before the beta. So I thought it might have something to do with it.

The (Workaround) Fix : Disable Gmail from Google Gears
  1. Click on the "Safari" menu item on the menu bar
  2. Select "Google Gears Settings..."
  3. Click on the "Denied" radio button for everything Gmail related
  4. Voila
All done! Now if you need offline access to Gmail, this solution will not work for you. Apple (or Google) needs to actually resolve the issue so that offline Gmail is functional.

How to Launch Web Inspector
  1. If you see the "Develop" menu item, skip to step 6
  2. Click on the "Safari" menu item on the menu bar
  3. Select "Preferences..."
  4. Click on the "Advanced" tab
  5. Make sure the checkbox next to "Show Develop menu in menu bar" is activated
  6. Click on the "Develop" menu item on the menu bar
  7. Select "Show Web Inspector"