Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use $ Object in grant none anymore #2726

Closed
fdellwing opened this issue Nov 22, 2017 · 4 comments
Closed

Can not use $ Object in grant none anymore #2726

fdellwing opened this issue Nov 22, 2017 · 4 comments

Comments

@fdellwing
Copy link

I use the site included jQuery in some scripts and since GM 4 I'm unable to use it. It is always undefined.

Will this be fixxed, or ist this intended?

Because of #2683 I can no simply use my own jQuery.

@NoneGiven
Copy link
Contributor

Dupe of #2653 and #2700. If GM sandboxing can be changed, this might work in the future.

You can access jQuery at window.wrappedJSObject.$ as a workaround.

@fdellwing
Copy link
Author

Well, it's not optimal, but should work I hope.

@arantius
Copy link
Collaborator

@Sxderp
Copy link
Contributor

Sxderp commented Nov 28, 2017

@arantius This was about using the page jQuery object, not one that is added through requires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants