How can I use jQuery in Greasemonkey scripts in Google Chrome?

后端 未结 11 1310

As some of you may know, Google Chrome has put some severe limitation on Greasemonkey scripts.

Chromium does not support @require,

11条回答
  •  悲&欢浪女
    2020-11-22 10:21

    Easier solution: cut+paste the contents of jquery.min.js into the top of your user script. Done.

    I found various problems with the recommended answers. The addJQuery() solution works on most pages but has bugs on many. If you run into issues just copy+paste the jquery contents into your script.

提交回复
热议问题