| |||||||
| Top Tip : Click here to Boost Your PC & Chrome Browsing Speed |
![]() |
| | Thread Tools | Display Modes |
|
#1
| |||
| |||
| 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 Code: 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 ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AdSweep.crx extension for Chrome | calande | Chrome Plugins | 13 | 09-13-2009 03:27 AM |