如何知道应用程序是否在客户端计算机上安装和运行使用javascript [英] How to know whether an application is installed and running in client computer or not using javascript

查看:107
本文介绍了如何知道应用程序是否在客户端计算机上安装和运行使用javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须构建一个Web应用程序,我必须检查是否安装了应用程序。如果安装,如何使用JavaScript检查它是否正在运行。

谢谢。



我尝试过:



我搜索了很多网站。但是,我找不到任何解决我问题的方法。

I have to build a web application in which I have to check whether an application is installed or not. If installed, how to check whether it is running or not using JavaScript.
Thanks.

What I have tried:

I have googled through many sites. But, I can't find anything which solves my problem.

推荐答案

你做不到。使用JavaScript,您无权访问系统(例如,执行脚本中沙箱外的文件)。这是出于安全原因。


可能使用Java。但是我不会让这些代码在我的系统上执行。
You can't. With JavaScript you have no access to the system (e.g. the files outside the sandbox from within the script is executed). This is for security reasons.

It might be possible using Java. But I won't let such code be executed on my system.


引用:

我必须构建一个Web应用程序,我必须在其中检查是否安装了应用程序。如果已安装,如何使用JavaScript检查它是否正在运行。

I have to build a web application in which I have to check whether an application is installed or not. If installed, how to check whether it is running or not using JavaScript.

您不能,出于安全原因,网页无法访问用户计算机。

You can't, web pages don't have access to user computer for security reasons.


这篇关于如何知道应用程序是否在客户端计算机上安装和运行使用javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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