From a4bc9f8c1e588b993814853cdc98cdf253422c8a Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 6 Sep 2016 08:23:09 -0400 Subject: [PATCH] remove all obsolete files which moved to uAssets --- assets/checksums.txt | 13 - assets/ublock/badware.txt | 49 -- assets/ublock/experimental.txt | 41 -- assets/ublock/filters.txt | 357 ----------- assets/ublock/privacy.txt | 76 --- assets/ublock/resources.txt | 1025 -------------------------------- assets/ublock/unbreak.txt | 301 ---------- assets/update-3p-mirror.sh | 28 - assets/update-git.sh | 13 - 9 files changed, 1903 deletions(-) delete mode 100644 assets/checksums.txt delete mode 100644 assets/ublock/badware.txt delete mode 100644 assets/ublock/experimental.txt delete mode 100644 assets/ublock/filters.txt delete mode 100644 assets/ublock/privacy.txt delete mode 100644 assets/ublock/resources.txt delete mode 100644 assets/ublock/unbreak.txt delete mode 100755 assets/update-3p-mirror.sh delete mode 100755 assets/update-git.sh diff --git a/assets/checksums.txt b/assets/checksums.txt deleted file mode 100644 index b9464e2f2..000000000 --- a/assets/checksums.txt +++ /dev/null @@ -1,13 +0,0 @@ -059e0bfbf22bd242dda7b07389fe09a2 assets/ublock/filter-lists.json -98088252cedafb8571cf61b91bea219e assets/ublock/badware.txt -89f1a0b14271b83ca4980a3373d5fc12 assets/ublock/experimental.txt -5bb69bd7b83873f5f26920eaa0ed7635 assets/ublock/filters.txt -7b860287140f033765f8e635d87cd6e8 assets/ublock/privacy.txt -1c44c5f5e133de96b24d48894a144a7f assets/ublock/resources.txt -2af4312e06a346c29d0483ba7831687c assets/ublock/unbreak.txt -a91af77c47c302c0741c7445b0fada1a assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt -3605c73f21abca428c7eb69a8bc32dfe assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt -0e69a0e518eef52c121547d8808f23dc assets/thirdparties/mirror1.malwaredomains.com/files/justdomains -c4785389e986b6d68a3ac43743fec40f assets/thirdparties/pgl.yoyo.org/as/serverlist -748cbfc08bed9240df4912e77a1de97a assets/thirdparties/publicsuffix.org/list/effective_tld_names.dat -28babde5108007fc3202950ee0d4905f assets/thirdparties/www.malwaredomainlist.com/hostslist/hosts.txt diff --git a/assets/ublock/badware.txt b/assets/ublock/badware.txt deleted file mode 100644 index 122d92825..000000000 --- a/assets/ublock/badware.txt +++ /dev/null @@ -1,49 +0,0 @@ -# uBlock -- To block sites known for delivering adware/crapware. -# -# For sites documented to put users at risk of installing adware/crapware etc. -# The purpose is to at least ensure a user is warned of the risks ahead. -# -# Each entry has to be well enough sourced, see: -# https://github.com/gorhill/uBlock/wiki/Badware-risks - -# Using request of type `other` will cause the whole site to be blocked through -# strict blocking, yet the site will render properly if a user still decide to -# go ahead. - -# 2014-10-22: http://assiste.com/01Net.html -# 2013-03-25: http://www.malekal.com/2011/07/09/pctutotuto4pc-association-avec-01net/ -# 2012-10-31: http://www.journaldunet.com/solutions/dsi/des-malwares-sur-telecharger-com-01net-1012.shtml -# 2012-10-30: http://www.lesnumeriques.com/appli-logiciel/telecharger-depuis-01net-nuit-gravement-a-sante-pc-n26763.html -# 2012-06-17: http://www.malekal.com/2012/06/17/01net-pc-optimizer-pour-ne-pas-optimiser-son-pc/ -# 2012-02-17: http://neosting.net/logiciels/01net-et-softonic-ajoutent-aussi-un-installeur-publicitaire.html -||01net.com/telecharger/$document - -# 2015-03-11: http://blog.emsisoft.com/2015/03/11/mind-the-pup-top-download-portals-to-avoid/ -# 2015-01-21: http://www.howtogeek.com/207692/yes-every-freeware-download-site-is-serving-crapware-heres-the-proof/ -# 2015-01-11: http://www.howtogeek.com/198622/heres-what-happens-when-you-install-the-top-10-download.com-apps/ -# 2012-06-27: http://insecure.org/news/download-com-fiasco.html -# 2011-12-05: http://seclists.org/nmap-announce/2011/5 -# 2011-08-22: http://www.extremetech.com/computing/93504-download-com-wraps-downloads-in-bloatware-lies-about-motivations -||download.cnet.com^$document - -# 2015-08-12: https://isc.sans.edu/diary/.COM.COM+Used+For+Malicious+Typo+Squatting/20019 -# via https://twitter.com/SwiftOnSecurity/status/631972601460494336 -# 2013-12-10: https://blog.whitehatsec.com/why-com-com-should-scare-you/ -||com.com$document - -# 2015-06-18: http://www.information-age.com/industry/software/123459675/hotbed-malware-another-blow-sourceforge-google-discovers-588-pages-malicious-software -# 2015-06-02: https://blog.l0cal.com/2015/06/02/what-happened-to-sourceforge/ -# 2015-05-28: http://libregraphicsworld.org/blog/entry/anatomy-of-sourceforge-gimp-controversy -# 2015-05-17: http://lifehacker.com/antiadware-gets-rid-of-bundled-crapware-on-popular-down-1702818594 -# 2015-03-11: http://blog.emsisoft.com/2015/03/11/mind-the-pup-top-download-portals-to-avoid/ -# 2015-01-21: http://www.howtogeek.com/207692/yes-every-freeware-download-site-is-serving-crapware-heres-the-proof/ -# 2014-11-25: http://blog.tedd.no/2014/11/25/sourceforge-malware/ -! ||sourceforge.net^$document - -# 2015-05-17: http://lifehacker.com/antiadware-gets-rid-of-bundled-crapware-on-popular-down-1702818594 -# 2015-03-11: http://blog.emsisoft.com/2015/03/11/mind-the-pup-top-download-portals-to-avoid/ -# 2013-05-23: http://www.intego.com/mac-security-blog/another-problematic-softonic-installer-brings-adware/ -# 2013-04-19: http://www.esecurityplanet.com/malware/softonic-delivers-adware.html -# 2013-04-17: http://www.intego.com/mac-security-blog/softonic-download-site-briefly-delivers-trojan-adware-installer/ -# 2012-02-17: http://neosting.net/logiciels/01net-et-softonic-ajoutent-aussi-un-installeur-publicitaire.html -||softonic.com^$document diff --git a/assets/ublock/experimental.txt b/assets/ublock/experimental.txt deleted file mode 100644 index 574d062d2..000000000 --- a/assets/ublock/experimental.txt +++ /dev/null @@ -1,41 +0,0 @@ -# uBlock Origin -- Experimental filters. -# -# These filters are experimental and may cause breakage. They are being -# evaluated/fine-tuned for inclusion in the default set of filters. -# -# The `important` filter option is often used here in order to ensure the -# experimental filters are used, i.e. they will override existing exception -# filters which might exist to unbreak known web page breakage. - -# googletagservices.com not blocked by EasyPrivacy (I don't know why). -# This is a redirection-based filter being developed in order to be able -# to safely block `googletagservices.com` everywhere by default. -||googletagservices.com/tag/js/gpt.js$script,redirect=googletagservices.com/gpt.js,important - -# www.google-analytics.com -# The goal is to be able to block `www.google-analytics.com` while preventing -# web page breakage. -# Replacement for `www.google-analytics.com/ga.js` -||google-analytics.com/ga.js$script,redirect=google-analytics.com/ga.js,important - -# Replacement for `www.google-analytics.com/analytics.js` -||google-analytics.com/analytics.js$script,redirect=google-analytics.com/analytics.js,important - -# https://github.com/gorhill/uBlock/issues/1248 -||google-analytics.com/plugins/ga/inpage_linkid.js$script,redirect=google-analytics.com/inpage_linkid.js,important - -# https://github.com/gorhill/uBlock/issues/1265 -||scorecardresearch.com/beacon.js$script,redirect=scorecardresearch.com/beacon.js,important - -# https://github.com/gorhill/uBlock/issues/1250#issuecomment-173533894 -||widgets.outbrain.com/outbrain.js$script,redirect=widgets.outbrain.com/outbrain.js - -# https://github.com/gorhill/uBlock/issues/897#issuecomment-180871042 -||doubleclick.net/instream/ad_status.js$script,redirect=doubleclick.net/instream/ad_status.js,important - -# https://twitter.com/kenn_butler/status/709163241021317120 -||googletagmanager.com/gtm.js$script,redirect=googletagmanager.com/gtm.js - -# This should be blocked by default: need to evaluate impact, and if any -# possibly fix with a neutered script. -||tags.tiqcdn.com^ diff --git a/assets/ublock/filters.txt b/assets/ublock/filters.txt deleted file mode 100644 index 131ac68a9..000000000 --- a/assets/ublock/filters.txt +++ /dev/null @@ -1,357 +0,0 @@ -# Filters optimized for uBlock - -# Zerohedge: ref: http://forums.lanik.us/viewtopic.php?f=62&t=17307 -www.zerohedge.com##.similar-box - -# https://github.com/chrisaljoudi/uBlock/issues/57 -# https://github.com/chrisaljoudi/uBlock/issues/98 -# New filter class: entity filters, where -# entity = domain minus public suffix -# The following filters were taken out of EasyList and given an entity name, -# which makes them candidates to be injected early in the page. -# Last updated: 2015-10-15 -google.*###center_col > #\5f Emc -google.*###center_col > #main > .dfrd > .mnr-c > .c._oc._zs -google.*###center_col > #res > #topstuff + #search > div > #ires > #rso > #flun -google.*###center_col > #resultStats + #tads -google.*###center_col > #resultStats + #tads + #res + #tads -google.*###center_col > #resultStats + div + #res + #tads -google.*###center_col > #resultStats + div[style="border:1px solid #dedede;margin-bottom:11px;padding:5px 7px 5px 6px"] -google.*###center_col > #taw > #tvcap > .rscontainer -google.*###center_col > div[style="font-size:14px;margin-right:0;min-height:5px"] > div[style="font-size:14px;margin:0 4px;padding:1px 5px;background:#fff8e7"] -google.*###cnt #center_col > #res > #topstuff > .ts -google.*###cnt #center_col > #taw > #tvcap > .c._oc._Lp -google.*###main_col > #center_col div[style="font-size:14px;margin:0 4px;padding:1px 5px;background:#fff7ed"] -google.*###mbEnd[cellspacing="0"][cellpadding="0"] -google.*###mclip_container:last-child -google.*###mn #center_col > div > h2.spon:first-child -google.*###mn #center_col > div > h2.spon:first-child + ol:last-child -google.*###mn div[style="position:relative"] > #center_col > ._Ak -google.*###mn div[style="position:relative"] > #center_col > div > ._dPg -google.*###resultspanel > #topads -google.*###rhs_block > #mbEnd -google.*###rhs_block > .ts[cellspacing="0"][cellpadding="0"][style="padding:0"] -google.*###rhs_block > ol > .rhsvw > .kp-blk > .xpdopen > ._OKe > ol > ._DJe > .luhb-div -google.*###rhs_block > script + .c._oc._Ve.rhsvw -google.*###rhswrapper > #rhssection[border="0"][bgcolor="#ffffff"] -google.*###ssmiwdiv[jsdisplay] -google.*###tads + div + .c -google.*###tads.c -google.*###tadsb.c -google.*###tadsto.c -google.*###topstuff > #tads -google.*##.GB3L-QEDGY .GB3L-QEDF- > .GB3L-QEDE- -google.*##.GFYY1SVD2 > .GFYY1SVC2 > .GFYY1SVF5 -google.*##.GFYY1SVE2 > .GFYY1SVD2 > .GFYY1SVG5 -google.*##.GHOFUQ5BG2 > .GHOFUQ5BF2 > .GHOFUQ5BG5 -google.*##.GJJKPX2N1 > .GJJKPX2M1 > .GJJKPX2P4 -google.*##.GKJYXHBF2 > .GKJYXHBE2 > .GKJYXHBH5 -google.*##.GPMV2XEDA2 > .GPMV2XEDP1 > .GPMV2XEDJBB -google.*##.ch[onclick="ga(this,event)"] -google.*##.commercial-unit-desktop-rhs -google.*##.commercial-unit-desktop-top -google.*##.commercial-unit-mobile-top -google.*##.lads[width="100%"][style="background:#FFF8DD"] -google.*##.mod > ._jH + .rscontainer -google.*##.mw > #rcnt > #center_col > #taw > #tvcap > .c -google.*##.mw > #rcnt > #center_col > #taw > .c -google.*##.ra[align="left"][width="30%"] -google.*##.ra[align="right"][width="30%"] -google.*##.ra[width="30%"][align="right"] + table[width="70%"][cellpadding="0"] -google.*##.rhsvw[style="background-color:#fff;margin:0 0 14px;padding-bottom:1px;padding-top:1px;"] -google.*##.rscontainer > .ellip - -# https://github.com/chrisaljoudi/uBlock/issues/381 -google.*###sqh - -# For when javascript is disabled -google.*###center_col > #tads - -# https://github.com/gorhill/uBlock/issues/621 -search.yahoo.com###main > div > style + ol - -# http://www.wilderssecurity.com/threads/ublock-a-lean-and-fast-blocker.365273/page-25#post-2461804 -# Specific cosmetic filters for Youtube home page -www.youtube.com##.masthead-ad-control -www.youtube.com##.ad-div - -www.thesimsresource.com##.ad-topleader -# http://www.reddit.com/r/chromeos/comments/2q4q3s/im_not_sure_if_this_belongs_here_but_adblock/ -# Following needed for http://putlocker.is/ -||vprmnwbskk.com^$popup -||fmdwbsfxf0.com^$popup -# This needs to be in EasyList Germany -# url = http://www.click-learn.de/ (right vertical banner) -||click-learn.de^*_155x420.swf - -# https://github.com/chrisaljoudi/uBlock/issues/510#issuecomment-71050211 -||racksauce.com^$domain=promptfile.com - -# https://github.com/chrisaljoudi/uBlock/issues/510#issuecomment-71078475 -|http://$popup,domain=filenuke.com|sharesix.com -||filenuke.com/a/script.js$script -||mwem.filenuke.com/*/*$script -||rrnq.filenuke.com/*/*$script -||szbek.filenuke.com/*/*$script -||wwegr.filenuke.com/*/*$script -||sharesix.com/a/script.js$script -||hhg.sharesix.com/*/*$script -||jha.sharesix.com/*/*$script -||lsg.sharesix.com/*/*$script -||nvy.sharesix.com/*/*$script - -# https://github.com/chrisaljoudi/uBlock/issues/618 -deviantart.com##.dp-ad-chrome.dp-ad-visible - -# http://support.getadblock.com/discussions/problems/73955-specific-web-site-causes-thousands-infinite-blocks-locks-up-chrome -||www.notempire.com/js/gridview$script - -# https://github.com/chrisaljoudi/uBlock/issues/1013 -||mac-system-alert.com^ - -# https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/reviews/720518/ -mail.yahoo.com###inboxcontainer .list-view-items-page > .ml-bg:not(.list-view-item-container) - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=38703 -# http://www.christiantoday.com/article/huawei.nexus.release.news.could.be.googles.ticket.back.into.china/58786.htm -# `important` must be used as there is one EasyList exception preventing -# complete block. -||username1.link^$important - -# https://github.com/gorhill/uBlock/issues/651 -ink361.com##.getridofAdsBlock[href^="javascript:"] - -# http://www.extremetech.com/mobile/214358-ad-blocking-for-the-masses-part-two-adblock-browser -# "anyone else trying it on ET find that one ziffdavis.com ad bypasses ublock0 even though it's in the default lists for block" -||inspiringsweater.xyz^ -||deservedlimp.xyz^ - -# https://www.reddit.com/r/facebook/comments/3ld5gn/ive_discovered_that_i_cant_access_facebook/ -# Until all users have latest EasyList -@@RPNcr3s-aD2.js$script,domain=facebook.com - -# https://github.com/gorhill/uBlock/issues/275 -jeu.info###page [class^="banniere-"] -filmvf.net,hentaifr.net,jeu.info,tuxboard.com,xstory-fr.com##script:inject(goyavelab-defuser.js) - -# https://github.com/gorhill/uBlock/issues/759 -# Until fixed in EasyPrivacy -@@||eplayerhtml5.performgroup.com/js/tsEplayerHtml5/js/Eplayer/js/quantcast/quant.js$script,first-party -@@||eplayerhtml5.performgroup.com/js/tsEplayerHtml5/js/Eplayer/js/quantcast/vquant.js$script,first-party - -# This prevents spurious redirections -washingtonpost.com##script:inject(wpredirect-defuser.js) - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=26700&start=120#p141228 -www.valuewalk.com##.entry-footer - -# https://github.com/gorhill/uBlock/issues/923#issuecomment-154903084 -investopedia.com##.pg-wrapper > div:not(#Nav):not(.nav-space):not(.subnav-space):not(#Header):not(#Content):not(#Footer):not(.region-content) - -# Useful inline script tag filters until filter list maintainers start to use -# it in their respective filter lists -arstechnica.com##script:contains(ars.READY.push) -aussenwirtschaftslupe.de,autozeitung.de,brieffreunde.de,donnerwetter.de,fanfiktion.de,formel1.de,fremdwort.de,helles-koepfchen.de,inside-handy.de,motorsport-total.com,moviejones.de,news.de,rechtslupe.de,wintotal.de##script:contains(window.tisoomi) -bild.de##script:contains(/^\s*de.bild.cmsKonfig/) -bild.de##script:contains(Javascript) -commentcamarche.net,foot01.com,journaldunet.com,metronews.fr##script:contains(/[Ll]igatus/) -dayt.se##script:contains(adblock.php) -dpstream.net,jeux-porno.net##script:contains(/^\s*?var\s+?uniqueParam\s*?=/) -finanzen.ch##script:contains(/^\s*function\s+UABPInject/) -getvids.de,podcast.de,sommerhaus.de,spielespielen24.de##script:contains(/^\s*function\s+gS/) -jav4.me##script:contains(adblock.htm) -kino-dom.org##script:contains(my_abadiv) -layer13.net##script:contains(adBlockDetected) -linternaute.com##script:contains(/^\s*var\s+Asl=/) -pornfun.com##script:contains(canRunAds) -sueddeutsche.de##script:contains(BlockAdBlock) -vg.no##script:contains(/^\s*?window\.__AB__/) -voetbalzone.nl##script:contains(/^\s*?var\s+?init_ads/) - -# uabInject-related ads -20min.ch#@#.wingadblock -spiegel.de#@#.wrapad - -# https://github.com/gorhill/uBlock/issues/1044#issuecomment-163725136 -||adswithsalt.com/*/ad-loading.pic$image,redirect=2x2-transparent.png -||adternal.com/*/ad-loading.*$image,redirect=2x2-transparent.png -||de/*/ad_bomb/*$image,redirect=2x2-transparent.png -||tisoomitech.com/*/ad-image.png$image,redirect=2x2-transparent.png - -# http://forum.palemoon.org/viewtopic.php?f=46&t=10271#p71697 -@@||cdn.windows7themes.net/wp-content/advert.js$script,first-party - -# Popunders - -# https://github.com/gorhill/uBlock/issues/991 -# New `popunder` filter option to explicitly block popunders. -# Older version of uBO will discard this unknown filter option -- so it's safe -# to add it here now. -# https://github.com/gorhill/uBlock/issues/1094 -||slopeaota.com^$document,popunder,popup -# https://github.com/gorhill/uBlock/issues/1173 -||exoclick.com^$popunder -# https://github.com/gorhill/uBlock/issues/1053 -||zinturax.com^$document,popunder,script -# https://github.com/gorhill/uBlock/issues/995 -||trafficstars.com^$document,popunder -# https://forums.lanik.us/viewtopic.php?f=62&t=25212&start=15 -||branchroughlend.info^$popunder,popup -||market-buster.com^$popunder,popup -||clkfeed.com^$popunder,popup -# https://github.com/gorhill/uBlock/issues/1177 -||clicksvenue.com^$popunder -||globaltraffico.com^$popunder,popup -# https://github.com/gorhill/uBlock/issues/1208 -||data.*.info^$document,popunder,popup -||hilltopads.net^$popunder,popup -# https://github.com/gorhill/uBlock/issues/1347 -||traffichunt.com^$document,popunder,popup -||trhnt.com^$document,popup -||trhunt.com^$document,popup - -# https://forums.lanik.us/viewtopic.php?f=62&t=27719 -opensubtitles.org##script:inject(opensubtitles.org) -||carambo.la^$third-party -opensubtitles.org##script:contains(defaultCheckForAdBlockExistance) - -# https://skystreaming.net/canali/sky/guarda-sky-sport-1-in-streaming-live -skystreaming.net##script:contains(abisuq) -@@||skystreaming.net^$generichide -skystreaming.net###fanback + style + div[id] - -# https://github.com/gorhill/uBlock/issues/1049 -||d1zatounuylvwg.cloudfront.net/abw.js$script,third-party - -# https://github.com/gorhill/uBlock/issues/1079 -# These are just used by obnoxious click-bait ads with obfuscated links -- they -# appear as 1st-party links but redirect to 3rd-party sites. -||c8factor.com^ -||k5zoom.com^ - -# https://github.com/gorhill/uBlock/issues/1100 -# AdDefend -1erforum.de,20min.ch,abendzeitung-muenchen.de,allgemeine-zeitung.de,arcor.de,ariva.de,autoexperience.de,auto-motor-und-sport.de,autoextrem.de,boerse.de,boerse-online.de,brigitte.de,buerstaedter-zeitung.de,caravaning.de,computerbild.de,comunio.de,eatsmarter.de,echo-online.de,elektrobike-online.com,e-mountainbike.com,fanfiktion.de,fem.com,finanzen.net,flugzeugforum.de,focus.de,foot01.com,gala.de,gamepro.de,gamestar.de,gamona.de,gelnhaeuser-tageblatt.de,general-anzeiger-bonn.de,giessener-anzeiger.de,hochheimer-zeitung.de,hofheimer-zeitung.de,kabeleins.de,klettern.de,klettern-magazin.de,kreatives-wohnforum.de,kreis-anzeiger.de,lampertheimer-zeitung.de,lauterbacher-anzeiger.de,lpgforum.de,lustich.de,main-spitze.de,mazda-forum.info,mercedes-forum.com,modernboard.de,motorradonline.de,mountainbike-magazin.de,notebookcheck.*,oberhessische-zeitung.de,outdoor-magazin.com,pcwelt.de,pkw-forum.de,promobil.de,prosieben.de,prosiebenmaxx.de,rhein-main-presse.de,roadbike.de,rp-online.de,runnersworld.de,sat1.de,sat1gold.de,serienjunkies.de,sixx.de,skodacommunity.de,spiegel.de,sportal.de,spox.com,shz.de,teccentral.de,the-voice-of-germany.de,transfermarkt.de,tvspielfilm.de,tvtoday.de,unixboard.de,usinger-anzeiger.de,usp-forum.de,vermieter-forum.com,webfail.com,wetter.com,wetteronline.at,wetteronline.de,wiesbadener-kurier.de,wiesbadener-tagblatt.de,winboard.org,windows-7-forum.net,wn.de,womenshealth.de,wormser-zeitung.de,woxikon.de##script:inject(uabinject-defuser.js) - -# Yavli ads -activistpost.com,addictinginfo.org,alfonzorachel.com,allenwestrepublic.com,aplus.com,bizpacreview.com,boredpanda.com,breathecast.com,bulletsfirst.net,cheatsheet.com,clashdaily.com,comicallyincorrect.com,conservativebyte.com,conservativeintel.com,conservativetribune.com,conservativevideos.com,cowboybyte.com,crossmap.com,dailysurge.com,dccrimestories.com,digitalmusicnews.com,dilbert.com,drhotze.com,eaglerising.com,explosm.net,flexonline.com,freedomdaily.com,genfringe.com,girlsjustwannahaveguns.com,hellou.co.uk,instigatornews.com,joeforamerica.com,latinone.com,latinpost.com,libertyunyielding.com,mensfitness.com,minutemennews.com,mobilelikez.com,muscleandfitness.com,naturalblaze.com,oddee.com,okmagazine.com,patriotoutdoornews.com,pitgrit.com,radaronline.com,redmaryland.com,reverbpress.com,reviveusa.com,rightwingnews.com,segmentnext.com,shark-tank.com,sportsmole.co.uk,theblacksphere.net,thefreethoughtproject.com,thegatewaypundit.com,themattwalshblog.com,thepoke.co.uk,tinypic.com,traileraddict.com,unilad.co.uk,valuewalk.com,vcpost.com,victoriajackson.com,viralnova.com,viralthread.com,winningdemocrats.com,woundedamericanwarrior.com##script:inject(yavli-defuser.js) -# To counter EayList's bad exception filter: -# https://forums.lanik.us/viewtopic.php?f=62&t=25601&p=88119 -||thankyouforadvertising.com^$important - -# https://github.com/gorhill/uBlock/issues/1094 -extremetube.com,pornhub.com,primewire.*,redtube.*,spankwire.com,tube8.*,youporn.com,youporngay.com##script:inject(pornhub-popup-defuser.js) -# Using important will prevent the site from leveraging random exception filters -||trafficjunky.net^$third-party,important -||xxxmyself.com^$important -||xxxnavy.com^$important - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=43192 -# Users should not have to punch holes in their blockers if it can be avoided. -*/fuckadblock-$script,redirect=fuckadblock.js-3.2.0 -*/fuckadblock.$script,redirect=fuckadblock.js-3.2.0 -# https://github.com/gorhill/uBlock/issues/1271 -*/blockadblock.$script,redirect=fuckadblock.js-3.2.0 -# https://adblockplus.org/forum/viewtopic.php?f=2&t=43762 -||leporno.org/english.js$script,redirect=fuckadblock.js-3.2.0,first-party - -# https://github.com/gorhill/uBlock/issues/1136 -||dailymotion.com/ac/video/$image,first-party,redirect=2x2-transparent.png -# https://github.com/gorhill/uBlock/issues/1136#issuecomment-170371863 -dailymotion.com##script:inject(1136.js) -||liverail.com^$important,domain=dailymotion.com - -# https://news.ycombinator.com/item?id=10814913 -forbes.com##script:inject(forbes-defuser.js) - -# https://forums.lanik.us/viewtopic.php?f=62&t=25212&start=15 -animeuploads.com,cizgifilmlerizle.com##script:inject(impspcabe-defuser.js) - -# https://github.com/gorhill/uBlock/issues/949 -||s3.amazonaws.com/homad-global-configs.schneevonmorgen.com/hd-main.js$script,domain=chip.de|cdnapi.kaltura.com|focus.de|spiegel.de|stern.de|t-online.de,redirect=hd-main.js -||svonm.com/hd-main.js$script,redirect=hd-main.js,domain=chip.de|cdnapi.kaltura.com -# https://github.com/gorhill/uBlock/issues/1216 -chip.de##script:inject(1216.js) -stern.de##script:inject(bcplayer-defuser.js) - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=40985 -# Proof of concept: no need to open ourselves to more 3rd-party scripts/frames in -# order to prevent blocker bypass. The `important` filter option is used here -# to override EasyList exception filters for this case: ideally exception filters -# should be avoided as much as possible. -||ads.ad-center.com/smart_ad/display?ref=*&smart_ad_id=$subdocument,domain=dayt.se,redirect=noopframe,important -||ads.ad-center.com^$subdocument,domain=dayt.se,redirect=noopframe,important -||aflrm.com^$subdocument,domain=dayt.se,redirect=noopframe,important -||dayt.se^*fuckadblock.js$script,redirect=fuckadblock.js-3.2.0,important -||imads.integral-marketing.com^$domain=dayt.se,important - -# https://github.com/gorhill/uBlock/issues/1078 -||eurotransport.de/*/antiAdBlock.js$script,first-party,redirect=antiAdBlock.js - -# https://forums.lanik.us/viewtopic.php?f=91&t=27188 -||i.ligatus.com/*/angular-tag.js$script,redirect=i.ligatus.com/*/angular-tag.js - -# https://github.com/gorhill/uBlock/issues/1194 -openload.co##script:inject(openload-defuser.js) -# https://github.com/gorhill/uBlock/issues/1201 -openload.*##script:contains(/^\s*window\.popAdsLoaded=/) - -# https://forums.lanik.us/viewtopic.php?f=64&t=27505 -kissanime.to##script:inject(kissanime-defuser.js) - -# https://forums.lanik.us/viewtopic.php?f=64&t=27908 -# https://github.com/gorhill/uBlock/issues/1354 -animes-mangas-ddl.com,best-movies.info,crazymeds.us,dasolo.org,ip-address.org,uploadshub.com,yourvideohost.com##script:inject(bab-defuser.js) - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=41860 -filmvf.net,filmstreaming-hd.com,gaara-fr.com,gaytube.com,gum-gum-streaming.com,hentaifr.net,hentaihaven.org,narutoshippudenvf.com,thebadbuzz.com,tuxboard.com,xstory-fr.com##script:inject(phenv-defuser.js) - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=43914#p147866 -wired.com##script:inject(wired-defuser.js) - -# https://github.com/gorhill/uBlock/issues/1401 -armorgames.com,mmohuts.com,newgrounds.com,onrpg.com,silvergames.com##a[href*="mmo123.co/egame?"] - -# https://forums.lanik.us/viewtopic.php?f=64&t=28700 -||exoclick.com^$important,domain=debridfast.com -||www.debridfast.com/bilokiyofdsdf.js$script - -# https://forums.lanik.us/viewtopic.php?f=62&t=28856 -||godlessnightsfilm.co.uk/scripts/ad-gallery/$important,third-party - -# https://github.com/gorhill/uBlock/issues/1340#issuecomment-191082824 -||gamingaffiliation.com^$third-party - -tweaktown.com###background_skin - -# https://github.com/gorhill/uBlock/issues/1449 -# Computers seizing thanks to this moronic script -||twnmm.com/js/*/adobe_audience_manager$script - -# https://twitter.com/DThibaut67/status/707624770653843456 -||connectormwi.laterpay.net/*/app-de-de.js$script,domain=sport1.de - -# https://forums.lanik.us/viewtopic.php?f=64&t=22975&start=45#p77969 -kisscartoon.me##script:inject(kisscartoon-defuser.js) - -# https://twitter.com/hotelzululima/status/711729434458324992 -||computerworld.com.au/compressor-staticfiles/addsmin/idg_gpt_pipeline_generated.js$script - -# https://twitter.com/FabienTipon/status/711877626638503936 -@@||f1g.fr/*/adsense.js$script - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=25216#p149739 -lequipe.fr##script:inject(sas-defuser.js) - -||lemde.fr/*/xitistatus.js$script,redirect=fuckadblock.js-3.2.0,domain=lemonde.fr -||d1447tq2m68ekg.cloudfront.net/advertisement.js$script,redirect=noopjs,domain=leparisien.fr -@@||static.lexpress.fr/*/ads.$script,stylesheet -lemonde.fr##script:inject(lemonde-defuser.js) -# https://forums.lanik.us/viewtopic.php?f=91&t=29267 -www.rtl.fr###modal-warning -rtl.fr##script:inject(rtlfr-defuser.js) -# https://github.com/gorhill/uBlock/issues/1505 -6play.fr,clubic.com,passeportsante.net,telerama.fr##script:inject(overlay-buster.js) - -# http://www.wilderssecurity.com/threads/ublock-a-lean-and-fast-blocker.365273/page-77 -imore.com##script:inject(imore-sanitizer.js) diff --git a/assets/ublock/privacy.txt b/assets/ublock/privacy.txt deleted file mode 100644 index 504aed9a1..000000000 --- a/assets/ublock/privacy.txt +++ /dev/null @@ -1,76 +0,0 @@ -# µ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 - -# 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 - -# 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 : 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 diff --git a/assets/ublock/resources.txt b/assets/ublock/resources.txt deleted file mode 100644 index 4fdb5e2f2..000000000 --- a/assets/ublock/resources.txt +++ /dev/null @@ -1,1025 +0,0 @@ -# Resources to be used as redirect destinations. -# -# - Each distinct resource entry is separated by an empty line. -# - The first line in a resource entry is: token mime-type[;encoding] -# - All following lines are the data. An empty line signals the end of the -# data. -# -# If the encoding is absent, the data will be converted to base64, and the -# encoding will be set to `;base64`. - - -# http://probablyprogramming.com/2009/03/15/the-tiniest-gif-ever -1x1-transparent.gif image/gif;base64 -R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== - - -2x2-transparent.png image/png;base64 -iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAC0lEQVQI12NgQAcAABIAAe+JVKQAAAAA -SUVORK5CYII= - - -32x32-transparent.png image/png;base64 -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGklEQVRYw+3BAQEAAACCIP+vbkhAAQAA -AO8GECAAAZf3V9cAAAAASUVORK5CYII= - - -noopcss text/css - - -noopjs application/javascript -(function() { - ; -})(); - - -noopframe text/html - - - - - - - -hd-main.js application/javascript -var L = (function(){ - var l = {}; - var noopfn = function() { - ; - }; - var props = [ - "pf", "ed", "Qe", "fd", "xh", "Uc", "ef", "zd", "Ad", "Qc", "Ri", "Wc", - "Vc", "Xc", "Wg", "rd", "qd", "sd", "Pe", "Id", "Hd", "Jd", "fg", "Fd", - "Ed", "Gd", "ek", "Cd", "Bd", "Dd", "Nj", "Sc", "Rc", "Tc", "wg", "xd", - "wd", "yd", "fh", "ld", "md", "nd", "Re", "cd", "Pc", "ke", "Yc", "Xg", - "jd", "kd", "oh", "ad", "bd", "mi", "gd", "hd", "ae", "dd", "fk", "ij", - "ud", "td", "vd", "ig", "od", "pd", "Yd", "$j", "Oc", "bf" - ]; - for (var i = 0; i < props.length; i++) { - l[props[i]] = noopfn; - } - return l; -})(); - - -1216.js application/javascript -(function() { - // - var sto = window.setTimeout; - var mysto = function(a, b) { - if ( b === 15000 && a.toString().lastIndexOf('function a()', 0) === 0 ) { - return; - } - return sto(a, b); - }; - Object.defineProperty(window, 'setTimeout', { - get: function() { - return mysto; - } - }); -})(); - - -# fuckadblock defuser -fuckadblock.js-3.2.0 application/javascript -(function() { - var noopfn = function() { - ; - }; - // - var Fab = function() {}; - Fab.prototype.check = noopfn; - Fab.prototype.clearEvent = noopfn; - Fab.prototype.emitEvent = noopfn; - Fab.prototype.on = function(a, b) { - if ( !a ) { b(); } - return this; - }; - Fab.prototype.onDetected = function() { - return this; - }; - Fab.prototype.onNotDetected = function(a) { - a(); - return this; - }; - Fab.prototype.setOption = noopfn; - window.FuckAdBlock = window.BlockAdBlock = Fab; - // - window.fuckAdBlock = window.blockAdBlock = new Fab(); -})(); - - -antiAdBlock.js application/javascript -(function() { - window.antiAdBlock = { - onDetected: function() { - ; - }, - onNotDetected: function(a) { - a(); - } - }; -})(); - - -# To neutralize GA scripts. The goal is to provide the minimal API -# expected by clients of these scripts so that the end users are able -# to wholly block GA while minimizing risks of page breakage. -# Test cases (need way more): -# - https://github.com/chrisaljoudi/uBlock/issues/119 - -google-analytics.com/ga.js application/javascript -(function() { - var noopfn = function() { - ; - }; - // - var Gaq = function() { - ; - }; - Gaq.prototype.Na = noopfn; - Gaq.prototype.O = noopfn; - Gaq.prototype.Sa = noopfn; - Gaq.prototype.Ta = noopfn; - Gaq.prototype.Va = noopfn; - Gaq.prototype._createAsyncTracker = noopfn; - Gaq.prototype._getAsyncTracker = noopfn; - Gaq.prototype._getPlugin = noopfn; - Gaq.prototype.push = function(a) { - if ( typeof a === 'function' ) { - a(); - } - }; - // - var tracker = function() {}; - tracker._getLinkerUrl = function(a) { - return a; - }; - // - var tracker = { - _initData: noopfn, - _trackEvent: noopfn, - _trackPageview: noopfn - }; - // - var Gat = function() { - ; - }; - Gat.prototype._anonymizeIP = noopfn; - Gat.prototype._createTracker = noopfn; - Gat.prototype._forceSSL = noopfn; - Gat.prototype._getPlugin = noopfn; - Gat.prototype._getTracker = function() { - return tracker; - }; - Gat.prototype._getTrackerByName = function() { - return tracker; - }; - Gat.prototype._getTrackers = noopfn; - Gat.prototype.aa = noopfn; - Gat.prototype.ab = noopfn; - Gat.prototype.hb = noopfn; - Gat.prototype.la = noopfn; - Gat.prototype.oa = noopfn; - Gat.prototype.pa = noopfn; - Gat.prototype.u = noopfn; - var gat = new Gat(); - window._gat = gat; - // - var gaq = new Gaq(); - (function() { - var aa = window._gaq || []; - if ( Array.isArray(aa) ) { - while ( aa[0] ) { - gaq.push(aa.shift()); - } - } - })(); - window._gaq = gaq.qf = gaq; -})(); - -google-analytics.com/analytics.js application/javascript -(function() { - // https://developers.google.com/analytics/devguides/collection/analyticsjs/ - var noopfn = function() { - ; - }; - var noopnullfn = function() { - return null; - }; - // - var Tracker = function() { - ; - }; - var p = Tracker.prototype; - p.get = noopfn; - p.set = noopfn; - p.send = noopfn; - // - var gaName = window.GoogleAnalyticsObject || 'ga'; - var ga = function() { - var len = arguments.length; - if ( len === 0 ) { - return; - } - var f = arguments[len-1]; - if ( typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function' ) { - return; - } - try { - f.hitCallback(); - } catch (ex) { - } - }; - ga.create = function() { - return new Tracker(); - }; - ga.getByName = noopnullfn; - ga.getAll = function() { - return []; - }; - ga.remove = noopfn; - window[gaName] = ga; -})(); - -google-analytics.com/inpage_linkid.js application/javascript -(function() { - window._gaq = window._gaq || { - push: function() { - ; - } - }; -})(); - -# Ubiquitous googletagservices.com: not blocked by EasyPrivacy. -# "Tags are tiny bits of website code that let you measure traffic and -# "visitor behavior" -googletagservices.com/gpt.js application/javascript -(function() { - var p; - // https://developers.google.com/doubleclick-gpt/reference - var noopfn = function() { - ; - }; - var noopthisfn = function() { - return this; - }; - var noopnullfn = function() { - return null; - }; - var nooparrayfn = function() { - return []; - }; - var noopstrfn = function() { - return ''; - }; - // - var companionAdsService = { - addEventListener: noopthisfn, - enableSyncLoading: noopfn, - setRefreshUnfilledSlots: noopfn - }; - var contentService = { - addEventListener: noopthisfn, - setContent: noopfn - }; - var PassbackSlot = function() { - ; - }; - p = PassbackSlot.prototype; - p.display = noopfn; - p.get = noopnullfn; - p.set = noopthisfn; - p.setClickUrl = noopthisfn; - p.setTagForChildDirectedTreatment = noopthisfn; - p.setTargeting = noopthisfn; - p.updateTargetingFromMap = noopthisfn; - var pubAdsService = { - addEventListener: noopthisfn, - clear: noopfn, - clearCategoryExclusions: noopthisfn, - clearTagForChildDirectedTreatment: noopthisfn, - clearTargeting: noopthisfn, - collapseEmptyDivs: noopfn, - defineOutOfPagePassback: function() { return new PassbackSlot(); }, - definePassback: function() { return new PassbackSlot(); }, - disableInitialLoad: noopfn, - display: noopfn, - enableAsyncRendering: noopfn, - enableSingleRequest: noopfn, - enableSyncRendering: noopfn, - enableVideoAds: noopfn, - get: noopnullfn, - getAttributeKeys: nooparrayfn, - refresh: noopfn, - set: noopthisfn, - setCategoryExclusion: noopthisfn, - setCentering: noopfn, - setCookieOptions: noopthisfn, - setLocation: noopthisfn, - setPublisherProvidedId: noopthisfn, - setTagForChildDirectedTreatment: noopthisfn, - setTargeting: noopthisfn, - setVideoContent: noopthisfn, - updateCorrelator: noopfn - }; - var SizeMappingBuilder = function() { - ; - }; - p = SizeMappingBuilder.prototype; - p.addSize = noopthisfn; - p.build = noopnullfn; - var Slot = function() { - ; - }; - p = Slot.prototype; - p.addService = noopthisfn; - p.clearCategoryExclusions = noopthisfn; - p.clearTargeting = noopthisfn; - p.defineSizeMapping = noopthisfn; - p.get = noopnullfn; - p.getAdUnitPath = nooparrayfn; - p.getAttributeKeys = nooparrayfn; - p.getCategoryExclusions = nooparrayfn; - p.getDomId = noopstrfn; - p.getSlotElementId = noopstrfn; - p.getSlotId = noopthisfn; - p.getTargeting = nooparrayfn; - p.getTargetingKeys = nooparrayfn; - p.set = noopthisfn; - p.setCategoryExclusion = noopthisfn; - p.setClickUrl = noopthisfn; - p.setCollapseEmptyDiv = noopthisfn; - p.setTargeting = noopthisfn; - // - var gpt = window.googletag || {}; - var cmd = gpt.cmd || []; - gpt.apiReady = true; - gpt.cmd = []; - gpt.cmd.push = function(a) { - try { - a(); - } catch (ex) { - } - return 1; - }; - gpt.companionAds = function() { return companionAdsService; }; - gpt.content = function() { return contentService; }; - gpt.defineOutOfPageSlot = function() { return new Slot(); }; - gpt.defineSlot = function() { return new Slot(); }; - gpt.disablePublisherConsole = noopfn; - gpt.display = noopfn; - gpt.enableServices = noopfn; - gpt.getVersion = noopstrfn; - gpt.pubads = function() { return pubAdsService; }; - gpt.pubadsReady = true; - gpt.sizeMapping = function() { return new SizeMappingBuilder(); }; - window.googletag = gpt; - while ( cmd.length !== 0 ) { - gpt.cmd.push(cmd.shift()); - } -})(); - -# Obviously more work needs to be done, but at least for now it takes care of: -# - https://twitter.com/kenn_butler/status/709163241021317120 -googletagmanager.com/gtm.js application/javascript -(function() { - var noopfn = function() { - ; - }; - window.ga = window.ga || noopfn; -})(); - - -# https://forums.lanik.us/viewtopic.php?f=91&t=27188 -i.ligatus.com/*/angular-tag.js application/javascript -(function() { - self.adProtect = true; -})(); - - -# Yavli ads. These are blocked using an inline script tag filter, but this -# works only on Firefox. So we side-load the following script for sites -# suffering Yavli's click-bait ads. -yavli-defuser.js application/javascript -(function() { - var noopfn = function() { - ; - }; - var nourl = { - set: noopfn, - get: function() { - return ''; - } - }; - try { - Object.defineProperty(window, '__durl', nourl); - Object.defineProperty(window, '__lsurl', nourl); - Object.defineProperty(window, '__lturl', nourl); - } catch (ex) { - } - var aa = ['zx','zy','gj','fj','jf','kj','kp','pk','uj','ju','gk','hj']; - var no = { - set: noopfn, - get: function() { - return { - start: noopfn - }; - } - }; - while ( aa.length ) { - try { - Object.defineProperty(window, aa.pop(), no); - } catch (e) { - } - } -})(); - - -# Addefend defuser -uabinject-defuser.js application/javascript -(function() { - window.uabpdl = window.uabInject = window.uabDetect = true; -})(); - - -# https://github.com/gorhill/uBlock/issues/1094 -pornhub-popup-defuser.js application/javascript -(function() { - var w = window; - var count = Math.ceil(8+Math.random()*4); - var tomorrow = new Date(Date.now() + 86400); - var expire = tomorrow.toString(); - document.cookie = 'FastPopSessionRequestNumber=' + count + '; expires=' + expire; - var db; - if ( (db = w.localStorage) ) { - db.setItem('InfNumFastPops', count); - db.setItem('InfNumFastPopsExpire', expire); - } - if ( (db = w.sessionStorage) ) { - db.setItem('InfNumFastPops', count); - db.setItem('InfNumFastPopsExpire', expire); - } -})(); - - -goyavelab-defuser.js application/javascript -(function() { - var noopfn = function() { - ; - }; - Object.defineProperty(window, '_$14', { - get: function() { return noopfn; }, - set: noopfn - }); -})(); - - -# https://news.ycombinator.com/item?id=10814913 -forbes-defuser.js application/javascript -(function() { - if ( window.location.pathname.lastIndexOf('/forbes/welcome/', 0) !== 0 ) { - return; - } - var noopfn = function() { - ; - }; - var odp = Object.defineProperty; - var wad, wadm, abc = function() {}; - var abcp = abc.prototype; - abcp.addCheck = abcp.check = abcp.initialize = - abcp.removeCheck = abcp.triggerAdBlockState = noopfn; - abcp.getAdBlockState = function() { - return false; - }; - odp(window, 'WelcomeAd', { - get: function() { return wad; }, - set: function(a) { - wad = a; - odp(a, 'Modules', { - get: function() { return wadm; }, - set: function(a) { - wadm = a; - if ( a.AdBlockChecker ) { - a.AdBlockChecker = abc; - } else { - odp(a, 'AdBlockChecker', { - get: function() { return abc; }, - set: function() {} - }); - } - } - }); - } - }); -})(); - - -# https://forums.lanik.us/viewtopic.php?f=62&t=25212 -impspcabe-defuser.js application/javascript -(function(){ - window._impspcabe = false; -})(); - - -# https://github.com/gorhill/uBlock/issues/733 -wpredirect-defuser.js application/javascript -(function() { - var twp = window.TWP = window.TWP || {}; - twp.Identity = twp.Identity || {}; - twp.Identity.initComplete = true; -})(); - - -# https://github.com/gorhill/uBlock/issues/1194 -openload-defuser.js application/javascript -(function() { - Object.defineProperty(window, 'preserve', { - get: function() { return true; }, - set: function() {} - }); -})(); - - -# https://github.com/gorhill/uBlock/issues/1136 -1136.js application/javascript -(function() { - var wjdmp; - var noopfn = function() { - ; - }; - var excludes = { - '4': ['157','161','175'], - '5': ['144'] - }; - var wjdmpGet = function() { - return wjdmp; - }; - var wjdmpSet = function(a) { - wjdmp = function(r, o) { - var aa; - for ( var excl in excludes ) { - if ( excludes.hasOwnProperty(excl) === false ) { - continue; - } - if ( r.length !== 1 || r[0].toString() !== excl ) { - continue; - } - aa = excludes[excl]; - for ( var k in o ) { - if ( !o.hasOwnProperty(k) || typeof o[k] !== 'function' ) { - continue; - } - if ( aa.length !== 0 && aa.indexOf(k.toString()) === -1 ) { - continue; - } - o[k] = noopfn; - } - } - a(r, o); - }; - }; - try { - Object.defineProperty(window, 'webpackJsonpdmp', { - get: wjdmpGet, - set: wjdmpSet - }); - } catch(ex) { - } -})(); - - -bab-defuser.js application/javascript -(function() { - var sto = window.setTimeout, - re = /\.bab_elementid.$/; - window.setTimeout = function(a, b) { - if ( typeof a !== 'string' || !re.test(a) ) { - return sto(a, b); - } - }; -})(); - - -kissanime-defuser.js application/javascript -(function() { - Object.defineProperty(window, 'isBlockAds2', { - get: function() { return false; }, - set: function(a) {} - }); -})(); - - -# https://forums.lanik.us/viewtopic.php?f=64&t=22975&start=45#p77969 -kisscartoon-defuser.js application/javascript -(function() { - Object.defineProperty(window, '_0x408a', { - get: function() { return []; }, - set: function(a) {} - }); -})(); - - -phenv-defuser.js application/javascript -(function() { - var phenv = window.PHENV; - var noopfn = function() { - ; - }; - var trapOnDetection = function() { - if ( phenv.onDetection === undefined ) { - Object.defineProperty(phenv, 'onDetection', { - get: function() { - return noopfn; - }, - set: noopfn - }); - return; - } - phenv.onDetection = noopfn; - }; - if ( phenv === undefined ) { - Object.defineProperty(window, 'PHENV', { - get: function() { - return phenv; - }, - set: function(a) { - phenv = a; - trapOnDetection(); - } - }); - return; - } - trapOnDetection(); -})(); - - -scorecardresearch.com/beacon.js application/javascript -(function() { - window.COMSCORE = { - purge: function() { - _comscore = []; - }, - beacon: function() { - ; - } - }; -})(); - - -# https://github.com/gorhill/uBlock/issues/1250#issuecomment-173533894 -widgets.outbrain.com/outbrain.js application/javascript -(function() { - var noopfn = function() { - ; - }; - var obr = {}; - var methods = [ - 'callClick', 'callLoadMore', 'callRecs', 'callUserZapping', - 'callWhatIs', 'cancelRecommendation', 'cancelRecs', 'closeCard', - 'closeModal', 'closeTbx', 'errorInjectionHandler', 'getCountOfRecs', - 'getStat', 'imageError', 'manualVideoClicked', 'onOdbReturn', - 'onVideoClick', 'pagerLoad', 'recClicked', 'refreshSpecificWidget', - 'refreshWidget', 'reloadWidget', 'researchWidget', 'returnedError', - 'returnedHtmlData', 'returnedIrdData', 'returnedJsonData', 'scrollLoad', - 'showDescription', 'showRecInIframe', 'userZappingMessage', 'zappingFormAction' - ]; - obr.extern = { - video: { - getVideoRecs: noopfn, - videoClicked: noopfn - } - }; - methods.forEach(function(a) { - obr.extern[a] = noopfn; - }); - window.OBR = window.OBR || obr; -})(); - - -# https://github.com/gorhill/uBlock/issues/1228 -window.name-defuser application/javascript -if ( window === window.top ) { - window.name = null; -} - - -# https://github.com/gorhill/uBlock/issues/897#issuecomment-180871042 -doubleclick.net/instream/ad_status.js application/javascript -window.google_ad_status = 1; - - -# https://github.com/gorhill/uBlock/issues/1384 -addthis.com/addthis_widget.js application/javascript -(function() { - var noopfn = function() { - ; - }; - window.addthis = { - addEventListener: noopfn, - button: noopfn, - init: noopfn, - layers: noopfn, - toolbox: noopfn, - update: noopfn - }; -})(); - - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=43914#p147866 -wired-defuser.js application/javascript -(function() { - var sto = window.setTimeout, - re = /^function n\(\)/; - window.setTimeout = function(a, b) { - if ( b !== 50 || !re.test(a.toString()) ) { - return sto(a, b); - } - }; -})(); - - -# https://github.com/gorhill/uBlock/issues/1059#issuecomment-185434177 -# Works for stern.de, will see if reusable. -bcplayer-defuser.js application/javascript -(function() { - var bcPlayer; - Object.defineProperty(window, 'bcPlayer', { - get: function() { - return bcPlayer; - }, - set: function(a) { - bcPlayer = a; - a.ads = function(a) { - ; - }; - } - }); -})(); - - -# https://forums.lanik.us/viewtopic.php?f=62&t=27719 -opensubtitles.org application/javascript -(function() { - var eval = window.eval; - window.eval = function(a) { - if ( a.toString().indexOf('defaultCheckForAdBlockExistance') !== -1 ) { - return; - }; - return eval(a); - }; -})(); - - -# Might be useful on some sites to be able to foil all calls to `setTimeout`. -# Example of a filter: `example.com##script:inject(setTimeout-defuser)` -setTimeout-defuser application/javascript -(function() { - window.setTimeout = function() { - return 1; - }; -})(); - - -# Completely experimental: load Disqus on demand only. Purpose is to avoid -# connecting to Disqus' servers, unless the user explicitly asks for the -# comments to be loaded. -# Works with following filters: -# ||disqus.com/forums/*/embed.js$script,redirect=disqus.com/forums/*/embed.js -# ||disqus.com/embed.js$script,redirect=disqus.com/embed.js -# ||disqus.com/count.js$script -# @@||disqus.com/embed.js?_=1457540*$script -# If you want a site you regularly visit to always have the comment loaded, -# just use an exception static filter. Example for wired.com: -# @@||wired.disqus.com/embed.js - -# Sometimes a site will use this one script: -disqus.com/forums/*/embed.js application/javascript -(function() { - var ee = document.getElementsByTagName('script'); - var i = ee.length, src; - while ( i-- ) { - src = ee[i].src || ''; - if ( src === '' ) { - continue; - } - if ( src.lastIndexOf('disqus.com/embed.js') === (src.length - 19) ) { - return; - } - } - var e = document.createElement('script'); - e.async = true; - e.src = '//' + window.disqus_shortname + '.disqus.com/embed.js'; - document.body.appendChild(e); -})(); - -# Most use this one though: -disqus.com/embed.js application/javascript -(function() { - var p = document.getElementById(window.disqus_container_id || 'disqus_thread'); - if ( p === null ) { - return; - } - var b = document.createElement('button'); - b.textContent = 'Disqus blocked by uBlock Origin: click to unblock'; - b.type = 'button'; - p.appendChild(b); - var loadDisqus = function(ev) { - b.removeEventListener('click', loadDisqus); - p.removeChild(b); - var script = document.createElement('script'); - script.async = true; - var t = Date.now().toString(); - script.src = '//' + window.disqus_shortname + '.disqus.com/embed.js?_=1457540' + t.slice(-6); - document.body.appendChild(script); - ev.preventDefault(); - ev.stopPropagation(); - }; - b.addEventListener('click', loadDisqus); -})(); - - -# https://github.com/gorhill/uBlock/issues/1461 -ytad-defuser.js application/javascript -(function() { - var bind = Function.prototype.bind; - Function.prototype.bind = function() { - 'native code'; - var bound = bind.apply(this, arguments); - bound.xpizqvtnrfkcjixkmdnu = this.toString(); - return bound; - }; - var sto = window.setTimeout; - window.setTimeout = function(a, b) { - if ( b === 15000 && b < 20000 && 'xpizqvtnrfkcjixkmdnu' in a ) { - console.log('uBO>', a.xpizqvtnrfkcjixkmdnu); - } - return sto(a, b); - }; -})(); - - -amazon-adsystem.com/aax2/amzn_ads.js application/javascript -(function() { - if ( amznads ) { - return; - } - var w = window; - var noopfn = function() { - ; - }; - var amznads = { - appendScriptTag: noopfn, - appendTargetingToAdServerUrl: noopfn, - appendTargetingToQueryString: noopfn, - clearTargetingFromGPTAsync: noopfn, - doAllTasks: noopfn, - doGetAdsAsync: noopfn, - doTask: noopfn, - detectIframeAndGetURL: noopfn, - getAds: noopfn, - getAdsAsync: noopfn, - getAdForSlot: noopfn, - getAdsCallback: noopfn, - getDisplayAds: noopfn, - getDisplayAdsAsync: noopfn, - getDisplayAdsCallback: noopfn, - getKeys: noopfn, - getReferrerURL: noopfn, - getScriptSource: noopfn, - getTargeting: noopfn, - getTokens: noopfn, - getValidMilliseconds: noopfn, - getVideoAds: noopfn, - getVideoAdsAsync: noopfn, - getVideoAdsCallback: noopfn, - handleCallBack: noopfn, - hasAds: noopfn, - renderAd: noopfn, - saveAds: noopfn, - setTargeting: noopfn, - setTargetingForGPTAsync: noopfn, - setTargetingForGPTSync: noopfn, - tryGetAdsAsync: noopfn, - updateAds: noopfn - }; - w.amznads = amznads; - w.amzn_ads = w.amzn_ads || noopfn; - w.aax_write = w.aax_write || noopfn; - w.aax_render_ad = w.aax_render_ad || noopfn; -})(); - - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=25216#p149739 -sas-defuser.js application/javascript -(function() { - var noopfn = function() { - ; - }; - var ads = { - display: noopfn, - refresh: noopfn - }; - Object.defineProperty(window, 'Ads', { - get: function() { - return ads; - }, - set: noopfn - }); -})(); - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=25216#p149739 -figaro-defuser.js application/javascript -(function() { - Object.defineProperty(window, 'adisplaynormal', { - get: function() { - return true; - }, - set: function() {} - }); -})(); - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=25216#p149739 -lemonde-defuser.js application/javascript -(function() { - localStorage.setItem('lmd_me_displayed',JSON.stringify({data:true,timeout:Date.now()+31536000000})); -})(); - -# Good case for https://github.com/gorhill/uBlock/issues/781 -rtlfr-defuser.js application/javascript -(function() { - window.addEventListener('load', function() { - document.body.style.setProperty('overflow', 'auto'); - }); -})(); - - -# Experimental: Generic overlay defuser. -# if this works well and proves to be useful, this may end up as a stock tool -# in uBO's popup panel. -overlay-buster.js application/javascript -(function() { - if ( window !== window.top ) { - return; - } - var shutdown = function() { - observer.disconnect(); - observer = null; - }; - var ttlTimer = setTimeout(shutdown, 15000); - var timer = null; - var domChanged = function(mutations) { - timer = null; - var docEl = document.documentElement, - bodyEl = document.body, - vw = Math.min(docEl.clientWidth, window.innerWidth), - vh = Math.min(docEl.clientHeight, window.innerHeight), - el = document.elementFromPoint(vw/2, vh/2), - style, rect; - for (;;) { - if ( el === null || el.parentNode === null || el === bodyEl ) { - return; - } - style = window.getComputedStyle(el); - if ( parseInt(style.zIndex, 10) >= 1000 && style.position === 'fixed' ) { - rect = el.getBoundingClientRect(); - if ( rect.left <= 0 && rect.top <= 0 && rect.right >= vw && rect.bottom >= vh ) { - break; - } - } - el = el.parentNode; - } - el.parentNode.removeChild(el); - if ( ttlTimer !== null ) { - clearTimeout(ttlTimer); - ttlTimer = setTimeout(shutdown, 15000); - } - }; - var domChangedAsync = function(mutations) { - if ( timer === null ) { - timer = setTimeout(domChanged, 50); - } - }; - var observer = new MutationObserver(domChangedAsync); - var domReady = function(ev) { - document.removeEventListener(ev.type, domReady); - observer.observe(document.body, { - childList: true, - subtree: true - }); - }; - document.addEventListener('DOMContentLoaded', domReady); -})(); - - -# http://www.wilderssecurity.com/threads/ublock-a-lean-and-fast-blocker.365273/page-77 -imore-sanitizer.js application/javascript -(function() { - if ( window.mbn_zones ) { - delete window.mbn_zones; - return; - } - Object.defineProperty(window, 'mbn_zones', { - value: undefined - }); -})(); diff --git a/assets/ublock/unbreak.txt b/assets/ublock/unbreak.txt deleted file mode 100644 index b8a992705..000000000 --- a/assets/ublock/unbreak.txt +++ /dev/null @@ -1,301 +0,0 @@ -# Needed to unbreak web sites, mostly because of hosts file-based filters: -# Dan Pollock's, MVPS, Peter Lowe's - -# https://twitter.com/JarkkoRytkonen/status/540052376015888385 -# https://github.com/chrisaljoudi/uBlock/issues/119 -# https://github.com/chrisaljoudi/uBlock/issues/940 -# To counter `google-analytics.com` in Peter Lowe's list -@@||google-analytics.com^$domain=avianca.com|jackbox.tv|newegg.com|bikstok.sonymusicshop.dk - -# From Chrome store: "Go to site http://www.vd.nl/ ... links from dropdown top menu do not work" -# To counter Dan Pollock's, hpHosts, MVPS, Peter Lowe's -@@||google-analytics.com/analytics.js$script,domain=burodecredito.com.mx|vd.nl - -# https://github.com/gorhill/uBlock/issues/1164 -# GA plugins are pulled if and only if `analytics.js` was already allowed in -# the first place: it is thus safe to create a global exception filter for -# all GA plugins. -@@||google-analytics.com/plugins/$script - -# https://github.com/gorhill/uBlock/issues/1020 -@@||www.google-analytics.com/ga.js$script,domain=santander.com.mx|tv2.no - -# https://github.com/gorhill/uBlock/issues/939 -@@||google-analytics.com/urchin.js$script,domain=live.euroleague.net - -# https://github.com/chrisaljoudi/uBlock/issues/63 -@@||adf.ly^$~third-party -# https://github.com/gorhill/uBlock/issues/1131 -@@||adf.ly^$domain=j.gs - -# https://github.com/chrisaljoudi/uBlock/issues/69 -@@||widget-cdn.rpxnow.com^$domain=foxnews.com,script - -# https://github.com/chrisaljoudi/uBlock/issues/141 -# Videos broken on weather.com -# To counter `tags.tiqcdn.com` in  MVPS -@@||tags.tiqcdn.com/utag/*.js$script,domain=weather.com - -# http://forums.lanik.us/viewtopic.php?f=64&t=17842&sid=46bd7065193153fe46efe816b7cd32c9&start=30#p59663 -# To counter `statcounter.com` in Peter Lowe's, MVPS, Dan Pollock's and hpHosts -@@||statcounter.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/166 -# To counter `liverail.com` in Peter Lowe's, MVPS, and hpHosts -@@||cdn-static.liverail.com^$object-subrequest - -# https://github.com/chrisaljoudi/uBlock/issues/580 -# To counter `liverail.com` in Dan Pollock's, hpHosts, MVPS, Peter Lowe's -@@||cdn-static.liverail.com$domain=9to5mac.com - -# https://github.com/gorhill/uBlock/issues/294 -# To counter `liverail.com` in hpHosts, Peter Lowe -# To counter `vox-static.liverail.com` in Dan Pollock, hpHosts, MVPS -@@||vox-static.liverail.com/swf/$object-subrequest,domain=cdnapi.kaltura.com - -# cnet.com needs this for video players -# https://github.com/chrisaljoudi/uBlock/issues/227 -# To counter `2mdn.net` in Peter Lowe's -# To counter `s0.2mdn.net` in MVPS, hpHosts, Dan Pollock's -@@||s0.2mdn.net/instream/*$domain=cnet.com|nfl.com|wistv.com -@@||s0.2mdn.net/instream/flash/v3/adsapi_3.swf$object - -# https://github.com/chrisaljoudi/uBlock/issues/243 -# To counter `cdn-i.dmdentertainment.com` in hpHosts -@@||cdn-i.dmdentertainment.com^$domain=cracked.com - -# https://twitter.com/ethanveres/status/527122036649639936 -# Fortunately, further connections to `mxpnl.com` are blocked -@@||cdn.vurb.com/*/mixpanel. - -# https://adblockplus.org/forum/viewtopic.php?f=2&t=25772 -@@||target.122.2o7.net^$domain=target.com - -# To counter `adm.fwmrm.net` from hpHosts, MVPS, Dan Pollock's -@@||adm.fwmrm.net^$domain=go.com - -# https://github.com/chrisaljoudi/uBlock/issues/274 -# To counter `mopub.com` in Peter Lowe's -@@||mopub.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/293 -# To counter `safelinking.net` in hpHosts -@@||safelinking.net^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/302 -# To counter `outbrain.com` in hpHosts -@@||outbrain.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/316 -# To counter `inc.com` in Peter Lowe's, hpHosts -@@||inc.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/336 -# To counter `flurry.com` in Peter Lowe's, hpHosts, MVPS -@@||flurry.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/374 -# To counter `2mdn.net` in Peter Lowe's, `s0.2mdn.net` in hpHosts -@@||s0.2mdn.net/instream/*$object,script,domain=wsmv.com - -# https://github.com/chrisaljoudi/uBlock/issues/409 -@@||c.speedtest.net^$~third-party - -# To counter Peter Lowe's, hpHosts -@@||boldchat.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/463 -# To counter Peter Lowe's, hpHosts -@@||mixpanel.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/466 -# Until fixed in EasyPrivacy -@@/google-analytics-dashboard - -# https://twitter.com/poroot/status/554300983472574465 -charlie.strim.io#@##tweets -ovh.strim.io#@##tweets - -# https://adblockplus.org/forum/viewtopic.php?f=10&t=24896&start=15#p114675 -# Until fixed in EasyList -@@||cdn.turner.com/ads/nba/adfuel.js$domain=www.nba.com - -# https://github.com/chrisaljoudi/uBlock/issues/570 -# To counter `yui.yahooapis.com` in hpHosts -@@||yui.yahooapis.com^ - -# Chrome store feedback -# To counter `top.mail.ru` in Peter Lowe's -@@||top.mail.ru^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/602 -# To counter `/ads.css` in EasyList -@@||css.washingtonpost.com/*/ads.css$stylesheet,~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/607 -# To counter `||pcekspert.com^` in Peter Lowe's -@@||pcekspert.com^$~third-party - -# https://twitter.com/yo_0/status/559748330390323200 -# To counter `||clickbank.com^` in Dan Pollock's, Peter Lowe's -@@||clickbank.com^$~third-party - -# https://github.com/chrisaljoudi/uBlock/issues/614 -# To counter `awaps.yandex.ru` in hpHosts -# To counter `mc.yandex.ru` in hpHosts, MVPS -@@||awaps.yandex.ru^$domain=market.yandex.ru -@@||mc.yandex.ru^$domain=market.yandex.ru -@@||yastatic.net/market-export/*/advert.js$domain=market.yandex.ru - -# https://github.com/chrisaljoudi/uBlock/issues/774 -# To counter `carbonads.net` in Peter Lowe's -@@||carbonads.net^$~third-party - -# This enables twitch.tv to work in HTML5 -@@||imasdk.googleapis.com$domain=twitch.tv - -# Chrome store feedback: "totaljobs.com [...] with μBlock enabled, I can't click any links" -# To counter `2o7.net` in Peter Lowe's -@@||2o7.net^$domain=totaljobs.com - -# https://github.com/chrisaljoudi/uBlock/issues/841 -# To counter `quantcast.com` in hpHosts, Peter Lowe's -@@||quantcast.com^$~third-party - -# Chrome store feedback: "on gaana.com it blocks the site" -# To counter `_social_tracking.` in EasyPrivacy -@@||css5.gaanacdn.com/minify-*/min/?$script,domain=gaana.com - -# https://twitter.com/Urre/status/572742363069714432 -# To counter `/keen.min.js` in EasyPrivacy -@@||keen.github.io/*/keen.min.js$~third-party - -# https://github.com/gorhill/uBlock/issues/182 -# http://www.okgoals.com/match-highlights-1425491618---41 -# To counter `intergi.com` in Peter Lowe's. For example, breaks: -# explosm.net -# lastminutegoals.org -# okgoals.com -# tvgolo.com -@@||cdn.phoenix.intergi.com^ - -# kissmetrics.com broken -# To counter `kissmetrics.com` in Peter Lowe's -@@||kissmetrics.com^$~third-party - -# Twitter: https://twitter.com/swashcap/status/578413787323056128 -# "Found Viewpoint’s site [...] Looks like it might be broken?" -# To counter hpHosts, Peter Lowe's `viewpoint.com` -@@||viewpoint.com^$~third-party - -# http://www.reddit.com/r/ublock/comments/32k908/cnncom_videos_wont_load_w_%C2%B5block_enabled/ -@@||i.cdn.turner.com/xslo/cvp/ads/freewheel/bundles/2/*$domain=cnn.com - -# https://github.com/chrisaljoudi/uBlock/issues/1421 -# To counter hpHost, MVPS, Peter Lowe: `woopra.com` -@@||woopra.com^$~third-party - -# http://www.wilderssecurity.com/threads/ublock-origin-and-newegg.377014/ -# Until the fix is in EasyPrivacy -@@||monetate.net/*$script,domain=www.newegg.com - -# https://github.com/gorhill/uBlock/issues/372 -@@||googleads.g.doubleclick.net/ads/preferences/getcookie$popup,domain=myaccount.google.com - -# http://www.reddit.com/r/AsianBeauty/comments/3ak15v/til_if_youre_using_ublock_origin_some_of_the/ -@@||img.echosting.cafe24.com/design$image,domain=jolse.com - -# https://forums.lanik.us/viewtopic.php?f=64&t=23859 -@@||imasdk.googleapis.com/js/core$subdocument,domain=globalnews.ca - -# https://github.com/gorhill/uBlock/issues/780 -@@||www.google-analytics.com/plugins/ua/linkid.js$script,domain=support.amd.com -@@||www.google-analytics.com/analytics.js$script,domain=support.amd.com -@@||www.googletagmanager.com/gtm.js$script,domain=support.amd.com - -# https://www.reddit.com/r/uBlockOrigin/comments/3oca9w/how_to_keep_ublock_from_interfering_with_button/ -@@||partner.googleadservices.com/gpt/$script,domain=www.merriam-webster.com -@@||www.atpworldtour.com/assets/js/util/googleAnalytics.js$script,first-party - -# https://twitter.com/bociusz/status/653693746626871296 -# To counter Peter Lowe's `pagefair.com`, but only when on `pagefair.com` -@@||pagefair.com^$first-party - -# Chrome store: "Some of the useful content on website such as pictures and maps on redfin get blocked" -@@||ssl.cdn-redfin.com/*/redfin/common/analytics/PixelTracking.js$script,domain=redfin.com - -# Chrome store: "uBlock Origin seems to think Southwest.com's background and header image are ads" -@@||www.southwest.com/*/mbox.js$script,first-party - -# https://www.reddit.com/r/ublock/comments/3qo6yj/marketwatchcom_blocks_ublock/ -marketwatch.com#@##ad_DisplayAd1 -marketwatch.com#@##ad_DisplayAd2 -marketwatch.com#@#.advertisement - -# https://twitter.com/Jadenfire/status/663837423160451072 -@@||d2kkl4buashh8c.cloudfront.net/ads/ads.js$script,domain=thesimsresource.com - -# As reported in AMO feedback section -@@||nationalreview.com/sites/all/themes/*/assets/js/chartbeat.js$script - -# https://github.com/gorhill/uBlock/issues/1016#issuecomment-165153899 -@@||liveperson.net^$first-party - -# https://github.com/gorhill/uBlock/issues/1082 -@@||widgets.outbrain.com/outbrain.js$script,domain=www.themarker.com - -# https://github.com/gorhill/uBlock/issues/1081 -@@||google-analytics.com/ga.js$domain=one.co.il - -# https://github.com/gorhill/uBlock/issues/1297 -@@||taboola.com^$first-party - -# https://github.com/gorhill/uBlock/issues/1296 -@@||odb.outbrain.com/crossdomain.xml$object-subrequest - -# https://twitter.com/SeanHood/status/692387495993024512 -# To counter `207.net` in Peter Lowe's, Disconnect‎'s Malvertising filter list -@@||ticketmaster.122.2o7.net$image,domain=ticketweb.co.uk - -# https://forums.lanik.us/viewtopic.php?f=64&t=28590 -phoronix.com#@#div[style^="text-align: center;"] - -# https://forums.lanik.us/viewtopic.php?f=64&t=28701 -@@||files.explosm.net/files/$image,first-party - -# `amazon-adsystem.com` is blocked by Peter Lowe's. The neutered script should -# help lower chances of breakage. Examples: -# - http://www.food.com/recipe/oven-baked-sweet-plantains-80130 (slideshow controls broken) -# - [add more] -||amazon-adsystem.com/aax2/amzn_ads.js$script,redirect=amazon-adsystem.com/aax2/amzn_ads.js - -# This potentially unbreaks sites broken by EasyPrivacy's `/b/ss/*&aqe=` -# Confirmed for: -# - http://www.surfline.com/video/ (links not working) -# - https://github.com/gorhill/uBlock/issues/529 -# - http://www.scotrail.co.uk/check-your-journey (via https://twitter.com/andy_pee_tho/status/710508529405263872) -*/b/ss/*&aqe=$image,redirect=1x1-transparent.gif - -# This unbreak video player: -# - http://www.cnet.com/videos/big-mac-survives-molten-copper-and-heats-up-internet-ep-233/ -# And possibly other sites -- `taboola.com` is blocked by Peter Lowe's. -||cdn.taboola.com/libtrc/*/loader.js$script,redirect=noopjs,important,domain=cnet.com - -# https://twitter.com/peikas/status/711911523837460480 -# To counter `/analytics.min.js` in EasyPrivacy -@@||cdn.segment.com/analytics.js/*/analytics.min.js$script,domain=vyte.in - -# https://twitter.com/maknz/status/712731132484124672 -# To counter `-google-tag-manager/$script` in EasyPrivacy -@@||sorted.org.nz/*/angulartics-google-tag-manager.js$script,first-party - -# https://twitter.com/mtarnovan/status/713088377994682368 -# This counters `analytics.google.com` in Peter Lowe's -@@||analytics.google.com^$first-party - -# This unbreaks video playback on weather.com -# To counter `||analytics.edgekey.net^` in EasyPrivacy. -@@||analytics.edgekey.net/html5/akamaihtml5-min.js$script,domain=weather.com - -# https://github.com/gorhill/uBlock/issues/1522 -||tags.tiqcdn.com/utag/*.js$script,redirect=noopjs,domain=cnet.com diff --git a/assets/update-3p-mirror.sh b/assets/update-3p-mirror.sh deleted file mode 100755 index 1c5dd54da..000000000 --- a/assets/update-3p-mirror.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash -# -# This script assumes a linux environment - -TEMPFILE=/tmp/httpsb-asset - -echo "*** uBlock: updating remote assets..." - -declare -A assets -assets=( - ['thirdparties/publicsuffix.org/list/effective_tld_names.dat']='https://publicsuffix.org/list/effective_tld_names.dat' -) - -for i in "${!assets[@]}"; do - localURL="$i" - remoteURL="${assets[$i]}" - echo "*** Downloading ${remoteURL}" - if wget -q -T 30 -O $TEMPFILE -- $remoteURL; then - if [ -s $TEMPFILE ]; then - if ! cmp -s $TEMPFILE $localURL; then - echo " New version found: ${localURL}" - if [ "$1" != "dry" ]; then - mv $TEMPFILE $localURL - fi - fi - fi - fi -done diff --git a/assets/update-git.sh b/assets/update-git.sh deleted file mode 100755 index bbc72f2a2..000000000 --- a/assets/update-git.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash -# -# This script assumes a linux environment - -echo "*** uBlock: git adding changed assets..." -git add --update --ignore-removal --ignore-errors ./* -echo "*** uBlock: git committing assets..." -git commit -m 'update of third-party assets' -echo "*** uBlock: git pushing assets to remote master..." -git push origin master - -echo "*** uBlock: git done." -