ios - Can the url for the "Add to home screen" on iPhone Safari be customized? -


the "add home screen" shows on pages of site, , want url homepage gets saved.

for example on page: http://www.domain.com/category/page.html

is possible "add home screen" save url: http://www.domain.com

any appreciated.

i found sort-of workaround this. can detect launched home page via window.navigator.standalone , based upon potentially redirect.

also, have done little testing , found on latest ios, different user agents reported server, opens possibility of faster redirect. can't find information whether has been case.

launch home page:

mozilla/5.0 (iphone; cpu iphone os 6_0_1 mac os x)  applewebkit/536.26 (khtml, gecko) mobile/10a523 

mobile safari:

mozilla/5.0 (iphone; cpu iphone os 6_0_1 mac os x)  applewebkit/536.26 (khtml, gecko) version/6.0 mobile/10a523 safari/8536.25 

if page gets of content via ajax or notice different user-agent on server might possible skip redirect , act "as if" @ url, since in standalone mode url invisible anyway. i'm investigating haven't got far enough whether burn or not.

also note user's choice of url mark app may meaningful, i'll leave own ux judgment.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -