如何检测 Safari 上的页面是否是从跳板打开的?
我看过一次,但再也找不到了:
如何通过 JavaScript 检测 iPhone Web 应用程序是否是从 URL 键入或跳板中的图标打开的?
谢谢!
i saw it once and i cant find it again:
how to detect via JavaScript if an iphone webapp was opened from a url typing or from an icon in the springboard?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以检测页面是否以全屏模式打开。
从带有以下元标记的主屏幕图标启动的页面将以全屏模式打开。
You can detect if a page has been opened in full screen mode.
Pages launched from home screen icons with the following meta tag will open in full screen mode.