Home > Software > google calendar service and safari

google calendar service and safari

October 22nd, 2008

 Fixing the “Unsupported Browser. Continue at your own risk” Error from Google Calendar Javascript API, when using Safari. First of all… why are they using alert with a service? And worse why are they using an alert in a method with no error handler? Anyways, Javascript is a nice language so we can silence google using a little script like the one below:

 var falert = window.alert;
 window.alert = function() { /* silence google */ };
 var calService = new google.gdata.calendar.CalendarService("wpng-calendar-plugin-1");
 window.alert = falert;

Software , , ,

  1. Rosenrod
    March 10th, 2009 at 16:27 | #1

    Thanks for sharing your views. Always nice to read from someone who knows their field, and are whiling to share it with others.

  1. No trackbacks yet.
CommentLuv Enabled

Comments links could be nofollow free.