I apologize for the confusion. I guess the text styling didn't make it through or clear enough. The question is rooted from this: if only @grant none is present, the userscript will work. If only the @grant GM_somefunctions are included, the errors discussed pop up. Is there a fundamental reason why one works and the other doesn't when making a CORS compliant JSONP $.ajax() call?
I am using 1.15 on FF30. I didn't see that 2.0 was out until you mentioned it. So far it hasn't been pushed through the addon updates yet. I'll check into it on 2.0 as well. Thanks, Ben On Wednesday, June 18, 2014 3:44:53 PM UTC-5, Anthony Lieuallen wrote: > > On Wed, Jun 18, 2014 at 2:06 PM, Ben Hest <[email protected] > <javascript:>> wrote: > > ... > > > ... > > Saying both grant none plus grant something else is confusing at best > and not likely to do what you want > > > Why does a $.ajax() jsonp call not work in the greasemonkey sandbox with > GM_ > > functions, but does under the the @grant none condition? > > Is there a "right way" to make this work? > > What version of Greasemonkey? Did you read the release notes for 2.0? > http://www.greasespot.net/2014/06/greasemonkey-20-release.html > -- 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.
