YouTube Player Buttons Remover

Choose which buttons you want to remove from the YouTube Player

  1. /* ==UserStyle==
  2. @name YouTube Player Buttons Remover
  3. @namespace https://github.com/pabli24
  4. @version 1.1.2
  5. @description Choose which buttons you want to remove from the YouTube Player
  6. @author Pabli
  7. @license MIT
  8. @homepageURL https://github.com/pabli24/YTPlayerButtonsRemover/
  9. @supportURL https://github.com/pabli24/YTPlayerButtonsRemover/issues
  10. @preprocessor stylus
  11.  
  12. @var number h1 "REMOVE:" [1,1,1]
  13. @var checkbox hideall "Everything from the player" 0
  14. @var checkbox gradient "Background under the buttons" 0
  15.  
  16. @var number h2 "▲ --- PLAYER TOP --- ▲" [2,2,2]
  17. @var checkbox titlec "Channel Logo" 0
  18. @var checkbox titley "Video title" 0
  19. @var checkbox playlist "Playlist" 0
  20. @var checkbox watchl "Watch later" 0
  21. @var checkbox share "Share" 0
  22. @var checkbox copylink "Copy link" 0
  23. @var checkbox cards "Cards" 0
  24. @var checkbox cardst "Cards teaser" 0
  25. @var checkbox overflowb "Overflow button" 0
  26.  
  27. @var number h3 "▼ --- PLAYER BOTTOM --- ▼" [3,3,3]
  28. @var checkbox morevideo "More videos" 0
  29. @var checkbox anno "Annotations" 0
  30. @var checkbox prbar "Progress bar" 0
  31.  
  32. @var number h31 "◣ --- BOTTOM LEFT --- ◣" [3.1,3.1,3.1]
  33. @var checkbox prev "Prev" 0
  34. @var checkbox play "Play" 0
  35. @var checkbox next "Next" 0
  36. @var checkbox vol "Volume" 0
  37. @var checkbox timed "Time" 0
  38. @var checkbox chapter "View chapter" 0
  39.  
  40. @var number h32 "◢ --- BOTTOM RIGHT --- ◢" [3.2,3.2,3.2]
  41. @var checkbox autonav "Autoplay" 0
  42. @var checkbox fuller "Scroll for details" 0
  43. @var checkbox subtitles "Subtitles" 0
  44. @var checkbox settings "Settings" 0
  45. @var checkbox multicam "Multicam" 0
  46. @var checkbox mplayer "Miniplayer" 0
  47. @var checkbox pipb "Picture in Picture" 0
  48. @var checkbox sizeb "Theater mode" 0
  49. @var checkbox remote "Play on TV" 0
  50. @var checkbox full "Full screen" 0
  51.  
  52. @var number h4 "▼ --- UNDER THE PLAYER --- ▼" [4,4,4]
  53. @var checkbox like "Like/Dislike" 0
  54. @var checkbox share2 "Share*" 0
  55. @var checkbox download "Download" 0
  56. @var checkbox thanks "Thanks*" 0
  57. @var checkbox clip "Clip*" 0
  58. @var checkbox save "Save*" 0
  59. @var checkbox report "Report*" 0
  60. @var checkbox sponsor "Join" 0
  61. @var checkbox subs "Subscribe/Subscribed" 0
  62. @var checkbox subbed "Subscribed*" 0
  63. @var checkbox ico "Show icons only" 0
  64. @var number p41 "*Chrome/Edge 105+, Opera 91+, Firefox 121+ or your browser has to support ':has()' selector. Also set youtube language to: English, Spanish or Polish" [4.1,4.1,4.1,4.1]
  65.  
  66. ==/UserStyle== */
  67.  
  68. @-moz-document domain("youtube.com") {
  69.  
  70. d() {display: none !important}
  71.  
  72. if hideall {.ytp-chrome-bottom,.ytp-chrome-top,.annotation,.ytp-pause-overlay,.ytp-gradient-top,.ytp-gradient-bottom {d:n}}
  73. if gradient {.ytp-gradient-top,.ytp-gradient-bottom {d:n}}
  74. // .ytp-chrome-top
  75. if titlec {.ytp-title-channel {d:n}}
  76. if titley {.ytp-title {d:n}}
  77. if playlist {.ytp-playlist-menu-button {d:n}}
  78. if watchl {.ytp-watch-later-button {d:n}}
  79. if share {.ytp-share-button {d:n}}
  80. if copylink {.ytp-copylink-button {d:n}}
  81. if cards {.ytp-cards-button {d:n}}
  82. if cardst {.ytp-cards-teaser {d:n}}
  83. if overflowb {.ytp-overflow-button {d:n}}
  84. // .ytp-chrome-bottom
  85. if morevideo {.ytp-pause-overlay {d:n}}
  86. if anno {.annotation {d:n}}
  87. if prbar {.ytp-progress-bar-container {d:n}}
  88. // .ytp-left-controls
  89. if prev {.ytp-prev-button {d:n}}
  90. if play {.ytp-play-button {d:n}}
  91. if next {.ytp-next-button {d:n}}
  92. if vol {.ytp-volume-area {d:n}}
  93. if timed {.ytp-time-display {d:n}}
  94. if chapter {.ytp-chapter-container {d:n}}
  95. // .ytp-right-controls
  96. if autonav {[data-tooltip-target-id="ytp-autonav-toggle-button"] {d:n}}
  97. if fuller {.ytp-fullerscreen-edu-button {d:n}}
  98. if subtitles {.ytp-subtitles-button {d:n}}
  99. if settings {.ytp-settings-button {d:n}}
  100. if multicam {.ytp-multicam-button {d:n}}
  101. if mplayer {.ytp-miniplayer-button {d:n}}
  102. if pipb {#movie_player div.ytp-chrome-controls button.ytp-pip-button.ytp-button {d:n}}
  103. if sizeb {.ytp-size-button {d:n}}
  104. if remote {.ytp-remote-button {d:n}}
  105. if full {.ytp-fullscreen-button {d:n}}
  106. // .top-level-buttons
  107. ytd = 'yt-button-view-model:has([aria-label*='
  108. if like {ytd-menu-renderer segmented-like-dislike-button-view-model {d:n}}
  109. if share2 {{ytd}{&"Share"]),&"Compartir"]),&"Udostępnij"]) {d:n}}}
  110. if download {ytd-menu-renderer ytd-download-button-renderer {d:n}}
  111. if thanks {{ytd}{&"Thanks"]),&"Gracias"]),&"Podziękuj"]) {d:n}}}
  112. if clip {{ytd}{&"Clip"]),&"Klip"]) {d:n}}}
  113. if save {{ytd}{&"Save to playlist"]),&"Añadir"]),&"Zapisz na playliście"]) {d:n}}}
  114. if report {{ytd}{&"Report"]),&"Denunciar"]),&"Zgłoś"]) {d:n}}}
  115. if sponsor {#sponsor-button {d:n}}
  116. if subs {#top-row #subscribe-button {d:n}}
  117. if subbed {#top-row #subscribe-button:not(:has(#notification-preference-button[hidden])) {d:n}}
  118.  
  119. if ico {
  120. yt-button-view-model .yt-spec-button-shape-next__button-text-content,
  121. ytd-download-button-renderer .yt-spec-button-shape-next__button-text-content {
  122. d:n
  123. }
  124. .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading .yt-spec-button-shape-next__icon {
  125. margin-right: 0
  126. margin-left: 0
  127. }
  128. }
  129.  
  130. }

QingJ © 2025

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