您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Gitee 魔改计划
当前为
// ==UserScript== // @name gitee tuning // @namespace gitee // @version 0.1 // @description Gitee 魔改计划 // @author BlindingDark // @match https://gitee.com/oschina/dashboard/issues* // @grant none // ==/UserScript== // 目前实现 // 1. 点击 issues 复制 issues 井号标识而不是链接 (function() { 'use strict'; // Tools // 复制字符串到剪贴板 const copyToClipboard = str => { const el = document.createElement('textarea'); el.value = str; el.setAttribute('readonly', ''); el.style.position = 'absolute'; el.style.left = '-9999px'; document.body.appendChild(el); el.select(); document.execCommand('copy'); document.body.removeChild(el); }; // 点击 issues 复制 issues 井号标识而不是链接 $(".ent-issues").on("click", ".issue-number-button .popover-reference", (e) => { copyToClipboard(e.target.textContent.trim()); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址