Is it possible to register a custom protocol handler in Chrome? This code works in Firefox, but not chrome:
navigator.registerProtocolHandler("random开发者_Go百科",
"https://www.example.com/?uri=%s",
"Random Protocal");
According to MDN, it must start with web+
, starting with Chrome 13.
精彩评论