您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
28/05/2025, 12:31:02
// ==UserScript== // @name Github: Increase visibility of "hidden conversations" // @namespace Violentmonkey Scripts // @match https://github.com/navikt/aksel/pull/3761* // @grant none // @version 1.1 // @run-at document-end // @author popular-software // @description 28/05/2025, 12:31:02 // @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2 // @license MIT // ==/UserScript== const disconnect = VM.observe(document.body, () => { const nodes = document.body.querySelectorAll(`.js-review-hidden-comment-ids,.discussion-item-header`); for (let node of nodes) { node.style = "font-size: 2rem;"; const buttonWrapper = node.querySelector('div.Box'); buttonWrapper.style = "border: 5px solid red;" const buttons = buttonWrapper.querySelectorAll('button'); for (let button of buttons) { button.style = "color: red !important;" } } });