Before the iPhone SDK was released, the only way to develop for the iPhone platform was, as described by Jobs, the "sweet" deal of creating web apps. I recently found out that if you would like to have your web app run in its own process instead of MobileSafari, you just need to add the following meta tag to it:
<meta name="apple-mobile-web-app-capable" content="yes"/>
What if however you would like a third party web app to run its own process and the developer didn't know about the above tag?
JavaScript to the rescue!
First create a bookmark to any website on the Mac/PC that syncs with the iPhone. Next, edit the bookmark's URL to be the following script:
javascript:
var meta = document.createElement('meta');
meta.name = 'apple-mobile-web-app-capable';
meta.content = 'yes';
document.getElementsByTagName('head').item(0).appendChild(meta);
alert('the meta tag has been... ... read more (my2t.wordpress.com)