From web, I want to detect if our application has been installed or not. With number of research, we have found this site:
如果安装了具体应用,从浏览器中发现。
There is a light for us to write something to detect:
if (navigator.plugins["Adobe Acrobat"]) {
// do some stuff if it is installed
} else {
// do some other stuff if its not installed
}
问题是:
- how the browsers find "adobe acrobat" on the local machine?
- is "adobe acrobat" a plugin installed? how can I check it manually on my machine?
- how to write a program or a plugin like "adobe acrobat" so that I can use: navigtor.plugins?
提前感谢。