When user clicks link with custom protocol (like myapp://superlink
)
I need either launch an app or allow user to download and run configuration app
I am looking for cross-browser way to check if custom protocol is registered
I've tried to determine this by checking user agent server-side (for IE)
[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionInternet
Settings5.0User AgentPost Platform] "myapp"=""
sends
`....NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3; **myapp**`
as user-agent
This is good, clean way, easy configuration:
just download .reg file and run it or propagiate via ms windows policy
I can't fix this for Chrome and Firefox
Are there any client-side solution (in js)?
My enviroment: IE8+, Chrome (latest), Firefox(latest)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…