修复config.go中的URL错误
This commit is contained in:
@@ -113,7 +113,7 @@ func LoadConfig(path string) (*Config, error) {
|
|||||||
config.Shield.Blacklists = []BlacklistEntry{
|
config.Shield.Blacklists = []BlacklistEntry{
|
||||||
{Name: "AdGuard DNS filter", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/filter.txt", Enabled: true},
|
{Name: "AdGuard DNS filter", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/filter.txt", Enabled: true},
|
||||||
{Name: "Adaway Default Blocklist", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/hosts/adaway.txt", Enabled: true},
|
{Name: "Adaway Default Blocklist", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/hosts/adaway.txt", Enabled: true},
|
||||||
{Name: "CHN-anti-AD", URL: "hhttps://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/list/easylist.txt", Enabled: true},
|
{Name: "CHN-anti-AD", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-Filters/raw/branch/main/list/easylist.txt", Enabled: true},
|
||||||
{Name: "My GitHub Rules", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/costomize.txt", Enabled: true},
|
{Name: "My GitHub Rules", URL: "https://gitea.amazehome.xyz/AMAZEHOME/hosts-and-filters/raw/branch/main/rules/costomize.txt", Enabled: true},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
# DNS Server Hosts File
|
|
||||||
# Generated by DNS Server
|
|
||||||
|
|
||||||
::1 localhost
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,994 +0,0 @@
|
|||||||
@@||/amazehome.xyz/
|
|
||||||
@@||union.amazehome.xyz
|
|
||||||
@@||www.bing.com^$important
|
|
||||||
@@||ip.taobao.com^$important
|
|
||||||
@@||www.youtube.com^$important
|
|
||||||
@@||tools.3g.qq.com^$important
|
|
||||||
@@||pdc.micloud.xiaomi.net^$important
|
|
||||||
@@||security.browser.miui.com^$important
|
|
||||||
@@||proxy.sec.miui.com^$important
|
|
||||||
@@||up.cm.ksmobile.com^$important
|
|
||||||
@@||data.mistat.xiaomi.com^$important
|
|
||||||
@@||api.ad.xiaomi.com^$important
|
|
||||||
@@||nav.browser.miui.com^$important
|
|
||||||
||hub5btmain.sandai.net
|
|
||||||
||hub5u.v6.phub.sandai.net
|
|
||||||
/hub5u/
|
|
||||||
@@||exp.sug.browser.miui.com^$important
|
|
||||||
@@||dldir1.qq.com^$important
|
|
||||||
@@||qurl.f.360.cn^$important
|
|
||||||
||ludashi.com
|
|
||||||
||/ludashi/
|
|
||||||
/bizhi.360.cn/
|
|
||||||
/huabao.360.cn/
|
|
||||||
/sedl.360tpcdn.com/
|
|
||||||
||rq.upgrade.cmpc.cmcm.com
|
|
||||||
/cmcm/
|
|
||||||
||munion.baidu.com
|
|
||||||
/mss0/
|
|
||||||
||pos.baidu.com
|
|
||||||
||s3m6.nzwgs.com^$important
|
|
||||||
@@||jspassport.ssl.qhimg.com^$important
|
|
||||||
@@||bj.ke.com^$important
|
|
||||||
@@||tj.ke.com^$important
|
|
||||||
@@||www.ke.com^$important
|
|
||||||
@@||ke.com^$important
|
|
||||||
@@||api.browser.miui.com^$important
|
|
||||||
@@||ssl-cdn.static.browser.mi-img.com^$important
|
|
||||||
@@||u.api.look.360.cn^$important
|
|
||||||
@@||papi.look.360.cn^$important
|
|
||||||
@@||info.pinyin.sogou.com^$important
|
|
||||||
@@||thirdwx.qlogo.cn^$important
|
|
||||||
@@||click.mz.simba.taobao.com^$important
|
|
||||||
@@||sdkconfig.ad.xiaomi.com^$important
|
|
||||||
@@||control.preload.xiaomi.com
|
|
||||||
@@||sf1-ttcdn-tos.pstatp.com^$important
|
|
||||||
@@||cnbj1.fds.api.xiaomi.com^$important
|
|
||||||
@@||news.qhstatic.com^$important
|
|
||||||
@@||res.qhupdate.com^$important
|
|
||||||
@@||s.360.cn^$important
|
|
||||||
@@||i.snssdk.com^$important
|
|
||||||
/caohang/
|
|
||||||
@@||f11.baidu.com^$important
|
|
||||||
@@||otheve.beacon.qq.com^$important
|
|
||||||
@@||ini.update.360safe.com^$important
|
|
||||||
@@||update.360safe.com^$important
|
|
||||||
@@||cdn.cnbj1.fds.api.mi-img.com^$important
|
|
||||||
@@||safe.track.uc.360.cn^$important
|
|
||||||
@@||openbox.mobilem.360.cn^$important
|
|
||||||
||fclog.baidu.com^$important
|
|
||||||
@@||a.hl.mi.com^$client='222.94.45.162'
|
|
||||||
@@||a.hl.mi.com^$important
|
|
||||||
@@||144.dragonparking.com^$important
|
|
||||||
@@||msg.qy.net^$important
|
|
||||||
@@||zconfig.alibabausercontent.com^$important
|
|
||||||
@@||appdownload.alicdn.com^$important
|
|
||||||
@@||mini.eastday.com^$important
|
|
||||||
@@||ttpcstatic.dftoutiao.com^$important
|
|
||||||
||xmtransfer.dpqct.com^$important
|
|
||||||
/xmtransfer/
|
|
||||||
||MgP6ChGz.retjidc.cn^$important
|
|
||||||
/retjidc/
|
|
||||||
@@||admin.online.360.cn^$important
|
|
||||||
@@||feed.browser.miui.com^$important
|
|
||||||
@@||profile3.se.360.cn^$important
|
|
||||||
@@||profile2.se.360.cn^$important
|
|
||||||
@@||profile1.se.360.cn^$important
|
|
||||||
@@||profile.se.360.cn^$important
|
|
||||||
@@||www.so.com^$important
|
|
||||||
@@||so.com^$important
|
|
||||||
@@||smart.sug.so.com^$important
|
|
||||||
@@||policy.jd.com^$important
|
|
||||||
@@||mars.jd.com^$important
|
|
||||||
@@||bdsp.x.jd.com^$important
|
|
||||||
@@||wq.360buyimg.com^$important
|
|
||||||
||99.95chuanqi.vip:99^$important
|
|
||||||
||99.95chuanqi.vip^$important
|
|
||||||
||95chuanqi.vip^$important
|
|
||||||
||95chuanqi^$important
|
|
||||||
/95chuanqi/
|
|
||||||
/duosf/
|
|
||||||
/zsf.com/
|
|
||||||
||cq.chuanqi3366.vip^$important
|
|
||||||
/chuanqi3366/
|
|
||||||
||www.fbwat.ch^$important
|
|
||||||
||drive.app.goo.gl^$important
|
|
||||||
||luandinh.s3.amazonaws.com^$important
|
|
||||||
||xz.chinavipsoft.com^$important
|
|
||||||
||ymjqn.bijiatu.com^$important
|
|
||||||
||hectorstatic.baidu.com^$important
|
|
||||||
||dss3.baidu.com^$important
|
|
||||||
||sp2.baidu.com^$important
|
|
||||||
||sta.xsfaya.com^$important
|
|
||||||
||softdown.panshixk.com^$important
|
|
||||||
||down.leisurelypanda.com^$important
|
|
||||||
||d.wn51.com^$important
|
|
||||||
||rq.drcct.cloud.duba.net^$important
|
|
||||||
||jcxyt.cangyakeji.cn^$important
|
|
||||||
||duba-defend.zhhainiao.com^$important
|
|
||||||
||wsid.liangxiekeji.cn^$important
|
|
||||||
||jgztg.binghuokeji.cn^$important
|
|
||||||
||mgfkm.binghuokeji.cn^$important
|
|
||||||
||gqwmz.chengsi.cn^$important
|
|
||||||
||sta2.xsfaya.com^$important
|
|
||||||
||down.wdmuz.com^$important
|
|
||||||
||myqnj.xsfaya.com^$important
|
|
||||||
||dhztq.leisurelypanda.com^$important
|
|
||||||
||update.wn51.com^$important
|
|
||||||
||download.xsfaya.com^$important
|
|
||||||
||g.jyapi.yebankeji.cn^$important
|
|
||||||
||rq.r9t1.com^$important
|
|
||||||
||p.jyapi.yebankeji.cn^$important
|
|
||||||
||mmtkm.zsincer.com^$important
|
|
||||||
||zmiwn.bijiatu.com^$important
|
|
||||||
||down.znshuru.com^$important
|
|
||||||
||mgyzt.zycultura.com^$important
|
|
||||||
||tjtv3.wn51.com^$important
|
|
||||||
||infoc2.duba.net^$important
|
|
||||||
||ebqhwz.gdpoly.cn^$important
|
|
||||||
||down1.nanjingchenxi.com^$important
|
|
||||||
||08imgmini.eastday.com^$important
|
|
||||||
@@||dl.360safe.com^$important
|
|
||||||
@@||src.dl.360safe.com^$important
|
|
||||||
/ieeod0/
|
|
||||||
/liangxiekeji/
|
|
||||||
/5887979/
|
|
||||||
@@||pdown.stat.360safe.com^$important
|
|
||||||
@@||inst.360safe.com^$important
|
|
||||||
@@||down.360safe.com^$important
|
|
||||||
@@||dl2.360safe.com^$important
|
|
||||||
@@||vconf.f.360.cn^$important
|
|
||||||
@@||updateh.360safe.com^$important
|
|
||||||
@@||api.driver.360safe.com^$important
|
|
||||||
@@||dlb.driver.360safe.com^$important
|
|
||||||
@@||sdl.360safe.com^$important
|
|
||||||
/tanwan/
|
|
||||||
/17tanwan/
|
|
||||||
/mediav/
|
|
||||||
@@||diagnosis.ad.xiaomi.com^$important
|
|
||||||
@@||loc.map.baidu.com^$important
|
|
||||||
@@||www.msftconnecttest.com^$client='117.132.198.177'
|
|
||||||
@@||api-shoulei-ssl.xunlei.com^$important
|
|
||||||
@@||api.miui.security.xiaomi.com^$important
|
|
||||||
@@||appsupport.qq.com^$important
|
|
||||||
@@||api-mcp.adsp.xunlei.com^$important
|
|
||||||
@@||api.sec.miui.com^$important
|
|
||||||
@@||qsb.browser.miui.com^$important
|
|
||||||
@@||tracking.miui.com^$important
|
|
||||||
@@||pass.cainiao.com^$important
|
|
||||||
@@||static.iask.cn^$important
|
|
||||||
@@||pic.iask.com.cn^$important
|
|
||||||
@@||pic.iask.cn^$important
|
|
||||||
@@||watson.telemetry.microsoft.com^$important
|
|
||||||
@@||self.events.data.microsoft.com^$important
|
|
||||||
@@||ic3.events.data.microsoft.com^$important
|
|
||||||
@@||u.qurl.f.360.cn^$important
|
|
||||||
/lieqinews/
|
|
||||||
||nk2.ytyvn.com^$important
|
|
||||||
||ytyvn^$important
|
|
||||||
||8zrct4vf.ucframe.csnxqht.cn^$important
|
|
||||||
/8zrct4vf/
|
|
||||||
/ucframe/
|
|
||||||
/csnxqht/
|
|
||||||
/5jfglnr6/
|
|
||||||
/k0jbvgE1/
|
|
||||||
/yAu8SZgH/
|
|
||||||
/eastday/
|
|
||||||
@@||bkimg.cdn.bcebos.com^$important
|
|
||||||
@@||resolver.msg.xiaomi.net^$important
|
|
||||||
@@||policy.video.iqiyi.com^$important
|
|
||||||
@@||ag.qq.com^$important
|
|
||||||
@@||v20.events.data.microsoft.com^$important
|
|
||||||
@@||edge.activity.windows.com^$important
|
|
||||||
@@||nexus.officeapps.live.com^$important
|
|
||||||
@@||seupdate.360safe.com^$important
|
|
||||||
@@||stat.360safe.com^$important
|
|
||||||
@@||updatem.360safe.com^$important
|
|
||||||
@@||big.softdl.360tpcdn.com^$important
|
|
||||||
@@||agd2.p.360.cn^$important
|
|
||||||
||pp4.gndh444.top^$important
|
|
||||||
/pp4/
|
|
||||||
/gndh444/
|
|
||||||
||cdn-file-ssl-bizhi.ludashi.com^$important
|
|
||||||
@@||stat.sd.360.cn^$important
|
|
||||||
/hg127/
|
|
||||||
/dwnvrevnwejijvirjb/
|
|
||||||
/398xy/
|
|
||||||
@@||soa-vip-ssl.xunlei.com^$important
|
|
||||||
||wangjianbing.hao.360.cn^$important
|
|
||||||
@@||se.360.cn^$important
|
|
||||||
@@||hd.browser.miui.com^$important
|
|
||||||
@@||e.weather.com.cn^$important
|
|
||||||
@@||mb.yidianzixun.com^$important
|
|
||||||
||dy.dun.ornglad.com^$important
|
|
||||||
/ornglad/
|
|
||||||
||www.ahsbk.cn^$important
|
|
||||||
/ahsbk/
|
|
||||||
@@||ozone.10jqka.com.cn^$important
|
|
||||||
@@||stat.10jqka.com.cn^$important
|
|
||||||
@@||data.sec.miui.com^$important
|
|
||||||
@@||adv.sec.miui.com^$important
|
|
||||||
@@||metok.sys.miui.com^$important
|
|
||||||
@@||auth.be.sec.miui.com^$important
|
|
||||||
@@||activity.tuifish.com^$important
|
|
||||||
@@||dlswbr.baidu.com^$important
|
|
||||||
@@||confluence.hypers.com^$important
|
|
||||||
@@||cmshow.gtimg.cn^$important
|
|
||||||
@@||www.laomaotao.net^$important
|
|
||||||
@@||smartad.10010.com^$important
|
|
||||||
@@||pay.wsds.cn^$important
|
|
||||||
@@||etl-xlmc-ssl.sandai.net^important
|
|
||||||
@@||optimus-ads.amap.com^$important
|
|
||||||
||tgb.z6rfbg.cn^$important
|
|
||||||
/z6rfbg/
|
|
||||||
||mm.cgbsc9.cn^$important
|
|
||||||
/cgbsc9/
|
|
||||||
@@||your-domain.com^
|
|
||||||
@@||ads.privacy.qq.com^$important
|
|
||||||
@@||gstaticadssl.l.google.com^$important
|
|
||||||
@@||ib11.go2yd.com^$important
|
|
||||||
@@||c121.1017.cn^$important
|
|
||||||
@@||c5.1017.cn^$important
|
|
||||||
@@||c9.1017.cn^$important
|
|
||||||
/chinafoodtv/
|
|
||||||
/1810100099/
|
|
||||||
/cnlive/
|
|
||||||
/cnliveimg/
|
|
||||||
@@||wwwdrv5.pp8.com^$important
|
|
||||||
||backstagewww.wnwb.com^$important
|
|
||||||
/uugtv/
|
|
||||||
/baidu.code.jjyx.com/
|
|
||||||
||z.xrccp.com^$important
|
|
||||||
/xrccp/
|
|
||||||
||cube.3600.com^$important
|
|
||||||
||cube.dhrest.com^$important
|
|
||||||
/cube./
|
|
||||||
/dhrest/
|
|
||||||
||/mediav.com/
|
|
||||||
||/mediav./
|
|
||||||
/5gcloudshop/
|
|
||||||
||5gcloudshop.com^
|
|
||||||
||rqaiot.com^
|
|
||||||
/ooxx14.rqaiot.com/
|
|
||||||
/ooxx14/
|
|
||||||
/rqaiot/
|
|
||||||
s.hao.360.com
|
|
||||||
@@||www.jiankongbao.com^$important
|
|
||||||
@@||wgo.mmstat.com^$important
|
|
||||||
@@||gm.gds.mmstat.com^$important
|
|
||||||
||h5vv.video.qq.com^$important
|
|
||||||
||info.zb.video.qq.com^$important
|
|
||||||
/fastest.qq.com/
|
|
||||||
||msitepp-fm.jd.com^$important
|
|
||||||
||jin.baidu.com^$important
|
|
||||||
||jr.e.shifen.com^$important
|
|
||||||
@@||gm.mmstat.com^$important
|
|
||||||
@@||app.contact.nxp.com^$important
|
|
||||||
@@||s1764.t.eloqua.com^$important
|
|
||||||
@@||assets.huoyinetwork.cn^$important
|
|
||||||
@@||sf3-ttcdn-tos.pstatp.com^$important
|
|
||||||
@@||tr.p.360.cn^$important
|
|
||||||
@@||pcbrowser.dd.qq.com^$important
|
|
||||||
/fkw/
|
|
||||||
||mini.browser.360.cn^$important
|
|
||||||
||puv.tt.browser.360.cn^$important
|
|
||||||
||mini.360.cn^$important
|
|
||||||
@@||wxa.wxs.qq.com^$important
|
|
||||||
||tt-04-09-18-42_dza3vlumeb.owmhrcc.cn^$important
|
|
||||||
||dx-t.oss-cn-guangzhou.aliyuncs.com^$important
|
|
||||||
@@||sdk.look.360.cn^$important
|
|
||||||
@@||query.rec.360.cn^$important
|
|
||||||
/2088997/
|
|
||||||
@@||mclean.f.360.cn^$important
|
|
||||||
||client.aplus.pptv.com^$important
|
|
||||||
||bit-images.bj.bcebos.com^$important
|
|
||||||
||api.adguard.com^$important
|
|
||||||
||api-b.adguard.com
|
|
||||||
||api-c.adguard.com
|
|
||||||
||api-d.adguard.com
|
|
||||||
@@||web.vortex.data.microsoft.com^$important
|
|
||||||
@@||cpu.baidu.com^$important
|
|
||||||
||shortv.cdp.qq.com.cdn.dcloudstc.com^$important
|
|
||||||
||shortv.svideo.tc.qq.com^$important
|
|
||||||
/shortv.cdp.qq.com/
|
|
||||||
||szminorshort.weixin.qq.com^$important
|
|
||||||
@@||telemetry-in.battle.net^$important
|
|
||||||
@@||szsupport.weixin.qq.com^$important
|
|
||||||
@@||wwcdn.weixin.qq.com^$important
|
|
||||||
/d7b.cn/
|
|
||||||
@@||bbs.360safe.com^$important
|
|
||||||
@@||static3.iask.cn^$important
|
|
||||||
@@||login-ishare.iask.com.cn^$important
|
|
||||||
@@||wechat.ishare.iask.com.cn^$important
|
|
||||||
@@||dw.iask.com.cn^$important
|
|
||||||
@@||settings-win.data.microsoft.com^$important
|
|
||||||
@@||settingsfd-geo.trafficmanager.net^$important
|
|
||||||
@@||vortex.data.microsoft.com^$important
|
|
||||||
@@||self-events-data.trafficmanager.net^$important
|
|
||||||
@@||activity.windows.com^$important
|
|
||||||
@@||cube.meituan.net^$important
|
|
||||||
@@||cube.meituan.net.amazehome.xyz^$important
|
|
||||||
@@||js.cache.openplatform.wpscdn.cn^$important
|
|
||||||
@@||cube.lenovo.com.cn^$important
|
|
||||||
@@||cube.lenovo.com.cn.amazehome.xyz^$important
|
|
||||||
//ffcell/
|
|
||||||
@@||v6z.cupid.iqiyi.com^$important
|
|
||||||
@@||tc.cupid.iqiyi.com^$important
|
|
||||||
@@||cm.passport.iqiyi.com^$important
|
|
||||||
@@||baikebcs.bdimg.com^$important
|
|
||||||
||pizzaseo.com^$important
|
|
||||||
||download.caidie.com^$important
|
|
||||||
@@||360safe.com^$important
|
|
||||||
||te4.gndh777.top^$important
|
|
||||||
@@||www.121down.com
|
|
||||||
@@||wan.slb01.zhuanzhuan.com^$important
|
|
||||||
@@||dlweb.sogoucdn.com^$important
|
|
||||||
@@||img02.sogoucdn.com^$important
|
|
||||||
@@||i01picsos.sogoucdn.com^$important
|
|
||||||
@@||i04picsos.sogoucdn.com^$important
|
|
||||||
@@||img03.sogoucdn.com^$important
|
|
||||||
@@||img04.sogoucdn.com^$important
|
|
||||||
@@||img01.sogoucdn.com^$important
|
|
||||||
@@||img05.sogoucdn.com^$important
|
|
||||||
@@||img06.sogoucdn.com^$important
|
|
||||||
@@||img07.sogoucdn.com^$important
|
|
||||||
@@||sogoucdn.com^
|
|
||||||
@@||lf1-ttcdn-tos.pstatp.com^$important
|
|
||||||
@@||cpucdn.baidu.com^$important
|
|
||||||
@@||mcs.snssdk.com^$important
|
|
||||||
@@||ib.snssdk.com^$important
|
|
||||||
@@||publish-pic-cpu.baidu.com^$important
|
|
||||||
/pc.qq.com/
|
|
||||||
/tbs.qq/
|
|
||||||
@@||x0.ifengimg.com^$important
|
|
||||||
@@||img.ssl.msdk.qq.com^$important
|
|
||||||
@@||aegis.qq.com^$important
|
|
||||||
@@||wspeed.qq.com^$important
|
|
||||||
@@||report.huatuo.qq.com^$important
|
|
||||||
@@||/gov.cn/
|
|
||||||
/iythf.com/
|
|
||||||
@@||/shortv.cdp.qq.com/
|
|
||||||
@@||dig.bdurl.net^$important
|
|
||||||
/joowp/
|
|
||||||
||ad.mi.com^$important
|
|
||||||
||ad1.xiaomi.com^$important
|
|
||||||
||tat.pandora.xiaomi.com^$important
|
|
||||||
||50025.xc.zhongguohao123.com^$important
|
|
||||||
/zhongguohao123.com/
|
|
||||||
@@||shortv.cdp.qq.com^$important
|
|
||||||
||qb-v6.sparta.mig.tencent-cloud.net^$important
|
|
||||||
||guanjia.qq.com^$important
|
|
||||||
||/guanjia/^$important
|
|
||||||
||qb-v6.sparta.mig.tencent-cloud.net^$important
|
|
||||||
||sparta.qb.mig.tencent-cloud.net^$important
|
|
||||||
/dldir2/
|
|
||||||
||cw.yyb.tc.qq.com^$important
|
|
||||||
||cw.yyb.sched.dcloudstc.com^$important
|
|
||||||
||dlied6.qq.com^$important
|
|
||||||
||registeronce.autodesk.com^$important
|
|
||||||
@@||market.aliyun.com^$important
|
|
||||||
@@||ping.huatuo.qq.com^$important
|
|
||||||
@@||get-loader.ioncube.com^$important
|
|
||||||
@@||ioncube.com^$important
|
|
||||||
@@||www.winbaicai.com^$important
|
|
||||||
@@||track.wikimirror.org^$important
|
|
||||||
/open365aa.com/
|
|
||||||
@@||www.secube.com.tr^$important
|
|
||||||
@@||www.laomaotao.com^$important
|
|
||||||
||crypto.htxreceive.top^$important
|
|
||||||
/htxreceive.top/
|
|
||||||
@@||adm.amazehome.xyz^$important
|
|
||||||
@@||adm.amazehome.xyz.amazehome.xyz^$important
|
|
||||||
@@||passport.threatbook.cn^$important
|
|
||||||
@@||m.duote.com^$important
|
|
||||||
#以下为挖矿病毒 Start
|
|
||||||
/adkuai8.com/
|
|
||||||
/f2pool.com/
|
|
||||||
/f3pool.com/
|
|
||||||
/htpool.com/
|
|
||||||
/ltc1btc.com/
|
|
||||||
/coinotron.com/
|
|
||||||
/give-me-ltc.com/
|
|
||||||
/litecoinpool.org/
|
|
||||||
/pool-x.eu/
|
|
||||||
/netcodepool.org/
|
|
||||||
/litebonk.com/
|
|
||||||
/szbpool.net/
|
|
||||||
/szbpool.com/
|
|
||||||
/cryptonotepool.org.uk/
|
|
||||||
/extremepool.org/
|
|
||||||
/cryptograben.com/
|
|
||||||
/pool.cryptoescrow.eu/
|
|
||||||
/moneropool.com.br/
|
|
||||||
/xmr.prohash.net/
|
|
||||||
/miningpoolhub.com/
|
|
||||||
/antpool.com/
|
|
||||||
/globalpool.cc/
|
|
||||||
/vultr.com/
|
|
||||||
/uupool.cn/
|
|
||||||
/warfpool.com/
|
|
||||||
/nanopool.org/
|
|
||||||
/ethermine.org/
|
|
||||||
/flypool.org/
|
|
||||||
/51szzc.com/
|
|
||||||
/get.bi-chi.com/
|
|
||||||
/asia.zcoin.miningpoolhub.com/
|
|
||||||
/hcash-shanghai.globalpool.cc/
|
|
||||||
/ash-shanghai.globalpool.cc/
|
|
||||||
/antpool.com/
|
|
||||||
/beepool.org/
|
|
||||||
/bitclubnetwork.com/
|
|
||||||
/bitfury.com/
|
|
||||||
/btc.com/
|
|
||||||
/btc.top/
|
|
||||||
/btcc.com/
|
|
||||||
/bw.com/
|
|
||||||
/canoepool.com/
|
|
||||||
/dmpools.com/
|
|
||||||
/dpool.com/
|
|
||||||
/dpool.top/
|
|
||||||
/dwarfpool.com/
|
|
||||||
/easy2mine.com/
|
|
||||||
/flypool.org/
|
|
||||||
/haopool.com/
|
|
||||||
/kano.is/
|
|
||||||
/poolhb.com/
|
|
||||||
/slushpool.com/
|
|
||||||
/sparkpool.com/
|
|
||||||
/viabtc.com/
|
|
||||||
/huobipool.com/
|
|
||||||
/rhy.com/
|
|
||||||
/ravenminer.com/
|
|
||||||
/supportxmr.com/
|
|
||||||
/hpool.com/
|
|
||||||
/aapool.cn/
|
|
||||||
/cybtc.info/
|
|
||||||
/666pool.cn/
|
|
||||||
/xnpool.cn/
|
|
||||||
/xdag.org/
|
|
||||||
/fkpool.cn/
|
|
||||||
/ethfans.org/
|
|
||||||
/batpool.com/
|
|
||||||
/anomp.com/
|
|
||||||
/btcguild.com/
|
|
||||||
/webchain.network/
|
|
||||||
/poolin.com/
|
|
||||||
/pandaminer.com/
|
|
||||||
/bwpool.net/
|
|
||||||
/bixin.com/
|
|
||||||
/pandabtc.cn/
|
|
||||||
/pandaop.com/
|
|
||||||
/qy6.com/
|
|
||||||
/zhizhu.top/
|
|
||||||
/vvpool.com/
|
|
||||||
/xzrm.com/
|
|
||||||
/waterhole.io/
|
|
||||||
/hashvault.pro/
|
|
||||||
/bohemianpool.com/
|
|
||||||
/poolgpu.com/
|
|
||||||
/vspool.com/
|
|
||||||
/matpool.io/
|
|
||||||
/2miners.com/
|
|
||||||
/dxpool.com/
|
|
||||||
/bi-chi.com/
|
|
||||||
/h-pool.com/
|
|
||||||
/baimin.com/
|
|
||||||
/kuangjiwan.com/
|
|
||||||
/fir.im/
|
|
||||||
/kc.com/
|
|
||||||
/xdagpool.com/
|
|
||||||
/hdpool.com/
|
|
||||||
/iccob.com/
|
|
||||||
/szzpool.com/
|
|
||||||
/kanpool.com/
|
|
||||||
/sinocpool.info/
|
|
||||||
/hummerpool.com/
|
|
||||||
/bginpool.com/
|
|
||||||
/x-i-tech.com/
|
|
||||||
/bhdpool.cn/
|
|
||||||
/otherpool.com/
|
|
||||||
/pocpool.com/
|
|
||||||
/dashcoinpool.org/
|
|
||||||
/bitcoin.com/
|
|
||||||
/rawpool.com/
|
|
||||||
/wayi.cn/
|
|
||||||
/luxor.tech/
|
|
||||||
/multipool.us/
|
|
||||||
/ethpool.org/
|
|
||||||
/connectbtc.com/
|
|
||||||
/hashrabbit.co/
|
|
||||||
/bitminter.com/
|
|
||||||
/gbminers.com/
|
|
||||||
/smartpool.io/
|
|
||||||
/netninjas.io/
|
|
||||||
/grinmint.com/
|
|
||||||
/hashquark.io/
|
|
||||||
/chainpool.io/
|
|
||||||
/unminer.com/
|
|
||||||
/91pool.com/
|
|
||||||
/pool.coin-miners.info/
|
|
||||||
/simplepospool.com/
|
|
||||||
/minerall.io/
|
|
||||||
/svpool.com/
|
|
||||||
/btchd.org/
|
|
||||||
/rocketpool.net/
|
|
||||||
/epool.io/
|
|
||||||
/sigmapool.com/
|
|
||||||
/miningpoolhub.com/
|
|
||||||
/firepool.com/
|
|
||||||
/blockmasters.co/
|
|
||||||
/suprnova.cc/
|
|
||||||
/p2pool.info/
|
|
||||||
/litecoinpool.org/
|
|
||||||
/poolofstake.io/
|
|
||||||
/blackpool.pro/
|
|
||||||
/atticpool.com/
|
|
||||||
/ubiqpool.io/
|
|
||||||
/grin-pool.org/
|
|
||||||
/siamining.com/
|
|
||||||
/honestmining.com/
|
|
||||||
/honeyminer.com/
|
|
||||||
/gath3r.io/
|
|
||||||
/infpool.com/
|
|
||||||
/gridcash.net/
|
|
||||||
/omgpool.org/
|
|
||||||
/coinhive.com/
|
|
||||||
/ocryptopool.co/
|
|
||||||
/everstake.one/
|
|
||||||
/mintpond.com/
|
|
||||||
/nodenetworks.org/
|
|
||||||
/winminer.com/
|
|
||||||
#挖矿病毒列表结束 End
|
|
||||||
@@||report.meituan.com^$important
|
|
||||||
@@||www.threatbook.cn^$important
|
|
||||||
@@||threatbook.cn^$important
|
|
||||||
@@||static-img.threatbook.cn^$important
|
|
||||||
@@||x.threatbook.cn^$important
|
|
||||||
@@||ww1.brsbox.com^$important
|
|
||||||
@@||analytics.zhihuiya.com^$important
|
|
||||||
@@||analytics.zhihuiya.com.amazehome.xyz^$important
|
|
||||||
||creatives-1301677708.file.myqcloud.com^$important
|
|
||||||
/caohua.com/
|
|
||||||
@@||fourier.taobao.com
|
|
||||||
@@||ynuf.aliapp.org
|
|
||||||
/mediav/
|
|
||||||
||ssxd.mediav.com
|
|
||||||
||vbhi3.iynad.com
|
|
||||||
/iynad.com/
|
|
||||||
@@||jifen.wan.360.cn
|
|
||||||
@@||events.wan.360.cn
|
|
||||||
@@||pay.wan.360.cn
|
|
||||||
/2217.com/
|
|
||||||
/2144.cn/
|
|
||||||
/2144.com/
|
|
||||||
@@||dst.metrics.klei.com
|
|
||||||
/imguf.com/
|
|
||||||
/2345/
|
|
||||||
||b97ds.oss-cn-shanghai.aliyuncs.com
|
|
||||||
||/zhongguohao123.com/
|
|
||||||
/zhongguohao123.com/
|
|
||||||
/trafficfactory/
|
|
||||||
/trafficfactory.biz/
|
|
||||||
||bdn-c1.oss-cn-shenzhen.aliyuncs.com^$important
|
|
||||||
||ass777.oss-cn-hangzhou.aliyuncs.com^$important
|
|
||||||
@@||wxapp.tc.qq.com
|
|
||||||
@@||dig.bdurl.net^
|
|
||||||
@@||mdn.alipayobjects.com^$app=com.eg.android.AlipayGphone
|
|
||||||
@@||tmapp.qq.com^$domain=m.ke.qq.com
|
|
||||||
@@||open.e.189.cn^
|
|
||||||
@@||wjw.njga.gov.cn^
|
|
||||||
@@||mcs.snssdk.com^
|
|
||||||
@@||img1.doubanio.com^$domain=m.douban.com
|
|
||||||
@@||res.res.res.res:80^
|
|
||||||
@@||112.25.105.37:443^$app=com.tencent.mm
|
|
||||||
@@||v6-p.toutiaovod.com^
|
|
||||||
@@||mlol.qt.qq.com^$domain=lolm.qq.com
|
|
||||||
@@||i1.wp.com^
|
|
||||||
@@||pinuc.oss-cn-beijing.aliyuncs.com^
|
|
||||||
@@||fp-it.fengkongcloud.com^
|
|
||||||
@@||v11.douyinvod.com^
|
|
||||||
@@||home.amazehome.xyz:8082^$important
|
|
||||||
@@||v5-f.douyinvod.com^
|
|
||||||
@@||lf9-geckocdn-tos.pstatp.com^
|
|
||||||
@@||lf3-douyin-ckv-tos.pstatp.com^
|
|
||||||
@@||/szlanyou/
|
|
||||||
@@||baijiahao.baidu.com^$domain=m.baidu.com
|
|
||||||
@@||apimobile.meituan.com
|
|
||||||
@@||=utm_campaign=utm_medium=utm_term$app=com.sankuai.meituan
|
|
||||||
@@||apimobile.meituan.com
|
|
||||||
@@||sf3-ttcdn-tos.pstatp.com^
|
|
||||||
@@||data6.video.iqiyi.com^
|
|
||||||
@@||ns1.amazehome.xyz^$domain=ns1.amazehome.xyz
|
|
||||||
@@||v29.douyinvod.com^
|
|
||||||
@@||bkssl.bdimg.com^
|
|
||||||
@@||baike.baidu.com^$domain=baike.baidu.com
|
|
||||||
@@||filter.onedns.net^
|
|
||||||
@@||shortv.cdp.qq.com^
|
|
||||||
@@||mp.weixin.qq.com^$app=com.tencent.mm
|
|
||||||
@@||www.ihss.pku.edu.cn^$domain=ihss.pku.edu.cn
|
|
||||||
@@||filter.onedns.net^$app=com.qiyi.video
|
|
||||||
@@||m.sohu.com^$domain=m.baidu.com
|
|
||||||
@@||js.sohu.com^
|
|
||||||
@@||222.188.8.243:443^
|
|
||||||
@@||ns1.amazehome.xyz:3000^
|
|
||||||
@@||pgdt.gtimg.cn^
|
|
||||||
@@||click.suning.cn^
|
|
||||||
@@||static.cebbank.com^
|
|
||||||
@@||cloud.amazehome.xyz^
|
|
||||||
@@||defaultts.tc.qq.com^
|
|
||||||
@@||203.208.41.98:443^
|
|
||||||
@@||www.baidu.com^
|
|
||||||
@@||216.58.200.238:443^
|
|
||||||
@@||p9.toutiaoimg.com^$app=com.android.quicksearchbox
|
|
||||||
@@||m.toutiao.com^
|
|
||||||
@@||assets.huoyinetwork.cn^
|
|
||||||
@@||gm.mmstat.com^
|
|
||||||
@@||47.93.28.103:3000^
|
|
||||||
@@||39.97.238.21:3000^
|
|
||||||
@@||wxsnsdy.wxs.qq.com^
|
|
||||||
@@||wgo.mmstat.com^
|
|
||||||
@@||v.qq.com^
|
|
||||||
@@||open.toutiao.com^
|
|
||||||
@@||v26.douyinvod.com/3b45e8d6264abe4034e8f0580f9de3cd/60268d64/video/tos/cn/tos-cn-ve-15/f366910e67de4e1391784182e95bbc2e/?a=1128&br=1945&bt=389&cd=0%7C0%7C0&ch=0&cr=2&cs=&cv=1&dr=0&ds=6&eid=260&er=&l=202102102215000102121991320105187B&lr=&mime_type=video_mp4&pl=0&qs=11&rc=ajV0bHB3ZTx1MzMzOmkzM0ApNjRoNDlkNTxnNzU6OWQ0O2cpaGRqbGRoaGRmMDI2Li5kc3NkYC0tYS0wc3NiYDJgMV5eX14xYTAzLTRgOmNwb2wrbStqdDo%3D&vl=&vr=
|
|
||||||
@@||down-update.qq.com^
|
|
||||||
@@||down-update.qq.com/sgame/1212338883/2400279/res/3.1.1.23/1212338883_2400279_3.1.1.23_20210206031151_1758607945_sub.json$important
|
|
||||||
@@||ads.privacy.qq.com^$app=com.tencent.mm
|
|
||||||
@@||weixin110.qq.com^$important
|
|
||||||
@@||smartad.10010.com/msupport/count/businessLogPoint
|
|
||||||
@@/zwfw.gov.cn/
|
|
||||||
/googlesyndication/
|
|
||||||
/doubleclick/
|
|
||||||
/shwswl/
|
|
||||||
/37see/
|
|
||||||
/doumobhaia/
|
|
||||||
/syerjit.cn/
|
|
||||||
/syerjit/
|
|
||||||
||qtj.gzxszf.com
|
|
||||||
/gzxszf.com/
|
|
||||||
/gzxszf/
|
|
||||||
/csmaofa/
|
|
||||||
@@||www.googletagmanager.com
|
|
||||||
||data-collector.soulapp.cn^$important
|
|
||||||
||photon-open-api.soulapp.cn^$important
|
|
||||||
||sugar.zhihu.com^$important
|
|
||||||
||open.smzdm.com^$important
|
|
||||||
@@||s.ssl.qhres2.com
|
|
||||||
@@||s1.ssl.qhres2.com
|
|
||||||
@@||s0.ssl.qhres2.com
|
|
||||||
@@||s4.ssl.qhres2.com
|
|
||||||
@@||s*.ssl.qhres2.com
|
|
||||||
#@@||s3.ssl.qhres2.com
|
|
||||||
@@||luna-imgcache.qq.com.tcdn.qq.com
|
|
||||||
@@||imgcache.qq.com.sched.px-dk.tdnsv6.com
|
|
||||||
@@||imgcache.qq.com.sched.px-dk.tdnsv6.com.tpic.krcdn.idatacube.com
|
|
||||||
/sl18.cc/
|
|
||||||
/sl18/
|
|
||||||
/papatv/
|
|
||||||
/680.com/
|
|
||||||
@@||mo.m.taobao.com
|
|
||||||
||cdn-2gmtjtff.slt.sched.tdnsv8.com
|
|
||||||
||static.cj0001.cn.cdn.dnsv1.com.cn
|
|
||||||
||static.cj0001.cn
|
|
||||||
/static.cj0001.cn/
|
|
||||||
||sb.adtidy.org
|
|
||||||
/adtidy.org/
|
|
||||||
@@||v9-mllqv.onewsvod.com
|
|
||||||
@@||p.37see.com
|
|
||||||
@@||ss2.a.he2d.com
|
|
||||||
/max-dr.mdvdns.qihucdn.cn/
|
|
||||||
@@||miao.baidu.com
|
|
||||||
||pcapp-data-collect.youku.com
|
|
||||||
@@||playlog.youku.com
|
|
||||||
@@||browser.events.data.microsoft.com
|
|
||||||
@@||browser.pipe.aria.microsoft.com
|
|
||||||
@@||www.kokojia.com
|
|
||||||
/zb196/
|
|
||||||
/sszonsm/
|
|
||||||
/sctjaheepy/
|
|
||||||
/gj2016/
|
|
||||||
/gnfsnz/
|
|
||||||
/jcxgfhssdff.space/
|
|
||||||
@@||123.sogou.com
|
|
||||||
||pb.sogou.com
|
|
||||||
||itoutiao.sogou.com^$important
|
|
||||||
/bangongsoft/
|
|
||||||
#屏蔽彩虹游戏和51游戏
|
|
||||||
/caihong.com/
|
|
||||||
/51img/
|
|
||||||
||51.com^
|
|
||||||
#屏蔽Admamax广告
|
|
||||||
/admamax/
|
|
||||||
/jckjgs/
|
|
||||||
/dnvp/
|
|
||||||
/xsvncxh/
|
|
||||||
/lupic/
|
|
||||||
@@||click.ali213.net
|
|
||||||
@@||assets.msn.cn
|
|
||||||
@@||img-s-msn-com.akamaized.net
|
|
||||||
@@||wan.baidu.com
|
|
||||||
#放行夸克网盘
|
|
||||||
@@||pan.quark.cn
|
|
||||||
#屏蔽风灵软件管家(WindSoul)
|
|
||||||
/digclay/
|
|
||||||
/flmgr/
|
|
||||||
#新浪地址接口
|
|
||||||
@@||pv.sohu.com
|
|
||||||
||/51xiasheji/
|
|
||||||
/44ky.vip/
|
|
||||||
||61.147.221.1$all
|
|
||||||
/gifshow.com/
|
|
||||||
/8ziben.com/
|
|
||||||
/cl2009.com/
|
|
||||||
/rzjingyouaa/
|
|
||||||
/api-e189.21cn.com/
|
|
||||||
#屏蔽小鸟壁纸
|
|
||||||
/birdpaper/
|
|
||||||
#结束
|
|
||||||
#屏蔽星环公司一切内容
|
|
||||||
/transwarp/
|
|
||||||
#end
|
|
||||||
#屏蔽算法网相关内容
|
|
||||||
/ddrv.cn/
|
|
||||||
#end
|
|
||||||
/u3y8v8u4.aucdn.net/
|
|
||||||
#屏蔽恶意收费等网站
|
|
||||||
/soft.aijiaer11.cn/
|
|
||||||
/aijiaer11/
|
|
||||||
/onfix.cn/
|
|
||||||
#end
|
|
||||||
||ads.us.criteo.com
|
|
||||||
/googleads/
|
|
||||||
/yanlutong/
|
|
||||||
/adnxs/
|
|
||||||
#屏蔽bandisoft广告
|
|
||||||
/bandi.so/
|
|
||||||
/rendimportinaugurate/
|
|
||||||
#屏蔽迅雷游戏
|
|
||||||
||act-youxi.xunlei.com
|
|
||||||
/act-youxi/
|
|
||||||
@@||www.iconfont.cn
|
|
||||||
#屏蔽百度/必应推广广告
|
|
||||||
||hnsoft.yunibn.com
|
|
||||||
/yunibn/
|
|
||||||
/hnsoft/
|
|
||||||
||3rd.softeasy.xyz
|
|
||||||
/softeasy/
|
|
||||||
/beizi.biz/
|
|
||||||
/ad-scope/
|
|
||||||
||api.htp.ad-scope.com.cn
|
|
||||||
/hubcloud.com/
|
|
||||||
@@||wecourt01.susong51.com
|
|
||||||
/fbi.gov/
|
|
||||||
@@||count.ddooo.com
|
|
||||||
@@||list.live.xunlei.com
|
|
||||||
@@||short-video.kakamobi.cn
|
|
||||||
@@|teams.events.data.microsoft.com
|
|
||||||
/civicscience.com/
|
|
||||||
/fbi/
|
|
||||||
/dui88/
|
|
||||||
/6lugq4fy.com/
|
|
||||||
#屏蔽万能高速下载器
|
|
||||||
||down.51bigbig.com
|
|
||||||
/iwakaka/
|
|
||||||
/iwakaka.net.wsglb0.com/
|
|
||||||
/iwakaka.net/
|
|
||||||
@@||s3-us-east-1.ossfiles.com
|
|
||||||
/hmlvnjj/
|
|
||||||
/promote.hm-itc.com/
|
|
||||||
/hm-itc/
|
|
||||||
/promote/
|
|
||||||
/bnmer/
|
|
||||||
/jmnoioilkams/
|
|
||||||
/kmef/
|
|
||||||
/ikjwmfeds/
|
|
||||||
/gbnwe/
|
|
||||||
/woirfegbbjk/
|
|
||||||
/koprtgh/
|
|
||||||
/omhoa/
|
|
||||||
/mwsxc/
|
|
||||||
/mwsxc/
|
|
||||||
/finzfin/
|
|
||||||
/tepoch/
|
|
||||||
/ok-320.xyz/
|
|
||||||
/ok-320/
|
|
||||||
/zgbxxffww/
|
|
||||||
/jtyzvkt/
|
|
||||||
/zgbxxffww/
|
|
||||||
||repository.certum.pl^$important
|
|
||||||
@@||o4504196236836864.ingest.sentry.io
|
|
||||||
#放行下载站正常链接
|
|
||||||
@@||down1.lwgzc.com
|
|
||||||
@@||softdown01.rbread04.cn
|
|
||||||
@@||*.onewsvod.com
|
|
||||||
#屏蔽钓鱼
|
|
||||||
/lzlso.space/
|
|
||||||
/nordelaergne.com/
|
|
||||||
/nordelaergne/
|
|
||||||
/edtgi.xyz/
|
|
||||||
/edtgi/
|
|
||||||
/jumafuwu.com/
|
|
||||||
/jumafuwu/
|
|
||||||
/orangutansystems/
|
|
||||||
@@||msdesigns.site
|
|
||||||
/msdesigns/
|
|
||||||
@@||qq168168.3322.org
|
|
||||||
/qq168168/
|
|
||||||
@@||nordelaergne.com
|
|
||||||
/nordelaergne/
|
|
||||||
@@||handle.pamphler.com
|
|
||||||
/pamphler/
|
|
||||||
@@||mail-xxcig-com.000webhostapp.com
|
|
||||||
/xxcig/
|
|
||||||
@@||msdesigns.site
|
|
||||||
/msdesigns/
|
|
||||||
@@||mydownload-202001.c1.biz
|
|
||||||
/mydownload/
|
|
||||||
@@||cc1.cctvjfa.com
|
|
||||||
/cc1/
|
|
||||||
/cctvjfa/
|
|
||||||
/adtianshi/
|
|
||||||
/lxpmgjy/
|
|
||||||
/rjxz1/
|
|
||||||
#屏蔽腾讯视频广告
|
|
||||||
/v.smtcdns.com/
|
|
||||||
/vd6.l.qq.com/
|
|
||||||
/vd6.l/
|
|
||||||
/vi.l.qq.com/
|
|
||||||
/vi.l/
|
|
||||||
#放行小米应用商店资源
|
|
||||||
@@||a.market.xiaomi.com
|
|
||||||
#屏蔽赌博网站
|
|
||||||
/wmd9v/
|
|
||||||
||blog.hotfixcdn.com
|
|
||||||
#屏蔽虚假游戏广告
|
|
||||||
/sxplywl.cn/
|
|
||||||
softdown01.rbread04.cn
|
|
||||||
#屏蔽抖音广告
|
|
||||||
/ad-sign/
|
|
||||||
#钉钉相关域名
|
|
||||||
@@||app4860.eapps.dingtalkcloud.com
|
|
||||||
@@||app4290.eapps.dingtalkcloud.com
|
|
||||||
@@||app4298.eapps.dingtalkcloud.com
|
|
||||||
#屏蔽广告链接
|
|
||||||
/gslb.borui.yunfancdn.net/
|
|
||||||
/soft991.cn/
|
|
||||||
/wshtgame/
|
|
||||||
/mssdk-bu/
|
|
||||||
/bytedance.com.queniuum.com/
|
|
||||||
/k128-mzstatic.gslb.ksyuncdn.com/
|
|
||||||
/k128-mzstatic/
|
|
||||||
/mzstatic/
|
|
||||||
/shark-tracer.netease.com/
|
|
||||||
/shark-tracer/
|
|
||||||
/fp2e7a.wpc.phicdn.net/
|
|
||||||
/imp-toutiao-data.37.com.cn/
|
|
||||||
/37.com.cn/
|
|
||||||
/37.com/
|
|
||||||
/fp2e7a/
|
|
||||||
/imp-toutiao/
|
|
||||||
/cddp-track/
|
|
||||||
/tnc3-alisc1.zijieapi.com.queniuyk.com/
|
|
||||||
/alisc1/
|
|
||||||
/tnc3/
|
|
||||||
/tnc3-alisc1.zijieapi.com/
|
|
||||||
#屏蔽网络分析
|
|
||||||
/analytics/
|
|
||||||
/analyze/
|
|
||||||
/analytik/
|
|
||||||
@@||support.apple.com^$important
|
|
||||||
@@||ssl.qhimg.com^
|
|
||||||
@@||market.xiaomi.com^
|
|
||||||
#阻止优酷数据收集
|
|
||||||
/pcapp-data-collect/
|
|
||||||
#屏蔽黑群晖升级
|
|
||||||
@@||update.synology.com
|
|
||||||
@@||update7.synology.com
|
|
||||||
@@||autoupdate7.synology.com
|
|
||||||
@@||autoupdate7.synology.cn
|
|
||||||
#屏蔽假冒Steam网站
|
|
||||||
/berrygm/
|
|
||||||
@@||events.gfe.nvidia.com^$important
|
|
||||||
@@||appleid.cdn-apple.com
|
|
||||||
#添加放行规则
|
|
||||||
@@||jd.moxigame.cn
|
|
||||||
@@||c631cc1b.c.cdnhwc1.com^
|
|
||||||
/ssxd/
|
|
||||||
||tg.602.com
|
|
||||||
/602.com/
|
|
||||||
/geo2.adobe.com/
|
|
||||||
/get3.adobe.com/
|
|
||||||
@@||down10.zol.com.cn
|
|
||||||
||keepalive.softether.org
|
|
||||||
/ad-sign.byteimg.com/
|
|
||||||
@@||cube.meituan.com
|
|
||||||
/eoffcn/
|
|
||||||
#屏蔽flash
|
|
||||||
/flash.cn/
|
|
||||||
@@||api.flash.cn
|
|
||||||
/g996cgxr.sched.d1p.tdnsdl1.cn/
|
|
||||||
/g996cgxr/
|
|
||||||
#End屏蔽flash
|
|
||||||
@@||page.xiaojukeji.com
|
|
||||||
@@||tnc3-aliec2.bytedance.com
|
|
||||||
@@||tnc3-alisc1.bytedance.com
|
|
||||||
@@||tnc3-bjlgy.bytedance.com
|
|
||||||
@@||zcmcm.v.bsclink.cn
|
|
||||||
@@||cdn.staticfile.org
|
|
||||||
#屏蔽FF推荐
|
|
||||||
/flash.cn/
|
|
||||||
/ffzww/
|
|
||||||
/iobit/
|
|
||||||
@@||dwangshuo.jb51.net
|
|
||||||
#屏蔽恶意收费资源网址Start
|
|
||||||
/pan.isharepc.com/
|
|
||||||
/isharepc/
|
|
||||||
#屏蔽恶意收费资源网址End
|
|
||||||
@@||multi-az-incu.gifshow.com
|
|
||||||
@@||saveu5-normal-lq.zijieapi.com
|
|
||||||
@@||mini.browser.360.cn
|
|
||||||
/yX8668.com/
|
|
||||||
@@||t7z.cupid.iqiyi.com
|
|
||||||
/danweigame/
|
|
||||||
/oo.nkmthw/
|
|
||||||
/wlfzejw/
|
|
||||||
#鲁大师AINAS
|
|
||||||
@@||www.ludashi.com
|
|
||||||
@@||cdn-img.ludashi.com
|
|
||||||
@@||cdn-file.ludashi.com
|
|
||||||
@@||cdn-ali-img.ludashi.com
|
|
||||||
@@||ainas.ludashi.com
|
|
||||||
#360安全云放行
|
|
||||||
@@||www.360.cn
|
|
||||||
@@||admin.online.360.cn
|
|
||||||
@@||api.online.360.cn
|
|
||||||
@@||s.360.cn
|
|
||||||
@@||sdup.360.cn
|
|
||||||
@@||pinst.360.cn
|
|
||||||
@@||wsus.f.360.cn
|
|
||||||
@@||vconf.f.360.cn
|
|
||||||
@@||vcheck.f.360.cn
|
|
||||||
@@||msgsrv.f.360.cn
|
|
||||||
@@||dl.360safe.com
|
|
||||||
@@||sdl.360safe.com
|
|
||||||
@@||src.dl.360safe.com
|
|
||||||
@@||dlleak.360safe.com
|
|
||||||
@@||update.360safe.com
|
|
||||||
@@||ini.update.360safe.com
|
|
||||||
@@||softm.update.360safe.com
|
|
||||||
@@||sdupm.qihucdn.com
|
|
||||||
@@||inisdupm.qihucdn.com
|
|
||||||
@@||s.ssl.qhres2.com
|
|
||||||
@@||app.sc.360.net
|
|
||||||
@@||rd1.online.360.cn
|
|
||||||
@@||rd2.online.360.cn
|
|
||||||
@@||rd3.online.360.cn
|
|
||||||
@@||admin.saas.360.cn
|
|
||||||
@@||saas.360.cn
|
|
||||||
@@||ent.online.360.cn
|
|
||||||
@@||client.saas.360.cn
|
|
||||||
@@||store.saas.360.cn
|
|
||||||
@@||dataviz.esc.360.cn
|
|
||||||
@@||microapp.esc.360.cn
|
|
||||||
@@||es.f.360.cn
|
|
||||||
@@||tconf.f.360.cn
|
|
||||||
@@||captcha.bpd.360.cn
|
|
||||||
@@||gedl.360safe.com
|
|
||||||
@@||gedlv5.360safe.com
|
|
||||||
#360安全云放行end
|
|
||||||
#误杀Start
|
|
||||||
@@||/12345/
|
|
||||||
@@||app4.i4.cn
|
|
||||||
#误杀End
|
|
||||||
#广告Start#
|
|
||||||
/668wan/
|
|
||||||
#广告End#
|
|
||||||
#跟踪器开始#
|
|
||||||
||ctrace.sogaha.cn
|
|
||||||
||one-track-app.10046.mi.com
|
|
||||||
||lx-upload-log.go2yd.com
|
|
||||||
#跟踪器结束#
|
|
||||||
#其他Start#
|
|
||||||
||9qq9.3044.com^$important
|
|
||||||
||2kjw.by6.app^$important
|
|
||||||
##其他End
|
|
||||||
@@||www.cuppaso.com
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,5 +0,0 @@
|
|||||||
||hm.baidu.com
|
|
||||||
||baidu.com
|
|
||||||
/.*tracking.*/
|
|
||||||
/adjust.net/
|
|
||||||
/ad./
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"blockedDomainsCount": {},
|
|
||||||
"resolvedDomainsCount": {},
|
|
||||||
"lastSaved": "2025-11-24T13:25:18.310593363+08:00"
|
|
||||||
}
|
|
||||||
2872
data/stats.json
2872
data/stats.json
File diff suppressed because it is too large
Load Diff
BIN
dns-server
BIN
dns-server
Binary file not shown.
48420
dns-server.log
48420
dns-server.log
File diff suppressed because it is too large
Load Diff
@@ -19,6 +19,15 @@ body {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 基础响应式变量 */
|
||||||
|
:root {
|
||||||
|
--sidebar-width: 250px;
|
||||||
|
--sidebar-mobile-width: 70px;
|
||||||
|
--header-height: 130px;
|
||||||
|
--content-padding: 1rem;
|
||||||
|
--card-min-width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
/* 主容器样式 */
|
/* 主容器样式 */
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -70,17 +79,79 @@ header p {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 侧边栏样式 */
|
/* 侧边栏样式 */
|
||||||
.sidebar {
|
.sidebar {
|
||||||
width: 250px;
|
width: var(--sidebar-width);
|
||||||
background-color: #2c3e50;
|
background-color: #2c3e50;
|
||||||
color: white;
|
color: white;
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: calc(100vh - 130px); /* 减去header的高度 */
|
height: calc(100vh - var(--header-height)); /* 减去header的高度 */
|
||||||
|
transition: width 0.3s ease;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 移动设备侧边栏切换按钮 */
|
||||||
|
.sidebar-toggle {
|
||||||
|
position: fixed;
|
||||||
|
top: calc(var(--header-height) + 10px);
|
||||||
|
left: 10px;
|
||||||
|
z-index: 100;
|
||||||
|
background-color: #2c3e50;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 8px 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
display: none;
|
||||||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 响应式布局 - 平板设备 */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.sidebar {
|
||||||
|
width: var(--sidebar-mobile-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-item span {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-item i {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-toggle {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 响应式布局 - 移动设备 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.sidebar {
|
||||||
|
position: fixed;
|
||||||
|
left: -var(--sidebar-width);
|
||||||
|
top: var(--header-height);
|
||||||
|
z-index: 99;
|
||||||
|
height: calc(100vh - var(--header-height));
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.open {
|
||||||
|
left: 0;
|
||||||
|
width: var(--sidebar-width);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.open .nav-item span {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar.open .nav-item i {
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-menu {
|
.nav-menu {
|
||||||
@@ -114,11 +185,39 @@ header p {
|
|||||||
/* 主内容区域样式 */
|
/* 主内容区域样式 */
|
||||||
.content {
|
.content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 1rem;
|
padding: var(--content-padding);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: #f8f9fa;
|
background-color: #f8f9fa;
|
||||||
min-width: 0; /* 防止flex子元素溢出 */
|
min-width: 0; /* 防止flex子元素溢出 */
|
||||||
height: calc(100vh - 130px); /* 减去header的高度 */
|
height: calc(100vh - var(--header-height)); /* 减去header的高度 */
|
||||||
|
transition: padding-left 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 平板设备适配 - 侧边栏折叠时调整内容区域 */
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.content {
|
||||||
|
padding-left: calc(var(--content-padding) + 10px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 移动设备适配 - 侧边栏隐藏时的内容区域 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.content {
|
||||||
|
padding-left: var(--content-padding);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 响应式头部样式 */
|
||||||
|
header.header-container {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo h1 {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
header p {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 面板样式 */
|
/* 面板样式 */
|
||||||
@@ -258,18 +357,30 @@ header p {
|
|||||||
/* 统计卡片网格 */
|
/* 统计卡片网格 */
|
||||||
.stats-grid {
|
.stats-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
|
||||||
gap: 1.5rem;
|
gap: clamp(1rem, 3vw, 1.5rem); /* 根据屏幕宽度动态调整间距 */
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 图表容器 */
|
||||||
|
.charts-container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
|
||||||
|
gap: clamp(1rem, 3vw, 1.5rem); /* 根据屏幕宽度动态调整间距 */
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.stat-card {
|
.stat-card {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 1.5rem;
|
padding: clamp(1rem, 3vw, 1.5rem); /* 根据屏幕宽度动态调整内边距 */
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
||||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||||
|
min-width: 0; /* 防止内容溢出 */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-card:hover {
|
.stat-card:hover {
|
||||||
@@ -277,6 +388,49 @@ header p {
|
|||||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 卡片布局的响应式优化 */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
/* 在极小屏幕上,调整卡片网格为单列显示 */
|
||||||
|
.stats-grid,
|
||||||
|
.charts-container,
|
||||||
|
.tables-container {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 卡片更紧凑的内边距 */
|
||||||
|
.stat-card,
|
||||||
|
.chart-card,
|
||||||
|
.table-card {
|
||||||
|
padding: 1rem;
|
||||||
|
min-height: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优化统计卡片的图标大小 */
|
||||||
|
.stat-card i {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优化统计卡片的数值和标签 */
|
||||||
|
.stat-value {
|
||||||
|
font-size: clamp(1.2rem, 5vw, 1.5rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-label {
|
||||||
|
font-size: clamp(0.7rem, 3vw, 0.8rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优化图表卡片标题 */
|
||||||
|
.chart-card h3 {
|
||||||
|
font-size: clamp(1rem, 4vw, 1.1rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优化面板标题 */
|
||||||
|
.panel-header h2 {
|
||||||
|
font-size: clamp(1.2rem, 5vw, 1.3rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.stat-card i {
|
.stat-card i {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
@@ -321,10 +475,61 @@ header p {
|
|||||||
/* 表格容器 */
|
/* 表格容器 */
|
||||||
.tables-container {
|
.tables-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 表格卡片样式 */
|
||||||
|
.table-card {
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 1.5rem;
|
||||||
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
|
||||||
|
min-width: 0; /* 防止子元素溢出 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 表格响应式样式 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
/* 调整卡片内边距 */
|
||||||
|
.table-card,
|
||||||
|
.stat-card,
|
||||||
|
.chart-card {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整表格单元格内边距 */
|
||||||
|
th, td {
|
||||||
|
padding: 0.5rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整表格卡片标题 */
|
||||||
|
.table-card h3,
|
||||||
|
.chart-card h3 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整统计卡片数值和标签 */
|
||||||
|
.stat-value {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-label {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整面板标题 */
|
||||||
|
.panel-header h2 {
|
||||||
|
font-size: 1.3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 调整按钮大小 */
|
||||||
|
.btn {
|
||||||
|
padding: 0.4rem 0.8rem;
|
||||||
|
font-size: 0.85rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.table-card {
|
.table-card {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@@ -346,6 +551,7 @@ header p {
|
|||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
-webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
@@ -353,12 +559,51 @@ table {
|
|||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
table-layout: fixed; /* 固定布局,有助于响应式设计 */
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th, td {
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.75rem 1rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-bottom: 1px solid #e9ecef;
|
border-bottom: 1px solid #e9ecef;
|
||||||
|
word-break: break-word; /* 长文本自动换行 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 移动设备上表格的优化 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
/* 确保表格可以水平滚动 */
|
||||||
|
.table-wrapper {
|
||||||
|
max-width: 100%;
|
||||||
|
margin-left: -1rem;
|
||||||
|
margin-right: -1rem;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 表格单元格内容截断处理 */
|
||||||
|
td {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
max-width: 150px; /* 限制单元格最大宽度 */
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 当用户触摸单元格时显示完整内容 */
|
||||||
|
td:active {
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 优化百分比条在小屏幕上的显示 */
|
||||||
|
.count-cell {
|
||||||
|
position: relative;
|
||||||
|
padding-right: 50px; /* 为百分比文本留出空间 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.percentage-text {
|
||||||
|
font-size: 10px;
|
||||||
|
right: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
|||||||
@@ -115,29 +115,72 @@ function fetchHostsCount() {
|
|||||||
// 空实现,保留函数声明以避免引用错误
|
// 空实现,保留函数声明以避免引用错误
|
||||||
}
|
}
|
||||||
|
|
||||||
// 通用API请求函数
|
// 通用API请求函数 - 添加错误处理和重试机制
|
||||||
function apiRequest(endpoint, method = 'GET', data = null) {
|
function apiRequest(endpoint, method = 'GET', data = null, maxRetries = 3) {
|
||||||
const headers = {
|
const headers = {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
};
|
};
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
method,
|
method,
|
||||||
headers
|
headers,
|
||||||
|
timeout: 10000, // 设置超时时间为10秒
|
||||||
};
|
};
|
||||||
|
|
||||||
if (data && (method === 'POST' || method === 'PUT' || method === 'DELETE')) {
|
if (data && (method === 'POST' || method === 'PUT' || method === 'DELETE')) {
|
||||||
config.body = JSON.stringify(data);
|
config.body = JSON.stringify(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let retries = 0;
|
||||||
|
|
||||||
|
function makeRequest() {
|
||||||
return fetch(`${API_BASE_URL}${endpoint}`, config)
|
return fetch(`${API_BASE_URL}${endpoint}`, config)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error(`HTTP error! status: ${response.status}`);
|
throw new Error(`HTTP error! status: ${response.status}`);
|
||||||
}
|
}
|
||||||
return response.json();
|
|
||||||
|
// 检查响应是否完整
|
||||||
|
const contentType = response.headers.get('content-type');
|
||||||
|
if (contentType && contentType.includes('application/json')) {
|
||||||
|
// 使用.text()先获取响应文本,处理可能的JSON解析错误
|
||||||
|
return response.text().then(text => {
|
||||||
|
try {
|
||||||
|
return JSON.parse(text);
|
||||||
|
} catch (e) {
|
||||||
|
console.error('JSON解析错误:', e, '响应文本:', text);
|
||||||
|
// 针对ERR_INCOMPLETE_CHUNKED_ENCODING错误进行重试
|
||||||
|
if (retries < maxRetries) {
|
||||||
|
retries++;
|
||||||
|
console.warn(`请求失败,正在进行第${retries}次重试...`);
|
||||||
|
return new Promise(resolve => setTimeout(() => resolve(makeRequest()), 1000 * retries));
|
||||||
|
}
|
||||||
|
throw new Error('JSON解析失败且重试次数已达上限');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
return response.json();
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
|
console.error('API请求错误:', error);
|
||||||
|
|
||||||
|
// 检查是否为网络错误或ERR_INCOMPLETE_CHUNKED_ENCODING相关错误
|
||||||
|
if ((error.name === 'TypeError' && error.message.includes('Failed to fetch')) ||
|
||||||
|
error.message.includes('incomplete chunked encoding')) {
|
||||||
|
|
||||||
|
if (retries < maxRetries) {
|
||||||
|
retries++;
|
||||||
|
console.warn(`网络错误,正在进行第${retries}次重试...`);
|
||||||
|
return new Promise(resolve => setTimeout(() => resolve(makeRequest()), 1000 * retries));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
throw error;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return makeRequest();
|
||||||
|
}
|
||||||
|
|
||||||
// 数字格式化函数
|
// 数字格式化函数
|
||||||
function formatNumber(num) {
|
function formatNumber(num) {
|
||||||
|
|||||||
@@ -6,6 +6,67 @@ let domainDataCache = {
|
|||||||
let domainUpdateTimer = null;
|
let domainUpdateTimer = null;
|
||||||
const DOMAIN_UPDATE_INTERVAL = 5000; // 域名排行更新间隔,设为5秒,比统计数据更新慢一些
|
const DOMAIN_UPDATE_INTERVAL = 5000; // 域名排行更新间隔,设为5秒,比统计数据更新慢一些
|
||||||
|
|
||||||
|
// 初始化小型图表 - 修复Canvas重用问题
|
||||||
|
function initMiniCharts() {
|
||||||
|
// 获取所有图表容器
|
||||||
|
const chartContainers = document.querySelectorAll('.chart-card canvas');
|
||||||
|
|
||||||
|
// 全局图表实例存储
|
||||||
|
window.chartInstances = window.chartInstances || {};
|
||||||
|
|
||||||
|
chartContainers.forEach(canvas => {
|
||||||
|
// 获取图表数据属性
|
||||||
|
const chartId = canvas.id;
|
||||||
|
const chartType = canvas.dataset.chartType || 'line';
|
||||||
|
const chartData = JSON.parse(canvas.dataset.chartData || '{}');
|
||||||
|
|
||||||
|
// 设置图表上下文
|
||||||
|
const ctx = canvas.getContext('2d');
|
||||||
|
|
||||||
|
// 销毁已存在的图表实例,避免Canvas重用错误
|
||||||
|
if (window.chartInstances[chartId]) {
|
||||||
|
window.chartInstances[chartId].destroy();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 创建新图表
|
||||||
|
window.chartInstances[chartId] = new Chart(ctx, {
|
||||||
|
type: chartType,
|
||||||
|
data: chartData,
|
||||||
|
options: {
|
||||||
|
responsive: true,
|
||||||
|
maintainAspectRatio: false,
|
||||||
|
plugins: {
|
||||||
|
legend: {
|
||||||
|
display: false
|
||||||
|
},
|
||||||
|
tooltip: {
|
||||||
|
backgroundColor: 'rgba(0, 0, 0, 0.7)',
|
||||||
|
padding: 10,
|
||||||
|
cornerRadius: 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scales: {
|
||||||
|
x: {
|
||||||
|
grid: {
|
||||||
|
display: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
y: {
|
||||||
|
beginAtZero: true,
|
||||||
|
grid: {
|
||||||
|
color: 'rgba(0, 0, 0, 0.05)'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
animation: {
|
||||||
|
duration: 1000,
|
||||||
|
easing: 'easeOutQuart'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// 初始化仪表盘面板
|
// 初始化仪表盘面板
|
||||||
function initDashboardPanel() {
|
function initDashboardPanel() {
|
||||||
// 初始化小型图表
|
// 初始化小型图表
|
||||||
@@ -20,6 +81,60 @@ function initDashboardPanel() {
|
|||||||
}
|
}
|
||||||
// 启动域名排行的独立更新
|
// 启动域名排行的独立更新
|
||||||
startDomainUpdate();
|
startDomainUpdate();
|
||||||
|
|
||||||
|
// 初始化响应式侧边栏
|
||||||
|
initResponsiveSidebar();
|
||||||
|
}
|
||||||
|
|
||||||
|
// 初始化响应式侧边栏
|
||||||
|
function initResponsiveSidebar() {
|
||||||
|
// 创建侧边栏切换按钮
|
||||||
|
const toggleBtn = document.createElement('button');
|
||||||
|
toggleBtn.className = 'sidebar-toggle';
|
||||||
|
toggleBtn.innerHTML = '<i class="fas fa-bars"></i>';
|
||||||
|
document.body.appendChild(toggleBtn);
|
||||||
|
|
||||||
|
// 侧边栏切换逻辑
|
||||||
|
toggleBtn.addEventListener('click', function() {
|
||||||
|
const sidebar = document.querySelector('.sidebar');
|
||||||
|
sidebar.classList.toggle('open');
|
||||||
|
|
||||||
|
// 更新按钮图标
|
||||||
|
const icon = toggleBtn.querySelector('i');
|
||||||
|
if (sidebar.classList.contains('open')) {
|
||||||
|
icon.className = 'fas fa-times';
|
||||||
|
} else {
|
||||||
|
icon.className = 'fas fa-bars';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// 在侧边栏打开时点击内容区域关闭侧边栏
|
||||||
|
const content = document.querySelector('.content');
|
||||||
|
content.addEventListener('click', function() {
|
||||||
|
const sidebar = document.querySelector('.sidebar');
|
||||||
|
const toggleBtn = document.querySelector('.sidebar-toggle');
|
||||||
|
if (sidebar.classList.contains('open') && window.innerWidth <= 768) {
|
||||||
|
sidebar.classList.remove('open');
|
||||||
|
if (toggleBtn) {
|
||||||
|
const icon = toggleBtn.querySelector('i');
|
||||||
|
icon.className = 'fas fa-bars';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// 窗口大小变化时调整侧边栏状态
|
||||||
|
window.addEventListener('resize', function() {
|
||||||
|
const sidebar = document.querySelector('.sidebar');
|
||||||
|
const toggleBtn = document.querySelector('.sidebar-toggle');
|
||||||
|
|
||||||
|
if (window.innerWidth > 768) {
|
||||||
|
sidebar.classList.remove('open');
|
||||||
|
if (toggleBtn) {
|
||||||
|
const icon = toggleBtn.querySelector('i');
|
||||||
|
icon.className = 'fas fa-bars';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 加载仪表盘数据
|
// 加载仪表盘数据
|
||||||
|
|||||||
Reference in New Issue
Block a user