As I embark on creating my very first Chrome extension, it's a rather straightforward one involving some ajax calls.
The structure of my manifest file is quite basic:
{
"name": "Read It Now",
"version": "0.12",
"description": "Read it now.",
"permissions": [
"https://readitlaterlist.com"
],
"app": {
"launch": {
"local_path": "index.html"
}
}
}
To retrieve simple data using jQuery, I'm making requests to a URL like this:
https://readitlaterlist.com/v2/get?state=unread&count=10&apikey=xxx&username=yyy&password=zzz
Unfortunately, Chrome consistently denies the request with the following error message:
XMLHttpRequest cannot load . Origin chrome-extension://cdfeahailioembamnjnikbiemengfgpp is not allowed by Access-Control-Allow-Origin.