4 ms·
You can create a bookmark with the following address: javascript:var%20meta=document.createElement(%22meta%22);meta.name=%22apple-mobile-web-app-capable%22
by Timothee 17y ago
You can create a bookmark with the following address:
javascript:var%20meta=document.createElement(%22meta%22);meta.name=%22apple-mobile-web-app-capable%22;meta.content=%22yes%22;document.getElementsByTagName('head')%5B0%5D.appendChild(meta);
Then you would open Safari on Gmail, select this bookmark, and then add it to your homescreen. Works on iPhone at least. I suppose iPad will work fine.
Note: on an iPhone 2G, a page set up like this loads very slowly compared to inside Safari. The iPad allegedly being much faster, it might not be a problem. You do have the issue with external links opening Safari, but with the iPhone, the difference in screen real-estate is fairly significant.
- jackowayed 17y agoGood call! I was thinking that something like that could do it. (My default thought for that type of thing is a Greasemonkey script, which iPhone Safari doesn't support.) Btw, an easier way is just to paste the code into the address bar.
- Timothee 17y agoThe reason I mention a bookmark is to have it handy anytime you want to save a page to the homescreen, and because you can then create it from your Mac/PC and it can sync. Easier than typing it on an iPhone.