Skip to content

Instantly share code, notes, and snippets.

@XtinaSchelin
Last active March 23, 2019 11:48
Show Gist options
  • Select an option

  • Save XtinaSchelin/28a3acbf71003b74e7388c4bfe96706b to your computer and use it in GitHub Desktop.

Select an option

Save XtinaSchelin/28a3acbf71003b74e7388c4bfe96706b to your computer and use it in GitHub Desktop.
Block special annoyances.
! Future-self: When you click Raw, delete everything after /raw/ so that you get the most recent version of this.
! [1-5] Block all annotations and cards in YouTube videos.
youtube.com##.ytp-ce-element
youtube.com##.video-annotations
youtube.com##.ytp-cards-button
youtube.com##.ytp-pause-overlay
youtube.com##.ytp-cards-teaser-box
! [6-7] Remove Pinterest promoted pins.
www.pinterest.com##:xpath(//div[text()='Promoted']/../../../../..)
www.pinterest.com##:xpath(//div[text()='Promoted by']/../../../../..)
! [8-11] Within Gmail, block advertisements in Patch.com emails.
mail.google.com##a[href^="http://link.patch.com/click/"] > img[width="600"]
mail.google.com##a[href*="https://media.sailthru.com"]
mail.google.com##td[class$="responsive-ad"]
mail.google.com##a[href*="link.patch.com"] > img[src*="layout=marquee"]
! [12-13] Remove non-specific notifs from Twitter notifications.
twitter.com##*.has-clickAction.stream-item-activity-notification.stream-item-generic
twitter.com##.with-contextTweet.stream-item-activity-notification.stream-item-generic.stream-item-activity.clearfix.stream-item-content.ActivityItem--generic.ActivityItem
! [14-16] Babycenter "just unblock ads! :(" containers.
www.babycenter.com###leaderAdOuter
www.babycenter.com###mediumRectangleAd1Container
www.babycenter.com###gptSkyscraperAdContainer
! [17-18] The container for the Cracked ad that's blocked elsewhere.
www.cracked.com##.inject-ad.bannerAd
www.cracked.com##.continue-reading
! [19] LinkedIn ad banners. I'm vicious about adverts.
www.linkedin.com##.ad-banner
! [20] Sidebar ads on the scripts site.
www.springfieldspringfield.co.uk##.hidden.additional-content
! [21-22] I would never suggest going to this site!
www.rulit.me##td[id="program_img"] > table:first-child
www2.putlocker123.stream##.adtimes
! [23-24] FreshDirect items.
||promo.freshdirect.com/RealMedia/ads/$image
www.freshdirect.com##a[href^="https://promo.freshdirect.com/RealMedia/ads"]
! [25] Heck calorie counting.
www.livestrong.com##.js-calorie_tracker_module.calorie_tracker_module--content.calorie_tracker_module
! [26-29] Cryptograms.
||www.cryptograms.org/images/footerad/footer-black.png$image
www.cryptograms.org###footer_center
www.cryptograms.org###checkfora
www.cryptograms.org##img[src$="/images/hateads.jpg"]
! [30-31] This site called Admiral does the "unblock meeeee :( " stuff. Heck them.
optimallimit.com
kombitz.com##.kill-adblock-hide
! [32] ADS!!! :( :( :(
https://www.washingtonpost.com/pb/api/v2/render/feature/page/adblocker-feature*
! [33] Push notifications from a place called PushCrew.
cdn.pushcrew.com
! [34] Another tracker.
qualtrics.com
! [35] Just some fuckers.
imagetopng.club
! [36] Good lord, Chicago Tribune.
https://*.g00.chicagotribune.com/
https://www.chicagotribune.com/g00/*
! [37-39] Nice try, Inoreader.
www.inoreader.com##.block_article_ad
www.inoreader.com###sinner_container
www.inoreader.com##.ad_everything_read
! [40] No sponsored posts.
nextdoor.com##div.sponsored-post-container
! [41] Newspaper stuff?
www.ajc.com##.cmg-meter__inner--roadblock-adblock.cmg-meter__inner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment