MAOSHU.FUN
文章
分类
标签
归档
友链
关于
文章
分类
标签
归档
友链
关于
maoshu.fun
猫叔饭·写代码的猫叔
文章
分类
标签
友链
归档
关于
油猴脚本案例:cryptojs加密和解密
直接上代码 // ==UserScript== // @name 前端加密和解密 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match ht...
2021-11-15
阅读全文
油猴脚本案例:定时刷新网页和定时关闭网页
定时几秒后刷新网页// ==UserScript== // @name 定时刷新网页 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 很简单的一个自动刷新网页功能 // @author 写代码的猫叔 // @match https://ma...
2021-11-14
阅读全文
油猴脚本案例:知乎视频页面css优化
直接上代码: // ==UserScript== // @name 知乎视频页面 优化 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match ...
2021-11-07
阅读全文
油猴脚本案例:百度收录主动推送文章链接到api接口
直接上脚本,注意修改下里面的post网址// ==UserScript== // @name 百度主动推送 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @ma...
2021-10-31
阅读全文
油猴脚本案例:西瓜视频首页按播放量排序
直接上代码: // ==UserScript== // @name 西瓜首页按播放量排序 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match ...
2021-10-30
阅读全文
油猴脚本案例:百度里面引入计算器或淘宝页面
废话少说,直接上代码: // ==UserScript== // @name 百度里面引入计算器 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match ...
2021-10-30
阅读全文
油猴脚本案例:拦截点击事件, GM_setClipboard复制文本
拦截a标签点击,并复制文本:// ==UserScript== // @name 案例:拦截点击,并复制文本 // @match *://www.baidu.com/* // @grant GM_setClipboard // ==/UserScript== (function() { 'use strict';...
2021-10-10
阅读全文
复制文本
复制链接
在新标签页打开
复制图片地址
暗夜模式