您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A userscript that hides the "+" and "-" from code diffs
当前为
- // ==UserScript==
- // @name GitHub Remove Diff Signs
- // @version 1.3.2
- // @description A userscript that hides the "+" and "-" from code diffs
- // @license MIT
- // @author Rob Garrison
- // @namespace https://github.com/Mottie
- // @include https://github.com/*
- // @run-at document-idle
- // @grant GM_addStyle
- // @icon https://github.githubassets.com/pinned-octocat.svg
- // ==/UserScript==
- (() => {
- "use strict";
- GM_addStyle(`
- .blob-code-inner:before,
- .blob-code-marker-context:before,
- .blob-code-marker-addition:before,
- .blob-code-marker-deletion:before {
- visibility: hidden !important;
- }`
- );
- })();