GitHub Remove Diff Signs

A userscript that hides the "+" and "-" from code diffs

当前为 2018-07-31 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name GitHub Remove Diff Signs
  3. // @version 1.3.0
  4. // @description A userscript that hides the "+" and "-" from code diffs
  5. // @license MIT
  6. // @author Rob Garrison
  7. // @namespace https://github.com/Mottie
  8. // @include https://github.com/*
  9. // @run-at document-idle
  10. // @grant GM_addStyle
  11. // @icon https://assets-cdn.github.com/pinned-octocat.svg
  12. // ==/UserScript==
  13. (() => {
  14. "use strict";
  15.  
  16. GM_addStyle(`
  17. .blob-code-marker-context:before,
  18. .blob-code-marker-addition:before,
  19. .blob-code-marker-deletion:before {
  20. display: none !important;
  21. }`
  22. );
  23.  
  24. })();