Hello everyone,
I'm still struggling with Chrome's extensions.
Right now i'm trying to create an extension that would use a config.xml located in your "load-extension" folder.
I tried using the usual Chrome javascript syntax for loading xml files
The path variable here isCode:var xmlhttp = new window.XMLHttpRequest(); xmlhttp.open("GET",path,false); xmlhttp.send(null); xmlDoc = xmlhttp.responseXML.documentElement;
"chrome-extension://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1/config.xml"
Where aaaaaaaa[...]aa1 is my extension ID.
I can access config.xml through the browser.. however the XMLHttpRequest doesn't seem to be able to find it.
Whenever I try this code, I get a NETWORK_ERR : XMLHttpRequest error 101.
I was wondering if anyone got something similar to work.
If not, is there any known way to offer some sort of cheap configuration for your extensions ?


LinkBack URL
About LinkBacks



Reply With Quote