开发者

chrome:// like URLs in Internet Explorer

once again, I'm struggling with porting a Firefox extension to Internet Explorer 7, 8 and 9.

My most recent problem is that the FF extension code makes heavy use of AJAX calls to "chrome://..." urls (it fetches .html files that way and then displays the HTML on the page).

Is there any way in IE to access "chrome:/开发者_运维技巧/"-like URLs? Or - more generally - is there any way I can make an AJAX call to retrieve contents of a HTML file that is a part of the extension (and is not accessible online)?

Thanks a lot!

Tom


You want the res:// scheme. This doc is .net specific, but it gives you the basics of how the protocol is used.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜