如何在客户端系统中使用javascript检查特定软件是否已安装? [英] How to check whether specific software is installed or not using javascript in client system?
问题描述
是否可以使用Javascript检测客户端系统是否安装了特定的Windows应用程序?
Is it possible to detect, whether client system has specific windows application installed or not using Javascript?
我开发了一个网站,该网站只能检测由我们开发的应用程序.但我想让您知道,网站名称和Windows应用程序名称不同.我的意思是认为我的Web应用程序名称为 X
,Windows应用程序名称为 Y
与 Skype Web应用程序
和 Skype Windows应用程序
I developed one website, which would have to detect the application, which was developed by us only. But I want to let you know, the website name and windows application names are different. I mean consider my web application name is X
and windows application name is Y
not like same as Skype webapplication
and Skype windows application
考虑Skype,它具有Web应用程序和Windows应用程序.与Skype进行Windows应用程序安装检测一样,我是否也可以使用Javascript检测安装的软件.
Consider Skype, it has web application as well as windows application. As same as Skype doing the detection for windows application installation, can I also detect the software installed or not using Javascript.
我遇到了一些 StackOverflow 问题
和一些在线文章
https://developers.google.com/web/updates/2017/04/getinstalledrelatedapps
https://www.codeproject.com/Questions/392194/How-can-I-check-if-a-program-is-installed-on-clien
navigator.getInstalledRelatedApps().then(relatedApps => {
for (let app of relatedApps) {
console.log(app.platform);
console.log(app.url);
console.log(app.id);
}
});
并且想让您知道,我使用的是 Angular 5
And want to let you know, I am using Angular 5