[Jslib] Mapping chrome URLs to file paths
dfhuynh at mit.edu
Thu Nov 25 14:57:41 EST 2004
var chromeRegistry =
var uri =
uri.spec = "chrome://some-extension/content/foo.xul";
var url = uri.QueryInterface(Components.interfaces.nsIURL);
var path = chromeRegistry.convertChromeURL(url);
Pete Collins wrote:
>> Hey, does anybody know how to map chrome URLs to file paths in the
>> newest Firefox? jslib doesn't seem to work anymore for that.
> Would you mind filing a bug so it stays on my radar?
More information about the Jslib