The company's own internal procedures, by calling the external protocol to normal use, but the external agreement must be with a client to be able to, so I would like to use JS to determine whether the client installed, if not installed, jump to the download address, similar to the Internet some thunder, express download links. Check the method, the implementation of the following methods:
Copy Code code as follows:
<script type= "Text/javascript" >
function CheckClient (obj) {
try{
var a = new ActiveXObject ("Suncloud.app");
Obj.href = Obj.path;
}catch (e) {
Alert ("Please install client first");
Obj.href= "Http://xxxx/client.zip";
}
}
</script>
<a href= "#" onclick= "CheckClient (This)" Path= "suncloud://qufodhrwoi8vzg93bi5zyw5kywkubmv0l1rodw5kzxi1ljkg==" > Connection </a>
ActiveXObject the information that the client software registers in the client's registry is filled in. Detect Thunderbolt fill thunderagent.agent or Thunderagent.agent.1