On Wed, Jun 18, 2014 at 5:49 PM, Ben Hest <[email protected]> wrote: > Is there a fundamental reason why one works and the other doesn't when > making a CORS compliant JSONP $.ajax() call?
Yes. If you're actually doing JSONP. Combining CORS and JSONP doesn't make sense. If you ask for privileged functions, you run in a sandbox isolated from content. If you create a <script> node in the content (i.e. JSONP) it cannot access the sandbox. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.
