Whats the problem about jQuery in GM?
Why are you trying to use the page's jQuery? There's no need to since you can just @require like you did in your example. Greasemonkey made some changes to the sandbox and it's now harder to do what you're trying to do: https://stackoverflow.com/questions/24719256/error-permission-denied-to-access-property-handler
You also have a bunch of missing semicolons and misspelled '#clk'
Whats the problem about jQuery in GM?
//index.html
//user script
I dont know whats wrong with jQuery? The event will not be triggered when using
unsafeWindow.jQuery
, but it works when using jQuery loaded byGM
. Anyone can tell me what happened?