从浏览器检测用户Mac OS X上是否安​​装了应用程序 [英] Detect if application is installed on users Mac OS X from browser

查看:130
本文介绍了从浏览器检测用户Mac OS X上是否安​​装了应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从浏览器中检测用户Mac OS X上是否安​​装了应用程序.

How can I detect from a browser if an application is installed on a users Mac OS X.

我想实现的是,如果用户单击下载按钮,那么如果他安装了应用程序,它将下载可以用此应用程序打开的特定文件,如果用户没有该应用程序,则他是提示他需要先下载该应用程序才能查看实际文件.

I want to achieve, that if the user clicks the download button then if he has the application installed it downloads a specific file which can be opened with this application, and if the user don't have the application, then he is prompted that he needs to download the application first to view the actual file.

推荐答案

谢谢您向道格·斯蒂芬(Doug Stephen)提供此链接,网址为:

Thanks goes to Doug Stephen for providing the link, here:

确定应用程序是否存在并启动该应用在iOS上

This link was also helpful to move on with the parsing.

这篇关于从浏览器检测用户Mac OS X上是否安​​装了应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆