10 декабря 2013

Как добавить свой протокол в Chrome

типа skype:

mailto:

wmk:

 

This will force Chrome to handle your protocol and it won't prompt user for confirmation (I don't know how to allow the confirmation dialog)
Source: http://www.google.com/support/forum/p/Chrome/thread?tid=2b67d52a2d974418&hl=en
Windows Paths:
XP: C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\Google\Chrome\User Data
Vista/7: C:\Users\<USERNAME>\AppData\Local\Google\Chrome\User Data
Add your protocol to the 'Local State' file under the 'protocol_handler' section, as such:
   "protocol_handler": {
      "excluded_schemes": {
         ...
         "<YOUR_PROTOCOL>": false,
         ...
   }
I'll probably make it an FAQ or similar for those using chrome as they're primary browser, since the user base is still relatively small. But, I could see where deployment of this ability across multiple systems/users would be a pain!
Pay attention Google!!!


Видеочат рулетка