Trying to load jquery into tampermonkey script

后端 未结 1 1015
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 00:18

I am writing a script which logs into my college network when the login page is loaded.

The code looks as follows

// ==UserScript==
// @name       My Fa         


        
相关标签:
1条回答
  • 2021-01-30 00:56

    You need to have a @require in the user script header to load jQuery. Something like:

    // @require http://code.jquery.com/jquery-3.4.1.min.js
    

    (Selecting your desired version from the of list of available versions of jQuery)

    0 讨论(0)
提交回复
热议问题