GitHub Remove Diff Signs

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

目前为 2019-02-17 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name GitHub Remove Diff Signs
  3. // @version 1.3.2
  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://github.githubassets.com/pinned-octocat.svg
  12. // ==/UserScript==
  13. (() => {
  14. "use strict";
  15.  
  16. GM_addStyle(`
  17. .blob-code-inner:before,
  18. .blob-code-marker-context:before,
  19. .blob-code-marker-addition:before,
  20. .blob-code-marker-deletion:before {
  21. visibility: hidden !important;
  22. }`
  23. );
  24.  
  25. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址