Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

allanibanez

macrumors regular
Original poster
Oct 11, 2008
128
0
I have been using the <meta name="apple-mobile-web-app-capable" content="yes" /> meta tag to hide the interface of safari to give a more "naitive" look to a webapp I am developing. Today however, I have discovered that when using this tag, javascript onLoad event handlers don't work. For instance, when loading the webapp in the safari browser, onLoad even handlers load data from a cookie and display it in a text field. However when loading the webapp from the homescreen icon, the onLoad event handlers don't work.

Has anyone else come across this? And are there any ways to get round it?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.