ipad user agent changes during use?

▼魔方 西西 提交于 2019-12-02 01:30:27

Posting all my findings related to this: Looks like the difference is in-fact between web-app mode and safari mode. You'll get the short user agent in web-app mode (and have no browser bar), the long user agent in safari mode. There are two ways to get into web app mode:

  1. Create a web clip and check the 'Full Screen' checkbox
  2. Add a meta tag to your website <meta name="apple-mobile-web-app-capable" content="yes">

As for why we see both user agents from the same user? When you enter a site in web app mode, clicking on a link will swap the web app and re-open the page in Safari. This will also have cause the cookies to clear, possibly playing foul with your authentication scheme.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!