mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 22:39:16 +08:00
Merge remote-tracking branch 'origin/dev'
This commit is contained in:
commit
94029dc6da
@ -2,6 +2,13 @@
|
||||
|
||||
##### anti-AD是综合著名广告过滤列表的高效广告屏蔽、隐私保护工具。能主动探测域名,支持国内外广告分开屏蔽,现已支持AdGuardHome,dnsmasq, Surge,Pi-Hole等优秀的网络组件。
|
||||
|
||||
使用此工具能够屏蔽广告域名,屏蔽电视盒子广告,屏蔽app内置广告,同时屏蔽了一些日志收集、大数据统计等涉及个人隐私信息的站点,能够保护个人隐私不被偷偷上传。
|
||||
|
||||
#### v4.1 (2019.12.24)
|
||||
|
||||
- easylist支持通配符匹配域名
|
||||
- easylist引入白名单赦免机制
|
||||
|
||||
#### v4.0 (2019.12.14)
|
||||
|
||||
- 开始支持主动探测无效域名,进一步降低最终生成文件(位于dist目录)的体积,提升命中率
|
||||
|
11
changelog.md
11
changelog.md
@ -1,8 +1,15 @@
|
||||
# anti-AD change log
|
||||
#### v4.1 (未发布)
|
||||
- easylist针对性优化,支持通配符匹配,提升匹配效率
|
||||
- easylist列表引入白名单支持
|
||||
- 优化主动探测dns查询的效率
|
||||
- 待主动探测功能稳定后将开启自动push到github上
|
||||
|
||||
#### v4.0 (2019.12.14)
|
||||
|
||||
- 开始支持检查无效域名,进一步降低最终生成文件的体积
|
||||
- 分离出国内域名的精简配置(`dist/anti-ad-basic.conf`)和优化后的完整配置(`dist/anti-ad-full.conf`),可以选择不同等级了
|
||||
- 开始支持主动探测无效域名,进一步降低最终生成文件(位于dist目录)的体积,提升命中率
|
||||
- 开始支持dnsmasq,easylist,surge等多种格式
|
||||
- 分离出国内域名的精简配置(`dist/*-basic.*`)和优化后的完整配置(`dist/*-full.*`),可以根据需求选择屏蔽等级
|
||||
- 代码重构,工程化,分离class,分离工具,逻辑更清晰
|
||||
|
||||
|
||||
|
482
origin-files/whiterule-src-easylist.txt
Normal file
482
origin-files/whiterule-src-easylist.txt
Normal file
@ -0,0 +1,482 @@
|
||||
@@||10010.com^$generichide
|
||||
@@||10086.cn^$generichide
|
||||
@@||100percentfedup.com^$generichide
|
||||
@@||199it.com^$generichide
|
||||
@@||4archive.org^$generichide
|
||||
@@||4horlover.com^$generichide
|
||||
@@||51job.com^$generichide
|
||||
@@||5471782.fls.doubleclick.net^|
|
||||
@@||58b.tv^$generichide
|
||||
@@||5qidgde.com^$generichide
|
||||
@@||85po.com^$generichide
|
||||
@@||85porn.net^$generichide
|
||||
@@||8shit.net^$generichide
|
||||
@@||99wbwc.com^$generichide
|
||||
@@||99ybcc.com^$generichide
|
||||
@@||9zvip.net^$elemhide
|
||||
@@||a.adwolf.ru^|
|
||||
@@||abril.com.br^$generichide
|
||||
@@||acdn.adnxs.com^|
|
||||
@@||ad.alimama.com^$genericblock
|
||||
@@||ad.filmweb.pl^$script
|
||||
@@||adcity.tech^$script,third-party
|
||||
@@||adf.ly^$generichide
|
||||
@@||adfox.ru^$~third-party
|
||||
@@||adgarden.tech^$script,third-party
|
||||
@@||adjs.8591.com.tw^$script
|
||||
@@||admin.mgid.com^$popup
|
||||
@@||adnet.qq.com^$~third-party
|
||||
@@||ads.askgamblers.com^$popup
|
||||
@@||ads.fuckingmachines.com^$image,~third-party
|
||||
@@||ads.microsoft.com^$popup
|
||||
@@||ads.nipr.ac.jp^$~third-party
|
||||
@@||ads.pinterest.com^$popup
|
||||
@@||ads.tiktok.com^$generichide
|
||||
@@||ads.tiktok.com^$popup
|
||||
@@||ads.tiktok.com^$~third-party
|
||||
@@||ads.twitter.com^$popup,~third-party
|
||||
@@||ads.ultimatesurrender.com^$image,~third-party
|
||||
@@||adsbox.in^$generichide
|
||||
@@||adsense.woso.cn^$~third-party
|
||||
@@||adv.blogupp.com^$popup
|
||||
@@||adv.cr^$popup
|
||||
@@||adv.gg^$popup
|
||||
@@||adv.welaika.com^$popup
|
||||
@@||aetv.com^$generichide
|
||||
@@||afdah.tv^$script
|
||||
@@||affyun.com^$generichide
|
||||
@@||afreesms.com^$generichide
|
||||
@@||ahctv.com^$generichide
|
||||
@@||ak77now.pixnet.net^$generichide
|
||||
@@||allenwestrepublic.com^$generichide
|
||||
@@||allestoringen.be^$generichide
|
||||
@@||allestoringen.nl^$generichide
|
||||
@@||allestörungen.at^$generichide
|
||||
@@||allestörungen.ch^$generichide
|
||||
@@||allestörungen.de^$generichide
|
||||
@@||allmusic.com^$generichide
|
||||
@@||allmyvideos.net^$generichide
|
||||
@@||allmyvideos.net^$script,~third-party
|
||||
@@||allthingsvegas.com^$generichide
|
||||
@@||alphahistory.com^$generichide
|
||||
@@||anilinkz.io^$generichide
|
||||
@@||anonytext.tk^$generichide
|
||||
@@||api.recaptcha.net^$script
|
||||
@@||apk.tw^$script,~third-party
|
||||
@@||app.adjust.com^|
|
||||
@@||app.adroll.com^$generichide
|
||||
@@||archiveteam.org^$generichide
|
||||
@@||askmefast.com^$generichide
|
||||
@@||aussieoutages.com^$generichide
|
||||
@@||awin1.com^|
|
||||
@@||bde4.com^$generichide
|
||||
@@||bento.de^$generichide
|
||||
@@||bicimotosargentina.com^$generichide
|
||||
@@||bing.com^$generichide
|
||||
@@||bingfeng.tw^$generichide
|
||||
@@||blackmod.net^$generichide
|
||||
@@||blog.logrocket.com^|
|
||||
@@||blog.ztjal.info^$generichide
|
||||
@@||boreburn.com^$generichide
|
||||
@@||boredomtherapy.com^$generichide
|
||||
@@||breathecast.com^$generichide
|
||||
@@||brighteon.com^$generichide
|
||||
@@||btsax.info^$generichide
|
||||
@@||bulletsfirst.net^$generichide
|
||||
@@||canadianoutages.com^$generichide
|
||||
@@||ccllaa.com^$generichide
|
||||
@@||cdn1.smartadserver.com^|
|
||||
@@||centro.co.il^$generichide
|
||||
@@||changyou.com^$generichide
|
||||
@@||cheapism.com^$generichide
|
||||
@@||cheatsheet.com^$generichide
|
||||
@@||chicagoreader.com^$generichide
|
||||
@@||chicksonright.com^$generichide
|
||||
@@||chinamobile.com^$generichide
|
||||
@@||chuangkit.com^$generichide
|
||||
@@||clkuk.tradedoubler.com^|
|
||||
@@||club.tgfcer.com^$generichide
|
||||
@@||cm-beacon.nakanohito.jp^|
|
||||
@@||cm-widget.nakanohito.jp^|
|
||||
@@||cmechina.net^$genericblock
|
||||
@@||cnprint.org^$generichide
|
||||
@@||colatour.com.tw^$generichide
|
||||
@@||comicallyincorrect.com^$generichide
|
||||
@@||comicbook.com^$generichide
|
||||
@@||consent-pref.trustarc.com^$subdocument
|
||||
@@||consent.trustarc.com^$image
|
||||
@@||conservativeintel.com^$generichide
|
||||
@@||constitution.com^$generichide
|
||||
@@||cookielawinfo.com^$~third-party
|
||||
@@||coolinet.com^$generichide
|
||||
@@||craigjames.com^$generichide
|
||||
@@||crazyshit.com^$generichide
|
||||
@@||crossmap.com^$generichide
|
||||
@@||cwtv.com^$generichide
|
||||
@@||cy.com^$generichide
|
||||
@@||dailyfeed.co.uk^$generichide
|
||||
@@||dailyhealthpost.com^$generichide
|
||||
@@||dailysurge.com^$generichide
|
||||
@@||dashboard.idealmedia.com^$~third-party
|
||||
@@||dashboard.lentainform.com^$~third-party
|
||||
@@||dashboard.marketgid.com^$~third-party
|
||||
@@||dashboard.mgid.com^$popup
|
||||
@@||dashboard.mgid.com^$~third-party
|
||||
@@||dashboard.tovarro.com^$~third-party
|
||||
@@||deneenborelli.com^$generichide
|
||||
@@||depositfiles.com^$generichide
|
||||
@@||destinationamerica.com^$generichide
|
||||
@@||dfiles.eu^$generichide
|
||||
@@||dfiles.ru^$generichide
|
||||
@@||diep.io^$script,~third-party
|
||||
@@||digitaljournal.com^$generichide
|
||||
@@||dilidili.one^$generichide
|
||||
@@||dizhi99.com^$generichide
|
||||
@@||dlkoo.cc^$generichide
|
||||
@@||dlkoo.com^$generichide
|
||||
@@||doubibackup.com^$generichide
|
||||
@@||downdetctor.cl^$generichide
|
||||
@@||downdetector.ae^$generichide
|
||||
@@||downdetector.co.nz^$generichide
|
||||
@@||downdetector.co.uk^$generichide
|
||||
@@||downdetector.co.za^$generichide
|
||||
@@||downdetector.com.ar^$generichide
|
||||
@@||downdetector.com.br^$generichide
|
||||
@@||downdetector.com^$generichide
|
||||
@@||downdetector.dk^$generichide
|
||||
@@||downdetector.es^$generichide
|
||||
@@||downdetector.fi^$generichide
|
||||
@@||downdetector.fr^$generichide
|
||||
@@||downdetector.hk^$generichide
|
||||
@@||downdetector.ie^$generichide
|
||||
@@||downdetector.in^$generichide
|
||||
@@||downdetector.it^$generichide
|
||||
@@||downdetector.jp^$generichide
|
||||
@@||downdetector.mx^$generichide
|
||||
@@||downdetector.no^$generichide
|
||||
@@||downdetector.pl^$generichide
|
||||
@@||downdetector.pt^$generichide
|
||||
@@||downdetector.ru^$generichide
|
||||
@@||downdetector.se^$generichide
|
||||
@@||downdetector.sg^$generichide
|
||||
@@||downdetector.web.tr^$generichide
|
||||
@@||download.mokeedev.com^$genericblock,generichide
|
||||
@@||dragoart.com^$generichide
|
||||
@@||dragoart.com^$script,~third-party
|
||||
@@||drfile.net^$generichide
|
||||
@@||drugs.com^$subdocument,~third-party
|
||||
@@||dx-tv.com^$generichide
|
||||
@@||e24.no^$generichide
|
||||
@@||earnthenecklace.com^$generichide
|
||||
@@||easylife.tw^$generichide
|
||||
@@||eegay.com^$generichide
|
||||
@@||elife-cloud.blogspot.com^$generichide
|
||||
@@||embedupload.com^$generichide
|
||||
@@||enstarz.com^$generichide
|
||||
@@||eolinker.com^$generichide
|
||||
@@||eteknix.com^$generichide
|
||||
@@||eucookiedirective.com^$~third-party
|
||||
@@||euroman.dk^$generichide
|
||||
@@||external.mranime.tv^$generichide,script
|
||||
@@||ez3c.tw^$generichide
|
||||
@@||eztv.io^$generichide
|
||||
@@||eztv.tf^$generichide
|
||||
@@||eztv.yt^$generichide
|
||||
@@||faithit.com^$generichide
|
||||
@@||fas.li^$generichide
|
||||
@@||feed.adrelayer.com^|
|
||||
@@||fharr.com^$generichide
|
||||
@@||fitshr.net^$script,stylesheet
|
||||
@@||flashx.tv^$generichide
|
||||
@@||flattr.com^$generichide
|
||||
@@||flvto.biz^$generichide
|
||||
@@||fontawesome.io^$generichide,~third-party
|
||||
@@||foreverymom.com^$generichide
|
||||
@@||freedomoutpost.com^$generichide
|
||||
@@||freeomovie.com^$generichide
|
||||
@@||freevaluator.com^$generichide
|
||||
@@||freewarefiles.com^$generichide
|
||||
@@||fuckme.me^$generichide
|
||||
@@||fullmatchesandshows.com^$generichide
|
||||
@@||fyi.tv^$generichide
|
||||
@@||galna.org^$generichide
|
||||
@@||game735.com^$generichide
|
||||
@@||gamerant.com^$generichide
|
||||
@@||games.pch.com^$generichide
|
||||
@@||gaus.ee^$generichide
|
||||
@@||gaybeeg.info^$generichide
|
||||
@@||gelbooru.com^$generichide
|
||||
@@||gelbooru.com^$popup,~third-party
|
||||
@@||getrelax.cc^$generichide
|
||||
@@||ggg50.pw^$generichide
|
||||
@@||globfone.com^$generichide
|
||||
@@||go4up.com^$generichide
|
||||
@@||gogi.in^$generichide
|
||||
@@||golangnote.com^$generichide
|
||||
@@||googleadapis.l.google.com^|
|
||||
@@||googlecommerce.com^$script
|
||||
@@||gooogle.how^$generichide
|
||||
@@||gosocial.co^$generichide
|
||||
@@||gymflow100.com^$generichide
|
||||
@@||h-sdk.online-metrix.net^|
|
||||
@@||hallels.com^$generichide
|
||||
@@||headcramp.com^$generichide
|
||||
@@||healthstatus.com^$generichide
|
||||
@@||healthyadvertising.es^$~third-party
|
||||
@@||hellojav.com^$generichide
|
||||
@@||hentaienespañol.net^$generichide
|
||||
@@||hh010.com^$generichide
|
||||
@@||history.com^$generichide
|
||||
@@||hngn.com^$generichide
|
||||
@@||honesttopaws.com^$generichide
|
||||
@@||href.li^|
|
||||
@@||huffingtonpost.co.uk^$generichide
|
||||
@@||huffingtonpost.com^$generichide
|
||||
@@||hypable.com^$generichide
|
||||
@@||ibf.tw^$generichide
|
||||
@@||ifttt.com^$generichide
|
||||
@@||imagefap.com^$generichide
|
||||
@@||images.sportsworldnews.com^$image,third-party
|
||||
@@||imasdk.googleapis.com^|
|
||||
@@||img.highloadtest.com^$image
|
||||
@@||indiangilma.com^$generichide
|
||||
@@||informer.com^$generichide
|
||||
@@||infowars.com^$generichide
|
||||
@@||inoreader.com^$genericblock,generichide
|
||||
@@||intellectualconservative.com^$generichide
|
||||
@@||jadult.net^$generichide
|
||||
@@||javcen.me^$generichide
|
||||
@@||javhub.net^$generichide
|
||||
@@||javhub.net^$script,~third-party
|
||||
@@||javpub.me^$generichide
|
||||
@@||jetzt.de^$generichide
|
||||
@@||jin10.com^$generichide
|
||||
@@||jlthjy.com^$generichide
|
||||
@@||jobsnhire.com^$generichide
|
||||
@@||joeforamerica.com^$generichide
|
||||
@@||jsfiddle.net^$generichide
|
||||
@@||justdiy.com^$generichide
|
||||
@@||justwatch.com^$generichide
|
||||
@@||kdramastars.com^$generichide
|
||||
@@||kissjav.com^$generichide
|
||||
@@||kpopstarz.com^$generichide
|
||||
@@||latinpost.com^$generichide
|
||||
@@||lcpdfr.com^$generichide
|
||||
@@||ldxinyong.com^$generichide
|
||||
@@||league-funny.com^$generichide
|
||||
@@||league-funny.com^$script,~third-party
|
||||
@@||leagueofmovie.com^$generichide
|
||||
@@||legalinsurrection.com^$generichide
|
||||
@@||lemon-ads.com^$~document,~third-party
|
||||
@@||lfporn.com^$generichide
|
||||
@@||lidblog.com^$generichide
|
||||
@@||lifebuzz.com^$generichide
|
||||
@@||link.tl^$generichide
|
||||
@@||lipis.github.io^$generichide
|
||||
@@||lnk2.cc^$generichide
|
||||
@@||login.mos.ru^$image
|
||||
@@||madworldnews.com^$generichide
|
||||
@@||mccc11.com^$generichide
|
||||
@@||mccm88.com^$generichide
|
||||
@@||media-cache*.pinimg.com^$image,third-party
|
||||
@@||mediafire.com^$generichide
|
||||
@@||megaup.net^$generichide
|
||||
@@||mentalflare.com^$generichide
|
||||
@@||milfzr.com^$generichide
|
||||
@@||mmaa99.xyz^$generichide
|
||||
@@||mmuu22.link^$generichide
|
||||
@@||mnighthk.net^$elemhide
|
||||
@@||moneyversed.com^$generichide
|
||||
@@||monnsutogatya.com^$elemhide
|
||||
@@||monova.org^$generichide
|
||||
@@||moviesunusa.net^$generichide
|
||||
@@||msn.com^$popup,~third-party
|
||||
@@||muzlan.top^$generichide
|
||||
@@||myiplayer.com^$generichide
|
||||
@@||myqqjd.com^$generichide
|
||||
@@||myscienceacademy.org^$generichide
|
||||
@@||n4mo.org^$generichide
|
||||
@@||namechk.com^$generichide
|
||||
@@||naturalblaze.com^$generichide
|
||||
@@||naturalsociety.com^$generichide
|
||||
@@||natureworldnews.com^$generichide
|
||||
@@||newser.com^$generichide
|
||||
@@||newseveryday.com^$generichide
|
||||
@@||newsthump.com^$generichide
|
||||
@@||nfmovies.com^$generichide
|
||||
@@||nineto5mac-d.openx.net^|
|
||||
@@||nme.com^$generichide
|
||||
@@||nobugin.com^$generichide
|
||||
@@||nodkey.xyz^$genericblock,generichide
|
||||
@@||notonlyporn.net^$script,~third-party
|
||||
@@||oiihk.com^$generichide
|
||||
@@||olgame.tw^$generichide
|
||||
@@||omniture.walmart.com^|
|
||||
@@||opednews.com^$generichide
|
||||
@@||optout.networkadvertising.org^$document
|
||||
@@||ouo.press^$generichide
|
||||
@@||pagead.l.doubleclick.net^|
|
||||
@@||palimas.com^$generichide
|
||||
@@||parentherald.com^$generichide
|
||||
@@||pathe.emsecure.net^|
|
||||
@@||patriotoutdoornews.com^$generichide
|
||||
@@||payload.cargocollective.com^$image,~third-party
|
||||
@@||pes-patch.com^$generichide
|
||||
@@||phoronix.com^$script,~third-party
|
||||
@@||photobucket.com^$generichide
|
||||
@@||picfont.com^$generichide
|
||||
@@||pickthebrain.com^$generichide
|
||||
@@||pingjs.qq.com^$~third-party
|
||||
@@||pixelexperience.org^$generichide
|
||||
@@||play-old-pc-games.com^$generichide
|
||||
@@||play4vid.com^$generichide
|
||||
@@||playedvid.com^$generichide
|
||||
@@||playtvid.com^$generichide
|
||||
@@||playvidto.com^$generichide
|
||||
@@||playzvid.com^$generichide
|
||||
@@||politichicks.com^$generichide
|
||||
@@||pornbraze.com^$generichide
|
||||
@@||pornscum.com^$generichide
|
||||
@@||pornve.com^$generichide
|
||||
@@||pornve.com^$script
|
||||
@@||premiumleecher.com^$generichide
|
||||
@@||problogbooster.com^$generichide
|
||||
@@||profile.getyounity.com^$image,~third-party
|
||||
@@||providesupport.com^$script
|
||||
@@||pttrns.com^$generichide
|
||||
@@||publisher.adservice.com^$generichide
|
||||
@@||qqdie.com^$generichide
|
||||
@@||r3sub.com^$generichide
|
||||
@@||radiofrance.targetspot.com^|
|
||||
@@||realfarmacy.com^$generichide
|
||||
@@||realmomsrealreviews.com^$generichide
|
||||
@@||realtytoday.com^$generichide
|
||||
@@||receive-a-sms.com^$generichide
|
||||
@@||redirect.appmetrica.yandex.com^|
|
||||
@@||redmaryland.com^$generichide
|
||||
@@||restream.io^$generichide
|
||||
@@||reviveusa.com^$generichide
|
||||
@@||rightwingnews.com^$generichide
|
||||
@@||rojadirecta.me^$generichide
|
||||
@@||rule34hentai.net^$generichide
|
||||
@@||s-media*.pinimg.com^$image,third-party
|
||||
@@||s.reembed.com^$script
|
||||
@@||sakai-hk.com^$generichide
|
||||
@@||sc2casts.com^$generichide
|
||||
@@||sciencechannel.com^$generichide
|
||||
@@||scyts.com^$generichide
|
||||
@@||sdc.pingan.com^$~image
|
||||
@@||seedingup.com^$~third-party,xmlhttprequest
|
||||
@@||seedingup.de^$~third-party,xmlhttprequest
|
||||
@@||seedingup.es^$~third-party,xmlhttprequest
|
||||
@@||seedingup.fr^$~third-party,xmlhttprequest
|
||||
@@||seedingup.it^$~third-party,xmlhttprequest
|
||||
@@||serve.netsh.org^$elemhide
|
||||
@@||services.pornhub.com^$~third-party,xmlhttprequest
|
||||
@@||seselah.com^$generichide
|
||||
@@||sexylove.club^$generichide
|
||||
@@||seyise8.com^$generichide
|
||||
@@||seyy66.space^$generichide
|
||||
@@||shark-tank.com^$generichide
|
||||
@@||shopback.com.tw^$generichide
|
||||
@@||skidrowcrack.com^$generichide
|
||||
@@||smallseotools.com^$generichide
|
||||
@@||smtcaw.com^$generichide
|
||||
@@||socialmedia.by^$~third-party
|
||||
@@||softwarebrother.com^$generichide
|
||||
@@||spanishdict.com^$generichide
|
||||
@@||spaste.com^$script
|
||||
@@||spiegel.de^$genericblock,generichide
|
||||
@@||sssbozh.com^$generichide
|
||||
@@||static.cdn-ec.viddler.com^$script
|
||||
@@||static.depositfiles.com^$image,script
|
||||
@@||static.dfiles.eu^$image,script
|
||||
@@||static.dfiles.ru^$image,script
|
||||
@@||static.reembed.com^$script,third-party
|
||||
@@||stclassifieds.sg^$generichide
|
||||
@@||str.hit.gemius.pl^|
|
||||
@@||stream4free.live^$generichide
|
||||
@@||streamplay.to^$generichide
|
||||
@@||streamtheworld.com^$media,third-party
|
||||
@@||supercheats.com^$generichide
|
||||
@@||survivalnation.com^$generichide
|
||||
@@||szhr.com.cn^$generichide
|
||||
@@||szhr.com^$generichide
|
||||
@@||technews.tw^$generichide
|
||||
@@||technobuffalo.com^$generichide
|
||||
@@||techtimes.com^$generichide
|
||||
@@||television-envivo.com^$generichide
|
||||
@@||teliad.com^$~third-party,xmlhttprequest
|
||||
@@||teliad.de^$~third-party,xmlhttprequest
|
||||
@@||teliad.es^$~third-party,xmlhttprequest
|
||||
@@||teliad.fr^$~third-party,xmlhttprequest
|
||||
@@||teliad.it^$~third-party,xmlhttprequest
|
||||
@@||terezowens.com^$generichide
|
||||
@@||th-sjy.com^$generichide
|
||||
@@||thebarchive.com^$generichide
|
||||
@@||theblacksphere.net^$generichide
|
||||
@@||theboredmind.com^$generichide
|
||||
@@||thefreedictionary.com^$generichide
|
||||
@@||thehayride.com^$generichide
|
||||
@@||themattwalshblog.com^$generichide
|
||||
@@||thepolitistick.com^$generichide
|
||||
@@||thimble.mozilla.org^$generichide,~third-party
|
||||
@@||thisav.com^$generichide
|
||||
@@||tlc.com^$generichide
|
||||
@@||tomshardware.co.uk^$generichide
|
||||
@@||tomshardware.com^$generichide
|
||||
@@||tosavealife.com^$generichide
|
||||
@@||track.rutarget.ru^|
|
||||
@@||traileraddict.com^$generichide
|
||||
@@||trip.cmbchina.com^$generichide
|
||||
@@||truththeory.com^$generichide
|
||||
@@||ttkdex.com^$generichide
|
||||
@@||tui.click^$generichide
|
||||
@@||tweaktown.com^$generichide
|
||||
@@||twofactorauth.org^$generichide
|
||||
@@||udp2p.com^$generichide
|
||||
@@||ui.bamstatic.com^$script,third-party
|
||||
@@||universityherald.com^$generichide
|
||||
@@||upload.tube8.com^$script,xmlhttprequest
|
||||
@@||uptostream.com^$generichide
|
||||
@@||urbantabloid.com^$generichide
|
||||
@@||urlgalleries.net^$generichide
|
||||
@@||valuewalk.com^$generichide
|
||||
@@||vcpost.com^$generichide
|
||||
@@||victoriajackson.com^$generichide
|
||||
@@||video.foxnews.com^$script,third-party
|
||||
@@||videogamesblogger.com^$generichide
|
||||
@@||videotoolbox.com^$generichide
|
||||
@@||vidotodo.com^$generichide
|
||||
@@||vidstodo.me^$generichide
|
||||
@@||vidtoro.com^$generichide
|
||||
@@||viralnova.com^$generichide
|
||||
@@||viu.tv^$generichide
|
||||
@@||ware.shop.jd.com^$genericblock,generichide
|
||||
@@||web.archive.org^$generichide
|
||||
@@||websetnet.com^$generichide
|
||||
@@||weithenn.org^$generichide
|
||||
@@||wgun.net^$elemhide
|
||||
@@||wholehk.com^$generichide
|
||||
@@||widget.clipix.com^$script,third-party
|
||||
@@||wikia.nocookie.net^$stylesheet
|
||||
@@||wikipedia.org^$generichide
|
||||
@@||wiktionary.org^$generichide
|
||||
@@||www.googleadservices.com^|
|
||||
@@||xia1ge.com^$generichide
|
||||
@@||xianzhenyuan.cn^$generichide
|
||||
@@||xianzhenyuan.cn^$script,~third-party
|
||||
@@||xidian.edu.cn^$generichide
|
||||
@@||xilinjie.com^$generichide
|
||||
@@||xiuren.org^$generichide
|
||||
@@||xonline.tv^$generichide
|
||||
@@||xxxstreams.eu^$generichide
|
||||
@@||yellowbridge.com^$generichide
|
||||
@@||yesiget.i234.me^$generichide
|
||||
@@||yibada.com^$generichide
|
||||
@@||ymso.cc^$generichide
|
||||
@@||youfreeporntube.com^$generichide
|
||||
@@||youngmodelsclub.net^$generichide
|
||||
@@||youthhealthmag.com^$generichide
|
||||
@@||yygsz.com^$generichide
|
||||
@@||zippyshare.com^$generichide
|
154
origin-files/wildcard-src-easylist.txt
Normal file
154
origin-files/wildcard-src-easylist.txt
Normal file
@ -0,0 +1,154 @@
|
||||
||201*.myhard.com^
|
||||
||8*.tianya.cn^
|
||||
||ac*.pingguolv.com^
|
||||
||activity.*.miui.com^
|
||||
||ad*.nexage.com^
|
||||
||ad*.tmgrup.com.tr^
|
||||
||adcounter*.uptolike.ru^
|
||||
||adi*.cnool.net^
|
||||
||admicro*.vcmedia.com^
|
||||
||admicro*.vcmedia.vn^
|
||||
||adr-*.vindicosuite.com^
|
||||
||ads*.autodaily.vn^
|
||||
||ads*.careerbuilder.vn^
|
||||
||ads-*.hulu.com^
|
||||
||adserver.*.yahoodns.net^
|
||||
||adtima*.zadn.vn^
|
||||
||aff*.kolektiva.net^
|
||||
||alishop*.ru^
|
||||
||analytics*.carambo.la^
|
||||
||analytics*.clickdimensions.com^
|
||||
||analytics-beacon-*.amazonaws.com^
|
||||
||analytics-rollout-*.amazonaws.com^
|
||||
||analyzer*.fc2.com^
|
||||
||anet*.tradedoubler.com^
|
||||
||anet*.tradedoubler.com^$third-party
|
||||
||ap*.jj20.com^
|
||||
||ap*.pl520.com^
|
||||
||api*.batmobi.net^
|
||||
||api*.batmobil.net^
|
||||
||at*.doubanio.com^
|
||||
||ax.*.ifeng.com^
|
||||
||banner*.kinogo.by^
|
||||
||banner.*.tccapis.com^
|
||||
||banners*.spacash.com^$third-party
|
||||
||bar*.shinobi.jp^
|
||||
||bdcpro*.techweb.com.cn^
|
||||
||bdlm*.hc360.com^
|
||||
||bi-eventtracker-*.amazonaws.com^
|
||||
||bj*.9669.cn^
|
||||
||block.s*block.com^
|
||||
||cas.*.criteo.com^$third-party
|
||||
||caw.*.criteo.com^$third-party
|
||||
||cdn*.swaxis.com^
|
||||
||cdn-adn-*.rayjump.com^
|
||||
||ce-global-track-*.amazonaws.com^
|
||||
||collect-elb-*.amazonaws.com^
|
||||
||collect.*.miui.com^
|
||||
||collector-*.perimeterx.net^
|
||||
||collector-*.tvsquared.com^
|
||||
||counter*-yadro*-ru.unblocked.lol^
|
||||
||counter*.freecounter.ovh^
|
||||
||d*.ruiwen.com^
|
||||
||d*.wanzhuang.com^
|
||||
||d*.xinshipu.com^
|
||||
||data.mistat.*.xiaomi.com^
|
||||
||datacollect*.abtasty.com^
|
||||
||device-metrics-*.amazon.com^
|
||||
||device-metrics-us*.amazon.com^
|
||||
||dm*.ppzuowen.com^
|
||||
||dm*.yxlady.com^
|
||||
||dn*.ixinwei.com^
|
||||
||dualstack.adbert-web-lbs-*.elb.amazonaws.com^
|
||||
||dw-informer-*.newsru.com^
|
||||
||fanpingbi*.gaokao.com^
|
||||
||flurry.agentportal-*.yahoodns.net^
|
||||
||flurry.agentportal.*.yahoodns.net^
|
||||
||fpb*.51edu.com^
|
||||
||gcw*.2liang.cn^
|
||||
||geo*.hltv.org^
|
||||
||geoloc*.9cd47096ab1495d8d3b18667f6a52b9c.com^
|
||||
||geoloc*.geo20120530.com^
|
||||
||geoloc*.geostats.ovh^
|
||||
||geoloc*.geovisite.ovh^
|
||||
||gonews*.net^
|
||||
||gscounters.*.gigya.com^
|
||||
||hits-*.iubenda.com^
|
||||
||hostingcloud.*.wasm^
|
||||
||iad-*.blaze.com^
|
||||
||images.*.criteo.net^$third-party
|
||||
||img*.hc360.com^$subdocument
|
||||
||img*.hc360.com^*.swf
|
||||
||imp*.tradedoubler.com^
|
||||
||imp*.tradedoubler.com^$third-party
|
||||
||impservice*.yodao.com^
|
||||
||impservice*.youdao.com^
|
||||
||invenio_tracking_*.sgnapps.com^
|
||||
||iptracker-lb-*.amazonaws.com^
|
||||
||ja*.gamersky.com^
|
||||
||js*.abolezi.com^
|
||||
||lively-collect-elb-*.amazonaws.com^
|
||||
||log*.mp3.zing.vn^
|
||||
||log-*.previewnetworks.com^
|
||||
||logger-*.dailymotion.com^
|
||||
||lt*.tritondigital.com^
|
||||
||marketplace-ios-*.hyprmx.com^
|
||||
||mediate-ios-*.hyprmx.com^
|
||||
||metric*.rediff.com^
|
||||
||metro-trending-*.amazonaws.com^
|
||||
||mf*.advantage.as^
|
||||
||minero-proxy-*.sh^
|
||||
||minitds-*.info^
|
||||
||mobileanalytics.*.amazonaws.com^
|
||||
||mobileoffers-*-download.com^
|
||||
||mobileoffers-*-download.com^$third-party
|
||||
||orbit*.lun.ua^
|
||||
||ow*.biqugego.com^
|
||||
||play*.videos.vidto.me^
|
||||
||production-adserver-*.amazonaws.com^
|
||||
||putrr*.com^
|
||||
||quickflix*.gridserver.com^$third-party
|
||||
||rb*.design.ru^
|
||||
||rdi.*.criteo.com^$third-party
|
||||
||real*traf.ru^
|
||||
||report*.appmetrica.webvisor.com^
|
||||
||rtbimp-loadbalancer-*.amazonaws.com^
|
||||
||s*.adduplex.com^
|
||||
||s*.site.flashx.cc^
|
||||
||s*.skencituer.com^
|
||||
||s*.web.flashx.co^
|
||||
||sam*.baby-kingdom.com^
|
||||
||same*.stockstar.com^
|
||||
||sell*.etlong.com^
|
||||
||sextronix.*.cdnaccess.com^
|
||||
||sock*-goguardian.pusher.com^
|
||||
||ssh.*.com^*!$script,third-party
|
||||
||ssp*.rtb.beeline.ru^
|
||||
||stat*.1internet.tv^
|
||||
||static*.365inews.com^
|
||||
||stats-*.p2pnow.ru^
|
||||
||stats2.*.fdnames.com^
|
||||
||subnewss*.net^
|
||||
||targeting.*.arcpublishing.com^
|
||||
||teleriumads-*.netdna-ssl.com^
|
||||
||tracker*.bingohall.ag^$popup,third-party
|
||||
||tracker*.richcasino.com^$popup,third-party
|
||||
||tracking*.euroads.fi^
|
||||
||tracking.*.miui.com^
|
||||
||tracking.*.zing.vn^
|
||||
||trk*.vidible.tv^
|
||||
||tw*.netcore.co.in^
|
||||
||u*.takru.com^
|
||||
||uc*.atobo.com^
|
||||
||union*.365inews.com^
|
||||
||v.newsportal*.ru^
|
||||
||vali*.cibntv.net^*.mp4?$media,domain=v.youku.com
|
||||
||vali*.cibntv.net^*.mp4?$media,rewrite=abp-resource:blank-mp3,domain=player.youku.com
|
||||
||vix.*.criteo.net^$third-party
|
||||
||vtnlog-*.elb.amazonaws.com^
|
||||
||w*statistics.info^
|
||||
||www*.swatchseries.to^$script
|
||||
||www.fuze-hill*.xyz^
|
||||
||www.fuze-sea*.xyz^
|
||||
||ya*.dwstatic.com^
|
||||
||zalo-ads*.zadn.vn^
|
4
start.sh
4
start.sh
@ -91,7 +91,9 @@ cat hosts* | grep -v -E "^((#.*)|(\s*))$" \
|
||||
| sed s/0.0.0.0/127.0.0.1/g | sed s/::/127.0.0.1/g | sort \
|
||||
| uniq >base-src-hosts.txt
|
||||
|
||||
cat easylist*.txt | grep -E "^\|\|[^\^]+\^.*$" | sort | uniq >base-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^\|\|[^\*\^]+?\^" | sort | uniq >base-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^\|\|?[^\^=\/:]+?\*[^\^=\/:]+?\^" | sort | uniq >wildcard-src-easylist.txt
|
||||
cat easylist*.txt | grep -E "^@@\|\|?[^\^=\/:]+?\^[^\/=\*]+?$" | sort | uniq >whiterule-src-easylist.txt
|
||||
|
||||
cd ../
|
||||
|
||||
|
129
tools/easylist-extend.php
Normal file
129
tools/easylist-extend.php
Normal file
@ -0,0 +1,129 @@
|
||||
<?php
|
||||
/**
|
||||
* easylist extend
|
||||
*
|
||||
* @file easylist-extend.php
|
||||
* @date 2019-12-24
|
||||
* @author gently
|
||||
*
|
||||
*/
|
||||
set_time_limit(0);
|
||||
|
||||
error_reporting(7);
|
||||
|
||||
define('START_TIME', microtime(true));
|
||||
define('ROOT_DIR', dirname(__DIR__). '/');
|
||||
define('LIB_DIR', ROOT_DIR . 'lib');
|
||||
|
||||
define('WILDCARD_SRC', ROOT_DIR . 'origin-files/wildcard-src-easylist.txt');
|
||||
define('WHITERULE_SRC', ROOT_DIR . 'origin-files/whiterule-src-easylist.txt');
|
||||
|
||||
$ARR_MERGED_WILD_LIST = array(
|
||||
'ad*.udn.com' => null,
|
||||
'cnt*rambler.ru' => null,
|
||||
'*.mgr.consensu.org' => null,
|
||||
'vs*.gzcu.u3.ucweb.com' => null,
|
||||
'ad*.goforandroid.com' => null,
|
||||
'bs*.9669.cn' => null,
|
||||
'*dnserror*.wo.com.cn' => null,
|
||||
);
|
||||
|
||||
if(PHP_SAPI != 'cli'){
|
||||
die('nothing.');
|
||||
}
|
||||
|
||||
$src_file = '';
|
||||
try{
|
||||
$file = $argv[1];
|
||||
$src_file = ROOT_DIR . $file;
|
||||
}catch(Exception $e){
|
||||
echo "get args failed.", $e->getMessage(), "\n";
|
||||
die(0);
|
||||
}
|
||||
|
||||
if(empty($src_file) || !is_file($src_file)){
|
||||
echo 'src_file:', $src_file, ' is not found.';
|
||||
die(0);
|
||||
}
|
||||
|
||||
if(!is_file(WILDCARD_SRC) || !is_file(WHITERULE_SRC)){
|
||||
echo 'key file is not found.';
|
||||
die(0);
|
||||
}
|
||||
|
||||
$src_fp = fopen($src_file, 'r');
|
||||
$wild_fp = fopen(WILDCARD_SRC, 'r');
|
||||
$new_fp = fopen($src_file . '.txt', 'w');
|
||||
|
||||
$wrote_wild = array();
|
||||
$arr_wild_src = array();
|
||||
|
||||
while(!feof($wild_fp)){
|
||||
$wild_row = fgets($wild_fp, 512);
|
||||
if(empty($wild_row)){
|
||||
continue;
|
||||
}
|
||||
if(!preg_match('/^\|\|?([\w\-\.\*]+?)\^(\$([^=]+?,)?(image|third-party|script)(,[^=]+)?)?$/', $wild_row, $matches)){
|
||||
continue;
|
||||
}
|
||||
$arr_wild_src[$matches[1]] = $wild_row;
|
||||
}
|
||||
fclose($wild_fp);
|
||||
|
||||
$arr_wild_src = array_merge($arr_wild_src, $ARR_MERGED_WILD_LIST);
|
||||
|
||||
while(!feof($src_fp)){
|
||||
$row = fgets($src_fp, 512);
|
||||
if(empty($row)){
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!preg_match('/^\|.+?/', $row)){
|
||||
fwrite($new_fp, $row);
|
||||
continue;
|
||||
}
|
||||
|
||||
$matched = false;
|
||||
|
||||
foreach ($arr_wild_src as $core_str => $wild_row){
|
||||
$match_rule = str_replace('*', '.*', $core_str);
|
||||
if(preg_match("/\|${match_rule}/", $row)){
|
||||
if(!array_key_exists($core_str, $wrote_wild)){
|
||||
fwrite($new_fp, "||${core_str}^\n");
|
||||
$wrote_wild[$core_str] = 1;
|
||||
}
|
||||
$matched = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if($matched){
|
||||
continue;
|
||||
}
|
||||
fwrite($new_fp, $row);
|
||||
}
|
||||
|
||||
//按需写入白名单规则
|
||||
$whiterule_fp = fopen(WHITERULE_SRC, 'r');
|
||||
while(!feof($whiterule_fp)){
|
||||
$row = fgets($whiterule_fp, 1024);
|
||||
if(empty($row) || $row{0} !== '@' || $row{1} !== '@'){
|
||||
continue;
|
||||
}
|
||||
$matches = array();
|
||||
if(!preg_match('/@@\|\|([0-9a-z\.\-\*]+?)\^/', $row, $matches)){
|
||||
continue;
|
||||
}
|
||||
foreach($wrote_wild as $core_str => $val){
|
||||
$match_rule = str_replace('*', '.*', $core_str);
|
||||
if(preg_match("/\|${match_rule}\^/", $row)){
|
||||
fwrite($new_fp, "@@||${matches[1]}^");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fclose($src_fp);
|
||||
fclose($new_fp);
|
||||
fclose($whiterule_fp);
|
||||
var_dump(rename($src_file . '.txt', $src_file));
|
||||
echo 'Time cost:', microtime(true) - START_TIME, "s, at ", date('m-d H:i:s'), "\n";
|
Loading…
Reference in New Issue
Block a user