您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
click一下
// ==UserScript== // @name 点击签到按钮 // @namespace leizingyiu.net // @match *://*.*/* // @grant none // @version 2023/3/27 21:06 // @author leizingyiu // @description click一下 // @license GPL // // @grant GM_registerMenuCommand // ==/UserScript== function ClickIfExists(selector){ let target=document.querySelector(selector); if(target){ target.click();return true }else{ throw(`cant find ${selector} `); } } const _dict={ 'copyai.cn':{ url:'https://copyai.cn/creationequity', fn:()=>{ ClickIfExists('.equity-show-li-btn.line-button') ; } },'smzdm.com':{ url:'https://www.smzdm.com/', fn:()=>{ ClickIfExists('#index-head > div.J_entry.entry > div.old-entry > a'); } } }; window.onload=()=>{ Object.keys(_dict).map(h=>{ let id=GM_registerMenuCommand (h, function(){ window.locaiton.href=_dict[h]['url']; // GM_unregisterMenuCommand(id);//删除菜单 }); return h;}).filter(h=>window.location.host==h).map(h=>_dict[h]['fn']()); };
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址