如题,脚本有时候会出现这种警告,这是未定义,解决方法是:加载jq即可,但要放在脚本内容的最前面,如下代码:
// @require http://code.jquery.com/jquery-3.x-git.min.js /* globals jQuery, $, waitForKeyElements */ // UserScript
也就了是要放在“// UserScript” 的是前面。
如题,脚本有时候会出现这种警告,这是未定义,解决方法是:加载jq即可,但要放在脚本内容的最前面,如下代码:
// @require http://code.jquery.com/jquery-3.x-git.min.js /* globals jQuery, $, waitForKeyElements */ // UserScript
也就了是要放在“// UserScript” 的是前面。
Loading...