forked from Mottie/GitHub-userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-remove-diff-signs.user.js
More file actions
28 lines (26 loc) · 953 Bytes
/
github-remove-diff-signs.user.js
File metadata and controls
28 lines (26 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// ==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
// @updateURL https://raw.githubusercontent.com/Mottie/GitHub-userscripts/master/github-remove-diff-signs.user.js
// @downloadURL https://raw.githubusercontent.com/Mottie/GitHub-userscripts/master/github-remove-diff-signs.user.js
// @supportURL https://github.com/Mottie/GitHub-userscripts/issues
// ==/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;
}`
);
})();