谷歌插件 Tampermonkey使用

可以通过其挂载的js脚本实现某些页面的功能,比如定时刷新,签到,点赞等。。。

1.在浏览器扩展应用中添加该插件

2.管理面板添加需要执行的脚本

match:可以匹配某个浏览器网址,例如,只要打开百度,就会执行alert(111111);

例如:

// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.baidu.com/
// ==/UserScript==

(function() {
    'use strict';
     alert(111111);
    // Your code here...
})();

你可能感兴趣的:(开发工具类,谷歌插件,Tampermonkey)