开发者

Custom protocol handlers in Chrome

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜