使用php / javascript确定计算机中安装的软件[重复]

This question already has an answer here:

is there a way to detect what software is installed in computer using php/javascript or any plugin.

what i want to do is if a client open our site using firefox or ie and our web detected that chrome is installed, the chrome will open automatically directing to our site.

</div>

No you can't do that. That would be a huge security risk.

This is not possible, I'm sorry.

No, that is not possible, not unless you ask the user to install and run client-side software written using something other than JavaScript. To allow otherwise would be a large security and privacy risk.