油候插件grant的使用

// ==UserScript==
// @name         Test Baidu
// @namespace    http://www.baidu.com/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.baidu.com
// @grant        GM_log

// ==/UserScript==

(function() {
    'use strict';
     GM_log("hello baidu")
})();

开启GM_开头的函数,这里是开启 GM_log类似,console.log

posted @ 2020-02-28 15:56  公众号python学习开发  阅读(237)  评论(0编辑  收藏  举报