您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
4/27/2023, 5:06:16 PM
// ==UserScript== // @name gitlab add 'v' shortcut to mark file as read // @namespace Violentmonkey Scripts // @match https://git.unity.pl/* // @grant none // @version 1.0 // @author gsobczyk // @description 4/27/2023, 5:06:16 PM // @license MIT // ==/UserScript== document.onkeyup = async function (e) { if (e.key === 'v' && !e.target.matches('input, textarea')) { e.preventDefault(); await $('[data-testid="fileReviewCheckbox"]')[0].click(); } }