Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5509 closed enhancement (notabug)

CDN Hosted jQuery does not allow cross domain origin access

Reported by: gbrayut Owned by:
Priority: minor Milestone:
Component: ui.core Version: 1.8
Keywords: CDN Cc:
Blocked by: Blocking:


I am trying to use the hosted version of jQuery in a userscript, but the only way I am able to do so is by loading it using an xmlhttpRequest. Since xmlhttpRequest restricts access using the same-origin policy I would need to either host it on the same domain as the website (not feasible for a user-script) or use a CDN that includes the

Access-Control-Allow-Origin: *

header defined by Cross-Origin Resource Sharing. Is there any way to change the CDN so that it will set this header and allow cross-origin access to jQuery?

Change History (2)

comment:1 Changed 13 years ago by Scott González

Resolution: invalid
Status: newclosed

This is the bug tracker for jQuery UI, not jQuery. Please ask on the forums.

comment:2 Changed 11 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.