Reputation: 513
I'm writing a userscript to be run on youtube video pages. It needs to make requests to gdata.youtube.com using jQuery to make things easier. Would this work or does it violate the cross-domain policy?
Upvotes: 1
Views: 91
Reputation: 2267
it violates the cross-domain policy because you're not hosting it on youtube.com, so domain or subdomain, its still not the domain the script is located on so it wont work.
Upvotes: 1