Monday, July 09, 2007

So after detecting my first iPhone connect to my Blog,   I wondered whether the Mobile AJAX code that I wrote for Windows Mobile would work for other browsers.See  -

http://www.binaryrefinery.com/main/default,date,2007-04-23.aspx#a7c1ae14c-edd5-4306-b6e1-cf70952330ba

 

So, I decided to download the Apple Safari web browser for windows.   I thought that Safari would show up pretty well how my mobile Blog would appear on an iPhone.  Surprise, surprise my mobile AJAX blog just didn't load.  Safari can be obtained here -

http://www.apple.com/safari/download/

 

This was clearly due to the creation of Active X objects in the mobile page, like -

g_request= new ActiveXObject("Microsoft.XMLHTTP");

 

Anyhow following the Safari web developers guide I put in some basic browser detection, I won't bore you with all the code.   But if you interested have a look at the results at -

http://www.binaryrefinery.com/mobile

(then do a view source on the page)

Technorati tags: , ,
Monday, July 09, 2007 8:21:34 PM UTC  #    Comments [0]  | 
Comments are closed.

Theme design by Jelle Druyts

Pick a theme: