Advertisement
geraldandy

Untitled

Oct 14th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. /* background */
  2. @-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) {
  3. .click-target-container *, .top-sites-list * {
  4. color: #fff !important ;
  5. text-shadow: 2px 2px 2px #222 !important ;
  6. }
  7. body::before {
  8. content: "" ;
  9. z-index: -1 ;
  10. position: fixed ;
  11. top: 0 ;
  12. left: 0 ;
  13. background: #f9a no-repeat url(img/wp2757868-1140009044.gif) center ;
  14. background-size: cover ;
  15. width: 100vw ;
  16. height: 100vh ;
  17. }
  18. }
  19.  
  20. /* remove the settings icon thing on the background */
  21. .icon.icon-settings {
  22. display: none !important;
  23. }
  24.  
  25. @-moz-document domain("youtube.com") {
  26. #suggestions { display: none !important; }
  27. .sbsb_a { display: none !important; }
  28. }
  29.  
  30. @-moz-document domain("youtube.com") {
  31. #guide-button { display: none !important; } /* Hamburger menu */
  32. #logo-icon-container { display: none !important; } /* YouTube Home logo */
  33. ytd-topbar-logo-renderer { display: none !important; } /* Another logo variant */
  34. a[href="/"] { display: none !important; } /* Home button */
  35. }
  36.  
  37. /* Hide "Skip Navigation" */
  38. #skip-navigation {
  39. display: none !important;
  40. }
  41.  
  42. /* Extra clean-up if it's part of a wrapper */
  43. ytd-topbar-menu-button-renderer:has(a[href*="/@"]) {
  44. display: none !important;
  45. }
  46.  
  47. /* Keep the rest of the top bar intact */
  48. #skip-navigation {
  49. display: none !important;
  50. }
  51. }
  52.  
  53. /* Remove the "Search" tooltip on the magnifying glass button */
  54. #search-icon-legacy[title="Search"],
  55. #search-icon-legacy[aria-label="Search"] {
  56. font-size: 0 !important;
  57. }
  58.  
  59. #search-icon-legacy[title="Search"]::before,
  60. #search-icon-legacy[aria-label="Search"]::before {
  61. content: none !important;
  62. }
  63.  
  64. /* Disable all tooltips as a fallback */
  65. [tooltip],
  66. [title] {
  67. pointer-events: none !important;
  68. }
  69.  
  70. [tooltip]::after,
  71. [title]::after {
  72. content: none !important;
  73. }
  74.  
  75. /* Remove the "Search" tooltip on the magnifying glass button */
  76. #search-icon-legacy {
  77. pointer-events: none;
  78. }
  79.  
  80. #search-icon-legacy::after {
  81. content: none !important;
  82. }
  83.  
  84. /* Hide the paper tooltip */
  85. .yt-spec-icon-shape__tooltip,
  86. ytd-searchbox .yt-paper-tooltip {
  87. display: none !important;
  88. }
  89.  
  90. /* Disable all tooltips as a fallback */
  91. [tooltip],
  92. [title] {
  93. pointer-events: none !important;
  94. }
  95.  
  96. [tooltip]::after,
  97. [title]::after {
  98. content: none !important;
  99. }
  100.  
  101. /* Hide the "Search" button text if needed */
  102. #search-icon-legacy yt-icon-button {
  103. font-size: 0 !important;
  104. }
  105.  
  106. /* Hide the "You" button */
  107. ytd-guide-entry-renderer[title="You"],
  108. ytd-mini-guide-entry-renderer[aria-label="You"] {
  109. display: none !important;
  110. }
  111.  
  112. ytd-watch-metadata yt-formatted-string.ytd-watch-metadata {
  113. display: none !important;
  114. }
  115.  
  116.  
  117.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement