Hide Octotree

It hides the Octotree button.

  1. // ==UserScript==
  2. // @name Hide Octotree
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description It hides the Octotree button.
  6. // @author You
  7. // @match https://github.com/*
  8. // @icon https://assets.stickpng.com/images/5847f98fcef1014c0b5e48c0.png
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. window.addEventListener("load", (event) => {
  14. const bar = document.getElementsByClassName("octotree-toggle");
  15. bar[0].style = "opacity: 0;position: absolute;width: 10px;height: 100%;left: 215px;"
  16. });

QingJ © 2025

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