Guest User

UblockOrigin YouTube and other site blocks for maximum productivity.

a guest
Sep 17th, 2023
1,897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.57 KB | Source Code | 0 0
  1. !---------------------------------------------------
  2. !YouTube COMMANDS:
  3.  
  4. www.youtube.com##ytd-browse[page-subtype="home"]
  5. !gets rid of video recommendations on the homepage - but this DOES NOT affect the search bar.
  6.  
  7. /annotations_module.js$script,important,domain=youtube.com
  8. !disables annotations
  9.  
  10. /endscreen.js$script,important,domain=youtube.com
  11. !actually disables endscreen - wonderful!
  12.  
  13. www.youtube.com###related
  14. !disables related videos-algorithms. best command ever.
  15.  
  16. www.youtube.com##ytd-comments
  17. !disables youtube comments.
  18.  
  19. www.youtube.com##ytd-live-chat-frame
  20. www.youtube.com##yt-live-chat-app
  21. ! disables live chat. (I don't know which command does what though, but I think both are required)
  22.  
  23. i.ytimg.com/vi/
  24. i.ytimg.com/vi_webp/
  25. !Disables almost all YouTube thumbnails. It keeps thumbnails of playlists and channels.
  26. i1.ytimg.com/vi/
  27. !disables main video thumbnails on channel homepage.
  28.  
  29. www.youtube.com###video-preview-container
  30. !disables play when hovering on a youtube Search or Subscriptions page.
  31. i.ytimg.com/an_webp
  32. !disables the 3 second summary play when hovering over a YouTube video in pages like "Videos"
  33.  
  34. ###contentContainer
  35. !blocks the sidebar on the left
  36.  
  37. ###scroll-container > .yt-chip-cloud-renderer.style-scope
  38. !blocks leftside filters
  39.  
  40. ###masthead > .ytd-masthead.style-scope
  41. !the nuclear option: this kills the search bar! slightly controversial. You can only search now by using !yt <search_words> in duckduckgo search. This indirectly removes youtube search recs. Also To access library click top left hidden icon.
  42.  
  43.  
  44. !The above settings should also be compatible if one were to sign-in to YouTube.
  45. !NOTE : TODO: DISABLE SHORTS.
  46. !NOTE : Disabling autoplay is a browser feature, not a UBlockOrigin feature. So go to your browser and disable that shit.
  47. !NOTE : The YouTube Enhancer extension can convert YouTube Shorts to regular videos.
  48.  
  49. !--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  50.  
  51. !Wikipedia COMMANDS (read the note at the bottom of this section)
  52. ##.frb-inline-main
  53. ##.frb-nag-link
  54. !blocking the "doante" prompt at the bottom of the website
  55.  
  56. ##.vector-sitenotice-container
  57. !blocking "A personal message from Jimmy Wales."
  58.  
  59. ##.frb-country-IN.frb-rml-enabled.frb
  60. !Blocking "Wikipedia is Yours!" at the top of the webpage
  61.  
  62. !NOTE : None of these commands work, so they're all pretty useless.
  63.  
  64. !-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  65.  
  66. !Reddit COMMANDS:
  67.  
  68. ##.block.xs\:px-0.px-md.xs\:pt-md.pdp
  69. !blocks Reddit related posts
  70.  
  71. ##.select-none.min-h-screen-without-header.w-full.s\:shrink.shrink-0.xs\:pt-md.pt-xs.mb-0.mt-0.flex-col.flex.box-border.z-\[2\].bg-neutral-background
  72. !blocks reddit related subreddits
  73.  
  74. ##.nd\:overflow-hidden.nd\:visible.h-\[210px\].block
  75. !blocks headers for subreddits?
  76.  
  77. ##.xl\:col-span-9.l\:col-span-9.m\:col-span-6.s\:col-span-8.xs\:col-span-12.col-span-4.block.main > .nd\:visible
  78. !blocks search result display
  79.  
  80. ##.mb-lg.p-md.h-min.bg-neutral-background-weak.rounded-\[1rem\]
  81. ##.text-neutral-content-weak.px-md
  82. ##.mb-md.pt-xs.pb-2xs.rounded-\[8px\].bg-neutral-background-weak
  83. !blocks "view other communities sidebar on the right hand side"
  84.  
  85. ##.xs\:w-\[120px\].xs\:h-\[90px\].w-\[80px\].h-\[60px\].object-cover.rounded-sm
  86. !blocks reddit thumbnail images. well tested.
  87.  
  88. preview.redd.it/
  89. !NUCLEAR : blocks all images on reddit in subreddits and inside the damn post. well tested. doesn't affect videos.
  90.  
  91. ##.max-w-full.max-h-full.w-full.h-full.block
  92. !NUCLEAR : blocks reddit videos. doesn't affect any images on the site. well tested.
  93.  
  94. !NOTE : The last two filters which are "nuclear" completely block all Video and Images from Reddit posts. So you should comment them out if you still want to see the video/images. I would highly recommend disabling autoplay on your browser at the very least to prevent them from autoplaying.
  95.  
  96. !-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  97.  
  98. !Oldreddit COMMANDS:
  99.  
  100. ##.listingsignupbar.infobar
  101. !blocks the "login to reddit" prompt
  102.  
  103. ###sr-header-area
  104. !blocks the subreddit headers
  105.  
  106. b.thumbs.redditmedia.com/*.jpg
  107. !blocks redditmedia?
  108.  
  109. ##.side
  110. !blocks side
  111.  
  112. !NOTE : None of these commands in this section are well-tested.
  113.  
  114. !----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  115.  
  116. !duckduckgo search COMMANDS:
  117.  
  118. external-content.duckduckgo.com/iu/
  119. !NUCLEAR: blocks all images and videos in the search engine. To view images, you must click on them and click "open file." This is substantially slower, but much better.
  120.  
  121. !---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  122.  
  123. !Quora COMMANDS
  124. qph.cf2.quoracdn.net/
  125. !NUCLEAR: blocks images.
  126.  
  127. ##.qu-mb--large.q-box > .qu-bg--raised.qu-mb--small.qu-boxShadow--small.qu-borderColor--raised.qu-borderRadius--small.qu-borderAll.dom_annotate_related_questions.q-box
  128. !Blocks the related quora articles on the Right hand side - Not well tested!
  129.  
  130. quora.com##div#credential_picker_container
  131. !blocks the Pop-up that you must be at least 13 years of age etc.. and you must login to browse Quora.
  132.  
  133. !NOTE: None of the commands in this section are well tested.
  134.  
  135. !-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  136.  
  137. !stackoverflow/exchange COMMANDS
  138.  
  139. ##.wmx12.mx-auto.jc-center.ai-center.d-flex.px12
  140. !block sign up banner on top
  141.  
  142. ##.show-votes
  143. !blocks related right sidebar
  144.  
  145. ##.js-sticky-leftnav.left-sidebar--sticky-container
  146. !blocks left sidebar
  147.  
  148. ##.site-footer--container
  149. !blocks footer
  150.  
  151. ##.js-dismissable-hero.z-nav.b0.r0.l0.ps-fixed.bc-black-100.bt.bs-sm.bg-black-025
  152. !blocks login with google/email/facebook footer (stackoverflow)
  153.  
  154. ##.tex2jax_ignore.module
  155. !blocks hot network questions in searching
  156. !----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  157.  
Advertisement
Add Comment
Please, Sign In to add comment