【发布时间】:2013-12-30 09:16:41
【问题描述】:
是否有方法可以像在 firefox 中一样使用 google chrome 扩展注册自定义协议:
const kSIMPLEURI_CONTRACTID = "@mozilla.org/network/simple-uri;1";
const kIOSERVICE_CONTRACTID = "@mozilla.org/network/io-service;1";
const nsISupports = Components.interfaces.nsISupports;
const nsIIOService = Components.interfaces.nsIIOService;
const nsIProtocolHandler = Components.interfaces.nsIProtocolHandler;
const nsIURI = Components.interfaces.nsIURI;
我想要协议:
xyz:
不是 xyz://
这可能吗?
【问题讨论】:
标签: google-chrome google-chrome-extension