开发者

chrome:// like URLs in Internet Explorer

开发者 https://www.devze.com 2023-02-10 22:12 出处:网络
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://...\" ur

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

精彩评论

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

关注公众号