Advertisement
geraldandy

Untitled

Nov 27th, 2024
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.35 KB | None | 0 0
  1. /* Background styling for Firefox pages */
  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/library.jpg) center;
  14. background-size: cover;
  15. width: 100vw;
  16. height: 100vh;
  17. }
  18. }
  19.  
  20. /* Remove the settings icon */
  21. .icon.icon-settings {
  22. display: none !important;
  23. }
  24.  
  25. /* YouTube specific tweaks */
  26. @-moz-document domain("youtube.com") {
  27. /* Hide suggestions and search bar suggestions */
  28. #suggestions, .sbsb_a {
  29. display: none !important;
  30. }
  31.  
  32. /* Hide the hamburger menu and various YouTube logos */
  33. #guide-button, #logo-icon-container, ytd-topbar-logo-renderer,
  34. a[href="/"] {
  35. display: none !important;
  36. }
  37.  
  38. /* Hide "Skip Navigation" */
  39. #skip-navigation {
  40. display: none !important;
  41. }
  42.  
  43. /* Hide "You" button in side menus */
  44. ytd-guide-entry-renderer[title="You"],
  45. ytd-mini-guide-entry-renderer[aria-label="You"] {
  46. display: none !important;
  47. }
  48.  
  49. /* Remove tooltips on buttons */
  50. [tooltip] {
  51. display: none !important;
  52. }
  53.  
  54. #search-icon-legacy::before,
  55. [tooltip]::after, [title]::after {
  56. content: none !important;
  57. }
  58.  
  59. /* Hide paper tooltip */
  60. .yt-spec-icon-shape__tooltip,
  61. ytd-searchbox .yt-paper-tooltip {
  62. display: none !important;
  63. }
  64. }
  65.  
  66. @-moz-document domain("youtube.com") {
  67. div#scroll-container.style-scope.yt-chip-cloud-renderer {
  68. display: none;
  69. }
  70.  
  71. @-moz-document domain("youtube.com") {
  72. /* Hide the tooltip on the filter button */
  73. tp-yt-paper-tooltip {
  74. display: none !important;
  75. }
  76.  
  77. @-moz-document domain("youtube.com") {
  78. yt-icon#search-icon {
  79. display: none !important;
  80. }
  81.  
  82. @-moz-document domain("youtube.com") {
  83. #search-icon-legacy {
  84. display: none !important;
  85. }
  86.  
  87. @-moz-document domain("youtube.com") {
  88. #container.ytd-searchbox {
  89. border-radius: 40px 40px 40px 40px !important;
  90. }
  91.  
  92. @-moz-document domain("youtube.com") {
  93. /* Make the 'Search' placeholder text transparent */
  94. input#search[placeholder="Search"]::placeholder {
  95. color: transparent !important;
  96. }
  97. }
  98.  
  99. @-moz-document domain("youtube.com") {
  100. /*remove x */
  101. #search-clear-button.ytd-searchbox ytd-button-renderer.ytd-searchbox {
  102. display: none !important;
  103. }
  104.  
  105. @-moz-document domain(youtube.com) {
  106. /* Prevent YouTube search bar from expanding */
  107. ytd-searchbox[has-focus] #container.ytd-searchbox,
  108. ytd-searchbox #container.ytd-searchbox,
  109. ytd-searchbox[has-focus],
  110. ytd-searchbox {
  111. width: 100% !important;
  112. max-width: none !important;
  113. min-width: 0 !important;
  114. padding-left: 20px !important;
  115. margin-left: 0 !important;
  116. transition: none !important;
  117. }
  118.  
  119. ytd-searchbox[has-focus] #search-input.ytd-searchbox,
  120. ytd-searchbox #search-input.ytd-searchbox {
  121. padding-left: 10px !important;
  122. padding-right: 10px !important;
  123. }
  124.  
  125. /* Ensure the search icon doesn't cause expansion */
  126. ytd-searchbox[has-focus] #search-icon-legacy.ytd-searchbox,
  127. ytd-searchbox #search-icon-legacy.ytd-searchbox {
  128. padding: 0 !important;
  129. margin: 0 !important;
  130. width: auto !important;
  131. }
  132. }
  133.  
  134. @-moz-document domain("youtube.com") {
  135. /* playlist color */
  136. div.header.style-scope.ytd-playlist-panel-renderer {
  137. background-color: rgba(24, 69, 59, 0.2) !important;
  138. }
  139. }
  140.  
  141. @-moz-document domain("youtube.com") {
  142. /* chapters color */
  143. div#header.style-scope.ytd-engagement-panel-title-header-renderer {
  144. background-color: rgba(24, 69, 59, 0.2) !important;
  145. }
  146. }
  147.  
  148. @-moz-document domain("youtube.com") {
  149. /* Styling the search box border */
  150. #container.ytd-searchbox {
  151. border: 1px solid rgba(30, 70, 40, 0.9) !important;
  152. box-shadow: none !important;
  153. }
  154. }
  155.  
  156. @-moz-document domain("youtube.com") {
  157. /* remove snippet */
  158. div.metadata-snippet-container.style-scope.ytd-video-renderer, div.metadata-snippet-container-one-line.style-scope.ytd-video-renderer {
  159. display: none !important;
  160. }
  161. }
  162.  
  163. @-moz-document domain("youtube.com") {
  164. /* remove snippet */
  165. ytd-badge-supported-renderer#badges.style-scope.ytd-video-renderer {
  166. display: none !important;
  167. }
  168. }
  169.  
  170. @-moz-document domain("youtube.com") {
  171. /* remove snippet */
  172. div#header.style-scope.ytd-expandable-metadata-renderer {
  173. display: none !important;
  174. }
  175. }
  176.  
  177. @-moz-document domain("youtube.com") {
  178. /* remove watch later icon */
  179. div.ytp-watch-later-icon {
  180. display: none !important;
  181. }
  182. }
  183.  
  184. @-moz-document domain("youtube.com") {
  185. /* remove pplaylsit chuchu */
  186. li.style-scope.ytd-playlist-renderer {
  187. display: none !important;
  188. }
  189. }
  190.  
  191. @-moz-document domain("youtube.com") {
  192. /* chanel desethehrgsnl */
  193. yt-formatted-string#description.style-scope.ytd-channel-renderer {
  194. display: none !important;
  195. }
  196. }
  197.  
  198. @-moz-document domain("youtube.com") {
  199. /* REMOVE VIEW FULL PLAYLIST in searhc results */
  200. #view-more.ytd-playlist-renderer {
  201. display: none !important;
  202. }
  203. }
  204.  
  205. @-moz-document domain("youtube.com") {
  206. /* remove secondary results somthign */
  207. #secondary.ytd-two-column-search-results-renderer {
  208. display: none !important;
  209. }
  210. }
  211.  
  212. @-moz-document domain("youtube.com") {
  213. /* remove music simehitn in thew descprtirogjf */
  214. ytd-structured-description-content-renderer[modern] ytd-horizontal-card-list-renderer.ytd-structured-description-content-renderer {
  215. display: none !important;
  216. }
  217. }
  218.  
  219.  
  220.  
  221. @-moz-document domain("youtube.com") {
  222. /* remove music simehitn in thew descprtirogjf */
  223. ytd-structured-description-content-renderer[modern] ytd-horizontal-card-list-renderer.ytd-structured-description-content-renderer {
  224. display: none !important;
  225. }
  226. }
  227.  
  228. @-moz-document domain("youtube.com") {
  229. /* remove social liknks */
  230. #social-links.ytd-video-description-infocards-section-renderer {
  231. display: none !important;
  232. }
  233. }
  234.  
  235. @-moz-document domain("youtube.com") {
  236. /* change hashtags color and disable pointer evetnts */
  237. .yt-core-attributed-string__link--call-to-action-color, a.yt-simple-endpoint.yt-formatted-string {
  238. pointer-events: none !important;
  239. color: var(--yt-spec-text-primary) !important;
  240. }
  241. }
  242.  
  243. @-moz-document domain("youtube.com") {
  244. /* remove transcript in the description */
  245. ytd-video-description-transcript-section-renderer[modern], #infocards-section.ytd-video-description-infocards-section-renderer {
  246. display: none !important;
  247. }
  248. }
  249.  
  250. @-moz-document domain("youtube.com") {
  251. /* remove podcast something in the description */
  252. ytd-video-description-course-section-renderer.ytd-structured-description-content-renderer {
  253. display: none !important;
  254. }
  255. }
  256.  
  257. @-moz-document domain("youtube.com") {
  258. /* remove how this content was made in the description */
  259. .YtwHowThisWasMadeSectionViewModelHost {
  260. display: none !important;
  261. }
  262. }
  263.  
  264. @-moz-document domain("youtube.com") {
  265. .ytp-tooltip {
  266. display: none !important;
  267. }
  268.  
  269. @-moz-document domain("youtube.com") {
  270. /* remove the course progress thing */
  271. .YtwCourseProgressViewModelHost {
  272. display: none !important;
  273. }
  274.  
  275. @-moz-document domain("youtube.com") {
  276. /* remove the course progress thing */
  277. .yt-video-attributes-section-view-model {
  278. display: none !important;
  279. }
  280.  
  281. @-moz-document domain("youtube.com") {
  282. /* remove the course progress thing */
  283. .sbdd_b {
  284. display: none !important;
  285. }
  286.  
  287. @-moz-document domain("youtube.com") {
  288. /* remove the course progress thing */
  289. a.ytd-mini-guide-entry-renderer {
  290. display: none !important;
  291. }
  292.  
  293. @-moz-document domain("youtube.com") {
  294. /* remove the title in fullscreen */
  295. .ytp-title-fullerscreen-link {
  296. display: none !important;
  297. }
  298.  
  299. @-moz-document domain("youtube.com") {
  300. /* remove did you mean */
  301. yt-search-query-correction {
  302. display: none !important;
  303. }
  304.  
  305. @-moz-document domain("youtube.com") {
  306. /* Only apply when in fullscreen */
  307. *:fullscreen {
  308. /* Remove the title in fullscreen */
  309. .ytp-title-fullerscreen-link {
  310. display: none !important;
  311. }
  312.  
  313. /* Remove progress bar in fullscreen */
  314. .ytp-chrome-bottom {
  315. display: none !important;
  316. }
  317.  
  318. /* Remove top gradient shadow */
  319. .ytp-gradient-top {
  320. display: none !important;
  321. }
  322.  
  323. /* Remove bottom gradient shadow */
  324. .ytp-gradient-bottom {
  325. display: none !important;
  326. }
  327.  
  328. /* Remove video controls */
  329. .ytp-chrome-controls {
  330. display: none !important;
  331. }
  332.  
  333. /* disable the captions from hovering in fullscreen */
  334. .caption-window.ytp-caption-window-bottom {
  335. margin-bottom: 0 !important;
  336. }
  337.  
  338. .ytp-player-content .ytp-bezel {
  339. display: none !important;
  340. }
  341. }
  342. }
  343.  
  344. @-moz-document domain("youtube.com") {
  345. #button.ytd-menu-renderer {
  346. display: none !important;
  347. }
  348.  
  349.  
  350. /* some of the codes dont work, clean them up when you have the time */
  351.  
  352. @-moz-document domain("youtube.com") {
  353. *:fullscreen {
  354. .ytp-doubletap-ui-legacy {
  355. display: none !important;
  356. }
  357. }
  358. }
  359.  
  360. @-moz-document domain("youtube.com") {
  361. *:fullscreen {
  362. /* Hide play/pause overlay and related UI */
  363. .ytp-overlay-play-button, /* Overlay play button */
  364. .ytp-pause-overlay, /* Pause screen overlay */
  365. .ytp-bezel { /* Play/pause animation in the center */
  366. display: none !important;
  367. }
  368. }
  369. }
  370.  
  371.  
  372.  
  373.  
  374. @-moz-document domain("youtube.com") {
  375. .ytp-big-mode .ytp-playlist-menu-button-icon {
  376. display: none !important;
  377. }
  378. }
  379.  
  380. @-moz-document domain("youtube.com") {
  381. .ytp-big-mode .ytp-playlist-menu-button-text {
  382. display: none !important;
  383. }
  384. }
  385.  
  386. :root{ scrollbar-width: none }
  387.  
  388. *{ scrollbar-width: none }
  389.  
  390. @-moz-document domain("translate.google.com") {
  391. * {
  392. display: none !important;
  393. }
  394. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement