Skip to content

Instantly share code, notes, and snippets.

@LachlanArthur
Last active November 20, 2020 01:22
Show Gist options
  • Select an option

  • Save LachlanArthur/13a17bc697e58e0f4182dec7b00fa59f to your computer and use it in GitHub Desktop.

Select an option

Save LachlanArthur/13a17bc697e58e0f4182dec7b00fa59f to your computer and use it in GitHub Desktop.
My uBlock Origin Custom Filters
! add exception to EasyList rule to let YouTube track video progress
@@||s.youtube.com/api/stats/watchtime*
www.hackertyper.com###menu
www.engineeringtoolbox.com##.adblo
! 05/12/2018, 17:27:38 All Medium sites - Old
! ##head[prefix*="medium-com"] + body .metabar
! ##head[prefix*="medium-com"] + body .js-followState
! ##head[prefix*="medium-com"] + body .js-stickyFooter
! ##head[prefix*="medium-com"] + body .js-postShareWidget
! ##head[prefix*="medium-com"] + body .js-postActionsFooter
! ##head[prefix*="medium-com"] + body > iframe[src^="https://smartlock.google.com/"]
! ##head[prefix*="medium-com"] + body > div.overlay.overlay--light[data-action-scope="_actionscope_4"]
! 2019-08-11 - New Medium (obfuscated classes)
! Remove everything except the article
*##head:has(meta[name="twitter:app:url:iphone"][content^="medium://"]) + body #root > div > *:not(article)
! Registration popup
*##head:has(meta[name="twitter:app:url:iphone"][content^="medium://"]) + body #root ~ div div[aria-modal]
! Google Login
*##head:has(meta[name="twitter:app:url:iphone"][content^="medium://"]) + body #credential_picker_container
www.facebook.com###pagelet_ego_pane
www.facebook.com###u_0_0 > .home_right_column
www.amazon.com###amsSparkleAdWrapper
! Remove sponsored products
www.kogan.com##[itemtype="http://schema.org/Product"]:has(section > *:has-text(/^sponsored$/i) + h2[itemprop="name"])
! 2020-11-19 https://www.google.com - "People also search for"
www.google.com##div[jscontroller]:has(h4:has-text(People also search for))
www.google.com##[style*="height"][style*="transition"]:style(height: auto !important;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment