您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically opens closed issues if there are no open issues on GitHub.
// ==UserScript== // @name GitHub - open closed issues if there are no open issues // @namespace https://github.com/AbdurazaaqMohammed // @author Abdurazaaq Mohammed // @version 1.0 // @description Automatically opens closed issues if there are no open issues on GitHub. // @match https://github.com/*/issues // @grant none // @run-at document-start // @homepage https://github.com/AbdurazaaqMohammed/userscripts // @supportURL https://github.com/AbdurazaaqMohammed/userscripts/issues // @license The Unlicense // ==/UserScript== (function() { 'use strict'; if(document.querySelector('.selected.btn-link').textContent.trim().startsWith(0)) document.querySelector("#js-issues-toolbar > div > div.flex-auto.d-none.d-lg-block.no-wrap > div > a:nth-child(2)").click(); })();