I'm creating a Google Chrome extension for internal use only (ie a developer friend and me would load it using the developer checkbox). Can I load data from a JSON file/ JS file we periodically update into it, without (for convenience sake) repackaging and reloading the extension with that data everytime?
(I've tried things like including a http-localhost url into the manifest json and dynamic js embedding without success.) Thanks!
I suppose you are looking into:
https://developer.chrome.com/extensions/xhr.html
You need to set permissions on the manifest in order to make cross-origin XMLHttpRequest
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.