您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
bcm细微功能变化,例如精选显示等等
当前为
// ==UserScript== // @name 编程猫小功能优化 // @namespace https://shequ.codemao.cn/user/3348695 // @version 1.1.45.1919810 // @description bcm细微功能变化,例如精选显示等等 // @author 鱼丶 // @match *://shequ.codemao.cn/work/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // ==/UserScript== function $(name){ return document.querySelectorAll(name); } function selectedLable(){ let lable = $(".r-work-c-work_interaction--labels_container"); lable = Object.values(lable) if (($(".r-work-c-work_interaction--label").length > 0) && (lable.indexOf('<span class="r-work-c-work_interaction--label">新作喵喵看</span>') === -1)){ let newLable = document.createElement("span"); newLable.className = "r-work-c-work_interaction--label"; newLable.innerHTML = "点猫精选"; lable[0].appendChild(newLable); } } function greatAbility(){ let uilist = ["Protein蛋白质", "Lazycat&", "刻苦喵"] let atclist = ["饕餮Z醉梦", "钻石awa", "meis星语", "Lemon", "hzCK", "童话式"] let crtlist = ["林夕狐", "up琥珀"] let userName = $("#root > div > div.r-index--main_cont > div > div.r-work--work_contianer > div.r-work--work_floor_1 > div.r-work--info_container > div.r-work-c-author_info--author_info_card > div.r-work-c-author_info--author_info > div > div > a") console.log(atclist.indexOf(userName[0].innerHTML)) console.log(userName[0].innerHTML) if (!(uilist.indexOf(userName[0].innerHTML) === -1)) { userName[0].style.color = "green" } if (!(atclist.indexOf(userName[0].innerHTML) === -1)) { userName[0].style.color = "pink" } if (!(crtlist.indexOf(userName[0].innerHTML) === -1)) { userName[0].style.color = "skyblue" } } function doing(){ selectedLable() greatAbility() } setTimeout(doing, 4000);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址