Skip to content

Instantly share code, notes, and snippets.

@jsEveryDay
Last active August 26, 2021 20:47
Show Gist options
  • Save jsEveryDay/3d9be376d0275894984883e9624db73f to your computer and use it in GitHub Desktop.
Save jsEveryDay/3d9be376d0275894984883e9624db73f to your computer and use it in GitHub Desktop.
Engadget Dark - Adblock
www.engadget.com##header
www.engadget.com##nav
www.engadget.com##iframe
www.engadget.com##script
www.engadget.com##div.i-native-ad-container
www.engadget.com##div.hide
www.engadget.com##main div > div > div > div > div:has(form[action="/a/mail_subscribe"])
www.engadget.com##svg
www.engadget.com##form
www.engadget.com##.bg-gray-11\@tl\+.border-bottom\@tp-.relative
www.engadget.com##.o-h.th-base > .hide\@tp-
www.engadget.com##.inner-floating-container
www.engadget.com##.th-base:style( background-color: #202020 !important; border-color: #474747 !important;)
www.engadget.com##figure,h1,h2,h3,h4,h5,ol,p,ul:style( color: #cccccc !important;)
www.engadget.com##a,p.c-gray-3:style( color: #a7a7a7 !important;)
www.engadget.com##div.bg-white\@tp\+:style( background-color: #202020e0 !important;)
www.engadget.com##div.th-meta
www.engadget.com##div.o-aside-posts
www.engadget.com##div#right-ads-rail
www.engadget.com##section#engadget-recirculation-module
www.engadget.com##main > section > div > div > div:nth-of-type(2)
www.engadget.com##main > div > div > div > div:nth-of-type(2)
www.engadget.com##main > div > div.grid.flex > div:nth-of-type(1)
www.engadget.com##main:style( width: 50vw !important; margin-left: 15vw !important;)
www.engadget.com##div.article-text:style( width: 50vw !important;)
www.engadget.com##div#engadget-the-latest > div.border-top
www.engadget.com##div#engadget-the-latest > div:style( padding-top: 15px !important; margin-top: 15px !important;)
www.engadget.com##img:style( border-radius: 8px !important;)
www.engadget.com##div.rwd-outer-container:style( margin-left: -15vw !important;)
www.engadget.com##body:style( background-color: black !important;)
www.engadget.com##[data-component='TwoColumnContainer'] > div:nth-child(2)
www.engadget.com##footer
!We check if div.rwd-outer-container has 2 inner divs or not. If 2 then block it bc main page, otherwise it's an article so don't block.
www.engadget.com##main > div > div> section > div.rwd-outer-container:has(> div:nth-child(2))
@jsEveryDay
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment