I have a firefox add-on I am writing, which injects javascript code into page when the page title changes.
I am adding some javascript content that builds html. I want to be able to view images inside the html and I want the images to be saved in the /content directory of my add-on. Is it possible?
B开发者_JAVA百科asically I think it's should be something like this:
<img src="chrome://my_addon_id/content/images/download.jpg" />
However, it's not working.
A few tips of how to do that will be very helpful. Thanks.
Maybe you need to make your addon contentaccessible.
精彩评论