Skip to content

Instantly share code, notes, and snippets.

@sgeto
Created December 2, 2016 01:45
Show Gist options
  • Save sgeto/f1dc336816af08c25e7a5510e42dc052 to your computer and use it in GitHub Desktop.
Save sgeto/f1dc336816af08c25e7a5510e42dc052 to your computer and use it in GitHub Desktop.
# µBlock -- Privacy
#
# Some of these filters make use of the `important` filter option,
# which purpose is to guarantee that a filter won't be overriden by
# exception filters.
#
# I will use data from benchmarks to decide what to add here.
# https://github.com/gorhill/uBlock/wiki/%C2%B5Block-and-others:-Blocking-ads,-trackers,-malwares
# I think web sites can live without this
# Commented out on 2014-10-03: I don't see it anymore in benchmarks. Will see.
# Commenting it out allows me to enable this one out-of-the-box.
# ||linkedin.com^$third-party,important
# https://github.com/chrisaljoudi/uBlock/issues/289
# Commented out, breaks to many sites. See:
# https://hg.adblockplus.org/easylist/rev/9f6e928c258a#l2.12
# Users can still block this one through hpHosts, MVPS, Dan Pollock's or
# manually through custom filters, or 3rd-party scripts
# ||www.googletagservices.com/tag/js/gpt.js
# To counter EasyList's `@@||trc.taboola.com*http%$script,third-party`
||trc.taboola.com*http%$script,third-party,important
# https://adblockplus.org/forum/viewtopic.php?f=2&t=38703
# 1st-party "recommendations" should never depends on a 3rd-party doing the job:
# this is just disguised tracking
||taboola.com^$third-party
# Spotted on <http://venturebeat.com/>: no www site, and no resource returned.
# Belong to Amazon.com. The GET request is full of tracker-looking data.
||silkenthreadiness.info^
# https://news.ycombinator.com/item?id=10662793
# Each client site has a specific id: this means the following information
# becomes available to adblockanalytics.com:
# - IP address (user)
# - web site ID (allows to uniquely identify a web site)
# - Whether a blocker is used
# - Screen size/browser viewport size
||adblockanalytics.com^$third-party
# Redirect to neutered Google Analytics
||google-analytics.com/analytics.js$script,redirect=google-analytics.com/analytics.js
# https://github.com/gorhill/uBlock/issues/1411
# https://www.reddit.com/r/firefox/comments/3pwcey/firefox_extension_download_manager_s3_asks_for/
# https://www.reddit.com/r/chrome/comments/473ves/help_how_to_remove_qipru_redirect_when_searching/
||lnkr.us^$document
||metrext.com^$document
||icontent.us^$document
||qip.ng^$document
||qip.ru^$document
# https://github.com/gorhill/uBlock/issues/1411#issuecomment-201031771
||ratexchange.net^
||trendtext.eu^
||adnotbad.com^
||adserv.info^
||serverads.net^
||jsfuel.com^
||spaceshipad.com^
||takethatad.com^
||tradeadsexchange.com^
# https://www.reddit.com/r/ublock/comments/47o2ih/ublock_disabling_all_javascript_links/d0fhock
# Time to bring this filter out of experimental status
||googletagservices.com/tag/js/gpt.js$script,redirect=googletagservices.com/gpt.js
# https://github.com/gorhill/uBlock/issues/1265
||scorecardresearch.com/beacon.js$script,redirect=scorecardresearch.com/beacon.js
# https://github.com/uBlockOrigin/uAssets/issues/7
||google-analytics.com/ga.js$script,redirect=google-analytics.com/ga.js
# https://www.eff.org/deeplinks/2014/07/white-house-website-includes-unique-non-cookie-tracker-despite-privacy-policy
||addthis.com^$third-party,important
# https://github.com/gorhill/uBlock/issues/1384
||addthis.com/*/addthis_widget.js$script,redirect=addthis.com/addthis_widget.js
##.addthis_toolbox
! https://github.com/uBlockOrigin/uAssets/issues/49
free18.net,gadgetlove.com,nrc.gov,onbeing.org,rapgenius.com,tmz.com#@#.addthis_toolbox
! Foil blocker-sniffer code on Condé Nast sites.
architecturaldigest.com,arstechnica.com,bonappetit.com,brides.com,cntraveler.com,details.com,epicurious.com,gq.com,golfdigest.com,newyorker.com,pitchfork.com,self.com,teenvogue.com,thescene.com,vanityfair.com,vogue.com,wired.com,wmagazine.com##script:inject(fuckadblock.js-3.2.0)
! Examples of what is fixed by even an unfilled dummy API:
! https://twitter.com/kenn_butler/status/709163241021317120
! https://adblockplus.org/forum/viewtopic.php?f=10&t=48183
! https://forums.lanik.us/viewtopic.php?f=64&t=32161
! https://forums.lanik.us/viewtopic.php?f=64&t=30670
||googletagmanager.com/gtm.js$script,redirect=googletagmanager.com/gtm.js
# https://github.com/gorhill/uBlock/issues/1082
# https://github.com/gorhill/uBlock/issues/1250#issuecomment-173533894
# https://github.com/gorhill/uBlock/issues/2155
||widgets.outbrain.com/outbrain.js$script,redirect=widgets.outbrain.com/outbrain.js
# Fingerprinting script: http://www.thisisacoolthing.com/fp.js
||thisisacoolthing.com^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment