Are you allowed to copy the file in to your extension? If not, the only
reliable way is to create a web page that uses that file, then create an
<iframe type="content" src="your web page"/> and communicate with that
iframe using the various examples for communicating with content.
--
Warning: May contain traces of nuts.
Rick Nelson
unread,
Mar 27, 2013, 8:10:48 PM3/27/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Try <iframe src="api.html" flex="1"/>, and then create a file api.html within the folder your XUL document reading this is stored containing the necessary code and scripts for the api.