Within Google\’s World …

Some Interesting Tid Bits on Google Calendar

I've been poking around Google Calendar's (GCal) source code and found out more about compatible web browsers, bookmarks, dispatches, maxiumum lenghts for text boxes and occasional errors. Well it's more positive notes than negative and considering that this product is still in Beta, anything is possible and so bugs are forgiven at this point in time!

For starters, within the GCal interface that looks a lot similliar to GMail, one would find links titled as gmail, google search features and more — these are known as Corner Bookmarks, according to a reference made to them within the code, the class which contains the way in which these links are called is titled as cornerBookmarks.

Included below is a code block of javascript within table tags that shows the reference to the class name:

<table cellpadding="0" style="position:absolute;top:0;left:0;padding-top:1px" cellspacing="0" id="cornerBookmarks" class="cornerBookmarks">
<tbody>
<tr>
<td style="white-space: nowrap;" class="cornerBookmarks"><div style="overflow: hidden; white-space: nowrap; float: left" class="cornerBookmarks">
<a href="http://www.google.com/webhp&quot; class="cornerBookmarks" target="_blank">Google</a> <a href="http://mail.google.com/mail/&quot; class="cornerBookmarks" target="_blank">Gmail</a> <b>Calendar</b> <a href="http://www.google.com/options/&quot; target="_blank" id="cornerBookmarksMore" class="cornerBookmarks">more »</a></div></td>

</tr>
</tbody>
</table>

Moving on to web browser support, the help page for GCal outlines that currently Microsoft's version of Internet Explorer 6 or upwards and Mozilla's Firefox 1.07 works but going back to a function in the code, it appears that, support also exists for other browsers like Konqueror, Safari and Opera, however, it just might be that the team behind GCal are testing how exactly these browsers render the calendar's grid and other pages — something along the lines of an initial testing phase. This is seen within the comments of the code below:

(function(){
var a = navigator.userAgent.toLowerCase();
var i6 = (a.indexOf("msie 6.")!=-1);
var i = (a.indexOf('msie')!=-1);
var k = (a.indexOf('konqueror')!=-1);
var s = (a.indexOf('safari') != -1) || (a.indexOf('konqueror') != -1);
var n = !i && !s && (a.indexOf('mozilla') != -1);
var o = !!window.opera;
if ((!i6 && !n) || o || s || k) {
// TODO(davem) – new text when we change names
if (confirm('Sorry, Google Calendar does not support your browser yet, so things may ' +
'break in unexpected ways.\nPress OK to see a list of browsers that ' +
'we support. Or cancel to try to use it anyways.'
)) {
window.location.href =
'http://www.google.com/googlecalendar/overview.html#quickfacts&#39;;
}
}
})();

What I guess is expected to happen given the above is, whenever someone who's not using a FF or IE browser is prompted with a dialog which informs them of their browser incompatibiliy, gives them an option of finding out what browsers are supported by GCal via web link or allowing them to continue browsing the calendar but with a warning that various features may not work.

It was also interesting to note that the text boxes for What, Where, Description & Guests have a limitation of 2048 characters.

And when I tried to delete my default calendar, I expected to be greeted by the usual confirmation dialog box:

..but in addition to the bubble requiring me to confirm the delete action, I got a javascript prompt:

as well as another window containing a bunch of errors:

Anyways, I'm stilling having a go through the code and awaiting a reply regarding the error window from GCal's Help team.🙂

April 14, 2006 - Posted by | Service & Product Launches

2 Comments »

  1. […] Well since I had previously seen that Google were trying to get GCal working on non-Firefox or Internet Explorer browsers, such as Opera, Safari and Konqueror, I decided to do some experimenting with GCal on Opera 8.5 and believe me it did work at the start but then GCal broke and stopped working. Anyways, here are some of the screenshots, please click on them too see enlarged versions: […]

    Pingback by Within Google’s World … » Blog Archive » Screenshots of Google Calendar on Opera Web Browser | April 18, 2006

  2. You might be interested in this:

    “Google Calendar Class and Function Reference”
    http://stuff.rancidbacon.com/google-calendar/hack/

    –Phil.

    Comment by Phil | April 19, 2006


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: