I’m working on a chrome extension that makes an ajax request for Netflix RSS feeds. Example feeds look like this:
http://www.netflix.com/Top25RSS?gid=307
http://www.netflix.com/Top25RSS?gid=2444
Everything works great until netflix begins serving from www2 in the evening (I’m assuming due to heavier traffic). When that happens, my permissions no longer match in my manifest.json file and I begin having cross domain issues. Here is the permissions section from my manifest.json:
“permissions”: [
“tabs”,
“http:///“,
“http://.netflix.com/“,
“http://69.53.236.17/*”
]
I’ve tried adding a wildcard in place of the www to account for it (as Google shows in their docs), but it doesn’t work. Does anyone know what I can do?
Thanks!
Use
"http://*.netflix.com/"as the permission. The wildcard will match all subdomains of netflix.com.