Reputation: 47
I'm working on a chrome extension and I want it to change images everyday. How is it possible after I've published the extension? as in, do I have to update it with different images everytime?
Upvotes: 0
Views: 192
Reputation: 77523
You will need to host the image somewhere the extension can access. Preferably with CORS enabled, or you'll potentially run into issues.
It's important to only request it once and then somehow save it on your side (for example, as a data URI that you can store in chrome.storage
).
Upvotes: 2