Skip to main content

This Blog Goes Mobile

Well, it goes iPhone that's for sure.

For a while now I've been using using MoFuse to repurpose the blog for iPhones. This was a manual process however and you had to know to go there. I have started to put in code to automatically take you there if you're visiting from your iPhone - here's the key bit of code:

<script type='text/javascript'>
if ((navigator.userAgent.indexOf('iPhone') !=-1) || (navigator.userAgent.indexOf('iPod') !=-1)) {
document.location = "";

Let me know how it goes and by all means pass on problems.
Note: For now the auto re-direct only works on the blog homepage as I try and work out the MoFuse way of creating URLs for articles.

Thank you, as you were ....