您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
关闭彩云小译达到 5000 词的弹窗
// ==UserScript== // @name 彩云小译 - 关闭字数限制弹窗 // @description 关闭彩云小译达到 5000 词的弹窗 // @author Bush2021 // @match https://fanyi.caiyunapp.com/* // @icon https://caiyunapp.com/favicon.ico // @version 0.1 // @license MIT // @namespace https://gf.qytechs.cn/users/737511 // ==/UserScript== (function() { 'use strict'; // 监听 DOM 变化 const observer = new MutationObserver((mutationsList) => { for(let mutation of mutationsList) { const elMessageBoxHeaderBtn = document.querySelector(".el-message-box__headerbtn"); if (mutation.type === 'childList' && mutation.addedNodes.length > 0 && elMessageBoxHeaderBtn) { elMessageBoxHeaderBtn.click(); } } }); // 配置观察选项 const config = { attributes: true, childList: true, subtree: true }; // 开始观察目标节点 observer.observe(document.body, config); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址