├── .npmrc ├── dist ├── Adpro_gkd.version.json5 └── CHANGELOG.md ├── .github └── ISSUE_TEMPLATE │ └── config.yml ├── .prettierignore ├── .prettierrc.mjs ├── scripts ├── build.ts └── check.ts ├── src ├── types.ts ├── apps │ ├── com.jym.mall.ts │ ├── com.hihanhan.one.rt45.ts │ ├── com.alibaba.aliyun.ts │ ├── com.jd.pingou.ts │ ├── com.wn.app.np.ts │ ├── cn.com.livelab.ts │ ├── com.jihuanshe.ts │ ├── com.woapp.hebei.ts │ ├── com.m.mfood.ts │ ├── com.rarlab.rar.ts │ ├── com.xfani.app.ts │ ├── com.bw30.zsch.ts │ ├── com.cnki.client.ts │ ├── com.igpsport.igpsportandroid.ts │ ├── com.maertsno.m.ts │ ├── com.rytong.hnair.ts │ ├── com.xt.retouch.ts │ ├── com.android.tnaant.ts │ ├── com.hello.pet.ts │ ├── ctrip.android.view.ts │ ├── com.dtdream.publictransit.ts │ ├── com.loyea.adnmb.ts │ ├── com.qiyi.video.lite.ts │ ├── com.vmos.pro.ts │ ├── chuxin.shimo.shimowendang.ts │ ├── cn.com.hkgt.gasapp.ts │ ├── com.hj119.sygjx.ts │ ├── com.shanghaionstar.ts │ ├── com.vivo.browser.ts │ ├── com.vphonegaga.titan.ts │ ├── com.antutu.ABenchMark.ts │ ├── com.csmbcx.candada.ts │ ├── com.kuaikan.comic.ts │ ├── com.miui.cloudservice.ts │ ├── com.miui.virtualsim.ts │ ├── com.qihoo.srouter.n300.ts │ ├── com.shinyv.cnr.ts │ ├── lab.vie.two.ts │ ├── org.daimhim.zzzfun.ts │ ├── cisdom.com.bigteaapp.ts │ ├── com.chan.cwallpaper.ts │ ├── com.jc.avatar.mm.ts │ ├── com.mm.android.lc.ts │ ├── com.mostone.life.ts │ ├── com.pwrd.steam.esports.ts │ ├── com.baidu.baike.ts │ ├── com.dianxinai.mobile.ts │ ├── com.kuaiduizuoye.scan.ts │ ├── com.midea.vm.washer.ts │ ├── xxx.pornhub.fuck.ts │ ├── com.android.quicksearchbox.ts │ ├── com.dongao.kaoqian.phone.ts │ ├── com.netease.yanxuan.ts │ ├── com.ping.cimoc.ts │ ├── cn.net.shizheng.study.ts │ ├── com.heytap.music.ts │ ├── com.hose.ekuaibao.ts │ ├── com.motoband.ts │ ├── com.tencent.qt.sns.ts │ ├── com.xiaomi.gamecenter.sdk.service.ts │ ├── com.github.catvod.app.ts │ ├── com.hihonor.phoneservice.ts │ ├── com.julanling.app.ts │ ├── com.netease.mkey.ts │ ├── com.shangfang.gylm.ts │ ├── com.cmstop.shaoxing.ts │ ├── com.hlg.daydaytobusiness.ts │ ├── tv.danmaku.bilibilihd.ts │ ├── tw.com.gamer.android.activecenter.ts │ ├── cn.lezhi.speedtest.ts │ ├── com.eco.global.app.ts │ ├── com.huaban.android.ts │ ├── com.leduoworks.gpstoolbox.ts │ ├── com.miHoYo.cloudgames.ys.ts │ ├── com.xiaomi.hm.health.ts │ ├── yyc.xk.ts │ ├── cn.xuexi.android.ts │ ├── com.ecellsz.watch.guard.ts │ ├── com.fanli.android.apps.ts │ ├── com.hanweb.android.sdzwfw.activity.ts │ ├── com.kuangxiangciweimao.novel.ts │ ├── com.pandabus.android.zb.ts │ ├── com.xiaomi.gamecenter.ts │ ├── com.baidu.duer.superapp.ts │ ├── com.facetech.konking.ts │ ├── com.miHoYo.cloudgames.hkrpg.ts │ ├── com.chaoxing.mobile.ts │ ├── com.giraffe.ts │ ├── com.mxbc.mxsa.ts │ ├── com.mxbc.ohsa.ts │ ├── cn.nlyuming.duanju.ting.ts │ ├── com.cib.xyk.ts │ ├── com.doc360.client.ts │ ├── com.fenbi.android.servant.ts │ ├── com.lbe.security.miui.ts │ ├── com.maque.app.ts │ ├── com.tencent.qqlite.ts │ ├── com.chinamworld.main.ts │ ├── com.intsig.camscanner.ts │ ├── com.sina.weibocare.ts │ ├── com.x.istar.ts │ ├── com.xiaohu.olevodmobile.ts │ ├── cn.com.spdb.mobilebank.per.ts │ ├── com.antfortune.wealth.ts │ ├── com.byyoung.setting.ts │ ├── com.example.raylink_flutter.ts │ ├── bin.mt.plus.canary.ts │ ├── com.alibaba.ailabs.tg.ts │ ├── com.google.android.apps.youtube.music.ts │ ├── com.xueqiu.fund.ts │ ├── cn.com.ruijie.magicbox.ts │ ├── com.baidu.newapp.ts │ ├── com.black.unique.ts │ ├── com.fenbi.android.leo.ts │ ├── com.hihonor.vmall.ts │ ├── com.jingcai.apps.qualitydev.ts │ ├── com.panaceasoft.pswallpaper.ts │ ├── com.xiaote.ts │ ├── com.xyhj.hanju.ts │ ├── com.cheersedu.app.ts │ ├── com.example.robortx.clousx6F.ts │ ├── com.fbank.mobile.ts │ ├── com.manmanbuy.bijia.ts │ ├── com.pmph.irenwei.ts │ ├── com.xhgd.jx.ts │ ├── com.keke.ysh1.tz08051h.ts │ ├── com.modian.app.ts │ ├── com.realmecomm.app.ts │ ├── com.wzwh.bzpaipan.ts │ ├── com.xiangzi.dislikecn.ts │ ├── com.coloros.gallery3d.ts │ ├── com.daimajia.gold.ts │ ├── com.jsmcc.ts │ ├── com.longshine.nanwang.electric.charge.ts │ ├── com.miaoying.appmy.ts │ ├── com.pywm.fund.ts │ ├── com.hpbr.directhires.ts │ ├── com.kkeji.news.client.ts │ ├── com.pcs.knowing_weather.ts │ ├── com.qingdaonews.bus.ts │ ├── com.wepie.ivy.ts │ ├── com.hihonor.health.ts │ ├── com.mxtech.videoplayer.ad.ts │ ├── com.qcymall.earphonesetup.ts │ ├── com.sankuai.movie.ts │ ├── pansong291.xposed.quickenergy.repair.ts │ ├── com.bankcomm.Bankcomm.ts │ ├── com.example.ourom.ts │ ├── com.ukids.client.phone.ts │ ├── dxwt.questionnaire.ui.ts │ ├── com.jisu.manhua.ts │ ├── com.jz.xydj.ts │ ├── com.le123.ysdq.ts │ ├── com.upupoo.apu.mobile.ts │ ├── com.baidu.searchcraft.ts │ ├── com.ddsy.songyao.ts │ ├── com.jsguohua.youquanmall.tt.ts │ ├── com.lenovo.club.app.ts │ ├── com.movie.store.ts │ ├── com.sohu.sohuvideo.ts │ ├── com.svm.hbyy.ts │ ├── com.coloros.phonemanager.ts │ ├── com.huawei.wallet.ts │ ├── com.qingwatq.weather.ts │ ├── com.shizhuang.duapp.ts │ ├── com.tencent.qqsports.ts │ ├── com.tencent.tmgp.kgame.ppcr.ts │ ├── com.xiaoxiongyhh.ts │ ├── com.badmintoncn.bbs.ts │ ├── com.hnnx.pmbank.ts │ ├── com.koudai.weidian.buyer.ts │ ├── com.lanjinger.choiassociatedpress.ts │ ├── com.wisedu.cpdaily.ts │ ├── com.youloft.calendar.ts │ ├── com.dewmobile.kuaiya.ts │ ├── com.example.servyouappzhuhai.ts │ ├── com.leiting.lt65207.ts │ ├── com.wibo.bigbang.ocr.ts │ ├── com.cf.dubaji.ts │ ├── com.dataoke.union.ts │ ├── com.hihonor.servicecenter.ts │ ├── com.huawei.himovie.ts │ ├── com.leixun.taofen8.ts │ ├── com.sjm.luobo.ts │ ├── com.steampy.app.ts │ ├── com.cctv.cctv5ultimate.ts │ ├── com.icbc.ts │ ├── com.jim.qrcode.ts │ ├── com.uroad.carclub.ts │ ├── com.guodongbaohe.app.ts │ ├── com.tencent.djcity.ts │ ├── com.wls.weex.ts │ ├── com.wondertek.paper.ts │ ├── com.x2era.xcloud.app.ts │ ├── tw.com.gamer.android.animad.ts │ ├── com.example.maintenancemaster.ts │ ├── com.hihonor.cloudmusic.ts │ ├── com.huawei.hwid.ts │ ├── com.sjmly.sjmtask.xsh.ts │ ├── com.thestore.main.ts │ ├── com.vivo.wallet.ts │ ├── io.microshow.fm.ts │ ├── bubei.tingshu.ts │ ├── com.dz.xmbnxj.ts │ ├── com.ideal.flyerteacafes.ts │ ├── com.lxt.cfmoto.ts │ ├── com.sec.android.app.camera.ts │ ├── cn.emagsoftware.gamehall.ts │ ├── cn.ms.pages.ts │ ├── com.qjy.youqulife.io.ts │ ├── com.zmsoft.forwatch.ts │ ├── com.canghai.haoka.ts │ ├── com.miui.securityadd.ts │ ├── com.netease.snailread.ts │ ├── com.showstartfans.activity.ts │ ├── com.chinatower.tthd.ts │ ├── com.jianshu.haruki.ts │ ├── com.sdhs.easy.high.road.ts │ ├── com.yikaobang.yixue.ts │ ├── com.youdao.note.ts │ ├── org.zwanoo.android.speedtest.ts │ ├── com.fenbi.android.solar.ts │ ├── com.sjm.zhuanzhuan.mcy.ts │ ├── com.wwwscn.yuexingbao.ts │ ├── fm.qingting.qtradio.ts │ ├── cn.ccspeed.ts │ ├── cn.chuci.and.wkfenshen.ts │ ├── com.app.lantt.xs.ts │ ├── com.cimoc.haleydu.ts │ ├── com.onethingcloud.android.ts │ ├── com.csg.palmhall.ts │ ├── com.duokan.phone.remotecontroller.ts │ ├── com.superrhino.rarering.ts │ ├── com.taobao.movie.android.ts │ ├── com.android.updater.ts │ ├── com.fcbox.hivebox.ts │ ├── com.ai.obc.cbn.app.ts │ ├── com.didapinche.booking.ts │ ├── com.feeyo.vz.pro.cdm.ts │ ├── com.myzaker.ZAKER_Phone.ts │ ├── com.wenhua.bamboo.ts │ ├── com.whpe.qrcode.hunan_xiangtan.ts │ ├── cn.ylkj.xingying.ts │ ├── com.ctm.ts │ ├── zhongxinjiantou.szkingdom.android.newphone.ts │ ├── cn.timesneighborhood.app.c.ts │ ├── com.baidutieba.davy.ts │ ├── com.yingyonghui.market.ts │ ├── com.zhl.bmi.ts │ ├── com.bluemobile.flutterbabylife.ts │ ├── com.fiveplay.ts │ ├── com.xiaomi.youpin.ts │ ├── com.zzw.october.ts │ ├── cmccwm.mobilemusic.ts │ ├── com.dep.biguo.ts │ ├── com.google.android.apps.photos.ts │ ├── com.jd.jdlite.ts │ ├── com.wifitutu.ts │ ├── com.xiaomi.shop.ts │ ├── com.buyanchuantong.buyanshufa.ts │ ├── com.smk.ts │ ├── com.youdao.translator.ts │ ├── cn.wps.yun.ts │ ├── com.cnki.view.ts │ ├── com.craftvpn.craft.ts │ ├── com.gvsoft.gofun.ts │ ├── com.mci.smagazine.ts │ ├── com.mem.MacaoLife.ts │ ├── com.practical.master.toolsme.ts │ ├── com.romielf.mrsc.ts │ ├── com.zhengnengliang.precepts.ts │ ├── me.piebridge.brevent.ts │ ├── com.cmcc.hebao.ts │ ├── com.peopledailychina.activity.ts │ ├── com.pingan.paces.ccms.ts │ ├── com.baidu.tieba_mini.ts │ ├── com.iflytek.womusicclient.ts │ ├── com.google.android.apps.translate.ts │ ├── com.shark.jizhang.ts │ ├── me.chunyu.ChunyuDoctor.ts │ ├── cn.trinea.android.developertools.ts │ ├── com.xiaolian.prometheus.ts │ ├── com.banjixiaoguanjia.app.ts │ ├── com.eusoft.ting.en.ts │ ├── com.baidu.input_huawei.ts │ ├── com.huabenapp.ts │ ├── net.pchome.kds.ts │ ├── com.byd.aeri.caranywhere.ts │ ├── com.android.contacts.ts │ ├── com.allinone.callerid.ts │ ├── world.letsgo.booster.android.pro.ts │ ├── com.zhiliaoapp.musically.ts │ ├── com.jovetech.CloudSee.temp.ts │ ├── com.oppo.store.ts │ ├── com.youloft.icloser.ts │ ├── com.maidu.gkld.ts │ ├── com.yaerxing.fkst.ts │ ├── com.android.documentsui.ts │ ├── com.google.android.documentsui.ts │ ├── com.csair.mbp.ts │ ├── com.android.icredit.ts │ ├── com.baidu.xin.aiqicha.ts │ ├── com.hd.smartVillage.ts │ ├── com.qihoo.camera.ts │ └── downloadtwittervideo.twitterdownloader.twittervideodownloader.twittersaver.ts ├── subscription.ts └── checkDeprecatedGroupKeys.ts ├── .gitignore ├── tsconfig.json └── eslint.config.mjs /.npmrc: -------------------------------------------------------------------------------- 1 | package-manager-strict=false -------------------------------------------------------------------------------- /dist/Adpro_gkd.version.json5: -------------------------------------------------------------------------------- 1 | {id:825,version:90} -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml 2 | pnpm-workspace.yaml 3 | LICENCE 4 | 5 | dist 6 | 7 | README.md 8 | CHANGELOG.md 9 | -------------------------------------------------------------------------------- /.prettierrc.mjs: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | /** 3 | * @type {import('prettier').Config} 4 | */ 5 | export default { 6 | tabWidth: 2, 7 | singleQuote: true, 8 | trailingComma: 'all', 9 | }; 10 | -------------------------------------------------------------------------------- /scripts/build.ts: -------------------------------------------------------------------------------- 1 | import { updateDist } from '@gkd-kit/tools'; 2 | import subscription from './check'; 3 | import { updateReadMeMd } from '../src/updateMd'; 4 | 5 | await updateDist(subscription); 6 | 7 | await updateReadMeMd(); 8 | -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- 1 | export interface RawDeprecatedKeysSetting { 2 | /** 3 | * 应用ID 4 | */ 5 | id: string; 6 | 7 | /** 8 | * 应用名称 9 | */ 10 | name: string; 11 | 12 | /** 13 | * 废弃的key值,不可再次使用。 14 | */ 15 | deprecatedKeys: number[]; 16 | } 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | logs 2 | *.log 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | pnpm-debug.log* 7 | lerna-debug.log* 8 | 9 | .env 10 | .vscode 11 | .eslintcache 12 | 13 | .idea 14 | .DS_Store 15 | *.suo 16 | *.ntvs* 17 | *.njsproj 18 | *.sln 19 | *.sw? 20 | 21 | node_modules 22 | package-lock.json 23 | yarn.lock 24 | -------------------------------------------------------------------------------- /scripts/check.ts: -------------------------------------------------------------------------------- 1 | import { checkDeprecatedGroupKeys } from '../src/checkDeprecatedGroupKeys'; 2 | import subscription from '../src/subscription'; 3 | import { checkSubscription } from '@gkd-kit/tools'; 4 | 5 | checkSubscription(subscription); 6 | 7 | checkDeprecatedGroupKeys(subscription.apps!); 8 | 9 | export default subscription; 10 | -------------------------------------------------------------------------------- /src/apps/com.jym.mall.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jym.mall', 5 | name: '交易猫', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '升级弹窗', 10 | rules: '[id="com.jym.mall:id/tv_cancel"][text="下次再说"]', 11 | snapshotUrls: 'https://i.gkd.li/i/12496974', 12 | }, 13 | ], 14 | }); 15 | -------------------------------------------------------------------------------- /src/apps/com.hihanhan.one.rt45.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hihanhan.one.rt45', 5 | name: '一个', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告', 10 | fastQuery: true, 11 | rules: '[vid="ivClose"]', 12 | snapshotUrls: 'https://i.gkd.li/i/14099393', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.alibaba.aliyun.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.alibaba.aliyun', 5 | name: '阿里云', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '请求开启通知权限弹窗', 10 | fastQuery: true, 11 | rules: '[text^="打开手机消息通知"] + * >2 [text="以后再说"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13446162', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.jd.pingou.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jd.pingou', 5 | name: '京喜', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '权限提示-定位权限', 10 | activityIds: 'com.jd.jdlite.MainFrameActivity', 11 | rules: '[text*="开启定位授权"] +2 ImageView', 12 | snapshotUrls: 'https://i.gkd.li/i/13804515', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.wn.app.np.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wn.app.np', 5 | name: 'NP管理器', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告', 10 | rules: 11 | '[id="android:id/content"] >n FrameLayout[index=2][childCount=1] > ImageView', 12 | snapshotUrls: 'https://i.gkd.li/i/14722550', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "dist", 4 | "target": "ESNext", 5 | "module": "ESNext", 6 | "moduleResolution": "bundler", 7 | "strict": true, 8 | "skipLibCheck": true, 9 | "declaration": false, 10 | "sourceMap": false, 11 | "noUnusedLocals": true, 12 | "esModuleInterop": true, 13 | "isolatedModules": true 14 | }, 15 | "include": ["src", "scripts"] 16 | } 17 | -------------------------------------------------------------------------------- /src/apps/cn.com.livelab.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.com.livelab', 5 | name: '纷玩岛', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'cn.com.livelab.MainActivity', 11 | rules: 'View >n View[childCount=2] > ImageView + Button', 12 | snapshotUrls: 'https://i.gkd.li/i/13258873', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.jihuanshe.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jihuanshe', 5 | name: '集换社', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | desc: '点击【跳过】', 11 | fastQuery: true, 12 | rules: '@View <2 FrameLayout <2 FrameLayout < [vid="adContainer"]', 13 | snapshotUrls: 'https://i.gkd.li/i/14303879', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.woapp.hebei.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.woapp.hebei', 5 | name: '联通智家', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: 'net.smartont.we.wohome.ui.main.view.MainActivity', 11 | rules: '@[text="忽略更新"] + [text="立即更新"]', 12 | snapshotUrls: ['https://i.gkd.li/i/12707746'], 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.m.mfood.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.m.mfood', 5 | name: 'mFood', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '浮窗廣告', 10 | fastQuery: true, 11 | activityIds: 'com.zdyl.mfood.ui.home.MainActivity', 12 | rules: '[id="com.m.mfood:id/close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13350787', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.rarlab.rar.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.rarlab.rar', 5 | name: 'RAR', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '订购 RAR 弹窗', 10 | desc: '自动点击【放弃】', 11 | activityIds: 'com.rarlab.rar.MainActivity', 12 | rules: '[text="订购"] + [text="放弃"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12781596', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.xfani.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xfani.app', 5 | name: '稀饭动漫', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'com.xfani.app.MainActivity', 11 | rules: 'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView', 12 | snapshotUrls: 'https://i.gkd.li/i/13188550', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.bw30.zsch.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.bw30.zsch', 5 | name: '四川航空', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '升级弹窗', 10 | fastQuery: true, 11 | activityIds: ['com.bw.zsch.MainActivityTab'], 12 | rules: '[id="com.bw30.zsch:id/tv_cancel"]', 13 | snapshotUrls: ['https://i.gkd.li/i/13068699'], 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.cnki.client.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cnki.client', 5 | name: '手机知网', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: ['com.cnki.client.core.navigator.main.HomeActivity'], 11 | rules: '[id="com.cnki.client:id/update_undo"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12854857', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.igpsport.igpsportandroid.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.igpsport.igpsportandroid', 5 | name: 'iGPSPORT', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | rules: '@[text="忽略本次"] + [text="立即升级"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13797203', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.maertsno.m.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.maertsno.m', 5 | name: 'OnStream', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告', 10 | fastQuery: true, 11 | activityIds: 'co.notix.interstitial.InterstitialActivity', 12 | rules: '[vid="tv_button"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13842558', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.rytong.hnair.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.rytong.hnair', 5 | name: '海南航空', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-弹窗广告', 10 | activityIds: 'com.hnair.airlines.ui.main.MainActivity', 11 | rules: 'ImageView[id*="com.rytong.hnair:id/iv_cloes"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12846381', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.xt.retouch.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xt.retouch', 5 | name: '醒图', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '好评反馈', 10 | activityIds: 'com.xt.retouch.uilauncher.MainActivity', 11 | rules: '[id="com.xt.retouch:id/market_feedback_dialog_close"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13062637', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.android.tnaant.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.android.tnaant', 5 | name: '蚂蚁加速器', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '公告弹窗', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[text="公告"] +2 [text="我知道了"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13713449', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.hello.pet.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hello.pet', 5 | name: '街猫', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-请求开启通知权限弹窗', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | rules: '[text^="开启通知"] +2 [text="取消"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14622639', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/ctrip.android.view.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'ctrip.android.view', 5 | name: '携程旅行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: 'ctrip.android.publicproduct.home.view.CtripHomeActivity', 11 | rules: '[text*="用户已升级"] < * + [desc="关闭"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13218347', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.dtdream.publictransit.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dtdream.publictransit', 5 | name: '杭州公共交通', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '广告弹窗', 10 | activityIds: 'com.dtchuxing.main.MainActivity', 11 | rules: '[id="com.dtdream.publictransit:id/ifv_close"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12830113', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.loyea.adnmb.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.loyea.adnmb', 5 | name: '蓝岛', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '通知弹窗', 10 | 11 | fastQuery: true, 12 | activityIds: 'com.loyea.adnmb.activity.MainActivity', 13 | rules: 'LinearLayout > Button[text="确定"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13623450', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.qiyi.video.lite.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qiyi.video.lite', 5 | name: '爱奇艺极速版', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: '[text*="关闭"] <2 LinearLayout', 14 | snapshotUrls: 'https://i.gkd.li/i/13797162', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.vmos.pro.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.vmos.pro', 5 | name: 'VMOS Pro', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | activityIds: 'com.vmos.pro.activities.main.MainActivity', 12 | rules: '[id="com.vmos.pro:id/iv_dismiss"] ', 13 | snapshotUrls: 'https://i.gkd.li/i/13536416', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/chuxin.shimo.shimowendang.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'chuxin.shimo.shimowendang', 5 | name: '石墨文档', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页顶部横幅广告', 10 | activityIds: 'chuxin.shimo.shimowendang.MainActivity', 11 | rules: '[desc="banner-desktop-announcement-close"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13627960', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/cn.com.hkgt.gasapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.com.hkgt.gasapp', 5 | name: '易捷加油', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'cn.com.hkgt.gasapp.dialog.BannerDialog', 11 | rules: 'ImageView[id="cn.com.hkgt.gasapp:id/exit"][clickable=true]', 12 | snapshotUrls: 'https://i.gkd.li/i/12744270', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.hj119.sygjx.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hj119.sygjx', 5 | name: '实用工具箱', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | rules: 12 | '@ImageView < FrameLayout +2 FrameLayout[childCount=2] > FrameLayout > TextView[text="立即下载"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13226595', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.shanghaionstar.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.shanghaionstar', 5 | name: '安吉星', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[id="com.shanghaionstar:id/jump_view"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13071523', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.vivo.browser.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.vivo.browser', 5 | name: 'vivo浏览器', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '免流提示', 10 | activityIds: 'com.vivo.browser.pendant.PendantActivity', 11 | rules: '[id="com.vivo.browser:id/dialog_button_right"][text="继续浏览"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12847431', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.vphonegaga.titan.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.vphonegaga.titan', 5 | name: '光速虚拟机', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | activityIds: 'com.vphonegaga.titan.MyNativeActivity1', 12 | rules: '@Image < View +2 [text="反馈"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13292911', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.antutu.ABenchMark.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.antutu.ABenchMark', 5 | name: '安兔兔评测', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告卡片', 10 | activityIds: 'com.android.module.app.ui.test.activity.ActivityTestResult', 11 | rules: '[text="广告"] + TextView + View > TextView', 12 | snapshotUrls: 'https://i.gkd.li/i/13234012', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.csmbcx.candada.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.csmbcx.candada', 5 | name: '餐大大', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: '[vid="flContainer"] >n View[clickable=true]', 14 | snapshotUrls: 'https://i.gkd.li/i/14079762', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.kuaikan.comic.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.kuaikan.comic', 5 | name: '快看漫画', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '漫画界面-底部广告弹窗', 10 | activityIds: 'com.kuaikan.comic.infinitecomic.view.ComicInfiniteActivity', 11 | rules: '[id="com.kuaikan.comic:id/adBannerClose"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12910268', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.miui.cloudservice.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miui.cloudservice', 5 | name: '小米云服务', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '相册-云存储空间不足', 10 | activityIds: 11 | 'com.miui.cloudservice.hybrid.SignDeductDialogHybridActivity', 12 | rules: 'View > [text="以后再说"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12847374', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.miui.virtualsim.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miui.virtualsim', 5 | name: '全球上网', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'com.mobile.businesshall.ui.common.RecommendPopupActivity', 11 | rules: '[id="com.miui.virtualsim:id/img_close_btn"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13238467', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.qihoo.srouter.n300.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qihoo.srouter.n300', 5 | name: '360家庭防火墙', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | rules: '[vid="app_update_later_button"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13800011', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.shinyv.cnr.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.shinyv.cnr', 5 | name: '云听', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页广告弹窗', 10 | activityIds: 'yt.com.module.home.MainActivity', 11 | rules: 12 | '[id="com.shinyv.cnr:id/iv_ad"] + [id="com.shinyv.cnr:id/iv_close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12817933', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/lab.vie.two.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'lab.vie.two', 5 | name: 'LIBVIO', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '账号注册说明弹窗', 10 | desc: '每次打开app的弹窗提示,本规则自动点击【我知道了】', 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[desc="账号注册说明"] +2 [desc="我知道了"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13379070', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/org.daimhim.zzzfun.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'org.daimhim.zzzfun', 5 | name: 'ZzzFun', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'org.daimhim.zzzfun.ui.home.video.VideoDetailsActivity', 11 | rules: 'ImageView -2 ImageView + FrameLayout > ImageView', 12 | snapshotUrls: 'https://i.gkd.li/i/13402608', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/cisdom.com.bigteaapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cisdom.com.bigteaapp', 5 | name: '大茶肆', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | rules: 13 | '[text$="抽奖送大礼"] < WebView - [id="cisdom.com.bigteaapp:id/close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13228579', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.chan.cwallpaper.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.chan.cwallpaper', 5 | name: '图凌', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: '[vid="activate_button"]', 15 | snapshotUrls: 'https://i.gkd.li/i/14293734', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.jc.avatar.mm.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jc.avatar.mm', 5 | name: '萌妹', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'com.jc.avatar.mm.MainActivity', 11 | rules: 12 | 'ImageView -2 FrameLayout > FrameLayout > FrameLayout > FrameLayout > ImageView', 13 | snapshotUrls: 'https://i.gkd.li/i/13188475', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.mm.android.lc.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mm.android.lc', 5 | name: '乐橙', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | matchTime: 10000, 13 | fastQuery: true, 14 | rules: '[vid="advert_countdown_view"]', 15 | snapshotUrls: 'https://i.gkd.li/i/14586621', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.mostone.life.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mostone.life', 5 | name: '默往', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: '[id="android:id/content"] >n FrameLayout[childCount=4] > View', 14 | snapshotUrls: 'https://i.gkd.li/i/13832104', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.pwrd.steam.esports.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.pwrd.steam.esports', 5 | name: '完美世界电竞', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-开启推送通知弹窗', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | rules: '[text="开启推送通知"] + [vid="tv_close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14622501', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.baidu.baike.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.baike', 5 | name: '百度百科', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '请求通知权限弹窗', 10 | desc: '自动点击【不允许】', 11 | activityIds: 'com.baidu.baike.component.push.NotificationEnableDialog', 12 | rules: '[text^="打开推送通知"] +2 [text="不允许"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12755717', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.dianxinai.mobile.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dianxinai.mobile', 5 | name: '点心云', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | activityIds: ['com.dianxinai.mobile.MainActivity'], 11 | rules: 12 | '@ViewGroup[clickable = true] > TextView[text $="s" && text.length=2]', 13 | snapshotUrls: 'https://i.gkd.li/i/12847518', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.kuaiduizuoye.scan.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.kuaiduizuoye.scan', 5 | name: '快对', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页广告弹窗', 10 | activityIds: 'com.hihonor.android.launcher.drawer.DrawerLauncher', 11 | rules: '[id="com.kuaiduizuoye.scan:id/iv_advertisement_widget_close"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12716285', 13 | }, 14 | ], 15 | }); 16 | -------------------------------------------------------------------------------- /src/apps/com.midea.vm.washer.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.midea.vm.washer', 5 | name: 'U净', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: '[text*="跳过"][text.length<=10]', 15 | snapshotUrls: 'https://i.gkd.li/i/13407199', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/xxx.pornhub.fuck.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'xxx.pornhub.fuck', 5 | name: 'JavDB', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-公告弹窗', 10 | desc: '点击[知道了]', 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: '[desc="公告"] + * + [desc="知道了"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13334608', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.android.quicksearchbox.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.android.quicksearchbox', 5 | name: '搜索', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-广告卡片', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | rules: '[vid="ad_close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13897834', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.dongao.kaoqian.phone.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dongao.kaoqian.phone', 5 | name: '会计云课堂', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | rules: '[vid="tv_welcome_guide"]', 15 | snapshotUrls: 'https://i.gkd.li/i/14809185', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.netease.yanxuan.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.netease.yanxuan', 5 | name: '网易严选', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-弹窗广告', 10 | activityIds: 11 | 'com.netease.yanxuan.module.mainpage.activity.MainPageActivity', 12 | rules: '[id="com.netease.yanxuan:id/trans_cancel"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12840641', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.ping.cimoc.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ping.cimoc', 5 | name: '芝士漫画', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '广告弹窗', 10 | activityIds: 'com.ping.cimoc.ui.activity.MainActivity', 11 | rules: 12 | 'ImageView < FrameLayout + FrameLayout > FrameLayout[childCount=1] > ImageView', 13 | snapshotUrls: 'https://i.gkd.li/i/13187751', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/cn.net.shizheng.study.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.net.shizheng.study', 5 | name: '365时政', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页广告弹窗', 10 | activityIds: 'cn.dingwei.cloud_classroom.MainActivity', 11 | rules: 12 | 'View[childCount=2] > ImageView[id=""] + Button[id=""][clickable=true]', 13 | snapshotUrls: 'https://i.gkd.li/i/12708731', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.heytap.music.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.heytap.music', 5 | name: '音乐', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: '@ImageView[clickable=true] + [text="检测到新版本"]', 15 | snapshotUrls: 'https://i.gkd.li/i/14987173', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.hose.ekuaibao.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hose.ekuaibao', 5 | name: '易快报', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-横幅广告', 10 | activityIds: 'com.hose.ekuaibao.view.activity.EkbProActivity', 11 | rules: 12 | 'View[childCount=2] > TextView + TextView[text="不感兴趣"][clickable=true]', 13 | snapshotUrls: ['https://i.gkd.li/i/12649616'], 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.motoband.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.motoband', 5 | name: '摩托邦', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: 14 | '@View[clickable=true] <3 * <2 * < [vid="splash_container_half_size"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13849831', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.tencent.qt.sns.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.tencent.qt.sns', 5 | name: '掌上穿越火线', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页活动弹窗', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | matchTime: 10000, 14 | rules: '[id="com.tencent.qt.sns:id/closebtn"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13497978', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.xiaomi.gamecenter.sdk.service.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaomi.gamecenter.sdk.service', 5 | name: '小米游戏服务', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[text="升级提示"] < * + [vid="btn_close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14188929', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.github.catvod.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.github.catvod.app', 5 | name: '猫影视', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-应用协议弹窗', 10 | resetMatch: 'app', 11 | actionMaximum: 1, 12 | activityIds: 'com.github.catvod.app.MainActivity', 13 | rules: '[desc*="本软件仅供学习"] + [desc="同意"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13938918', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.hihonor.phoneservice.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hihonor.phoneservice', 5 | name: '我的荣耀', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '权限提示-定位权限', 10 | activityIds: 'com.hihonor.phoneservice.main.MainActivity', 11 | rules: 12 | '[text^="开启定位权限"] + [id="com.hihonor.phoneservice:id/iv_close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12783134', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.julanling.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.julanling.app', 5 | name: '安心记加班', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '广告弹窗', 10 | activityIds: 'com.julanling.dgq.main.view.MainFragmentActivity', 11 | rules: 12 | 'FrameLayout > FrameLayout[childCount=1] > ImageView[width<80][height<80]', 13 | snapshotUrls: 'https://i.gkd.li/i/13523567', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.netease.mkey.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.netease.mkey', 5 | name: '网易将军令', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '一键迁移至新版将军令', 10 | matchTime: 10000, 11 | fastQuery: true, 12 | activityIds: 'com.netease.mkey.activity.NtSecActivity', 13 | rules: '[id="com.netease.mkey:id/tv_cancel"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13421302', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.shangfang.gylm.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.shangfang.gylm', 5 | name: '高佣联盟', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '版本更新', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: '[id="com.shangfang.gylm:id/iv_upgrade_close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13643599', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.cmstop.shaoxing.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cmstop.shaoxing', 5 | name: '越牛新闻', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | matchTime: 10000, 13 | resetMatch: 'app', 14 | rules: '[id="com.cmstop.shaoxing:id/roundProgressBar"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13611775', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.hlg.daydaytobusiness.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hlg.daydaytobusiness', 5 | name: '稿定设计', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | rules: '[text="现在升级"] - TextView[text="以后再说"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13766557', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/tv.danmaku.bilibilihd.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'tv.danmaku.bilibilihd', 5 | name: '哔哩哔哩HD', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: '[id="tv.danmaku.bilibilihd:id/count_down"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13031261', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/tw.com.gamer.android.activecenter.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'tw.com.gamer.android.activecenter', 5 | name: '巴哈姆特', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[desc="Interstitial close button"][clickable=true]', 14 | snapshotUrls: 'https://i.gkd.li/i/14292691', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/cn.lezhi.speedtest.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.lezhi.speedtest', 5 | name: '网速管家', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: 'cn.lezhi.speedtest.main5.MainV5Activity', 11 | rules: 12 | '[id="cn.lezhi.speedtest:id/rl_update_dialog_layout"] >n [id="cn.lezhi.speedtest:id/iv_close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12727619', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.eco.global.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.eco.global.app', 5 | name: 'ECOVACS HOME', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: 'ImageView[id="com.eco.global.app:id/adview_jump"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13538616', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.huaban.android.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.huaban.android', 5 | name: '花瓣', 6 | groups: [ 7 | { 8 | key: 1, 9 | fastQuery: true, 10 | name: '更新提示-版本更新弹窗', 11 | desc: '点击不再提示', 12 | rules: [ 13 | { 14 | matches: '[vid="tv_update"] + * > [text="不再提示"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13832253', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.leduoworks.gpstoolbox.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.leduoworks.gpstoolbox', 5 | name: 'GPS工具箱', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页占位广告', 10 | activityIds: 'com.leduoworks.gpstoolbox.frmt.MainFrmtActivity', 11 | 12 | fastQuery: true, 13 | rules: '[id="com.leduoworks.gpstoolbox:id/iv_close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13062612', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.miHoYo.cloudgames.ys.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miHoYo.cloudgames.ys', 5 | name: '云·原神', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-流量提醒', 10 | desc: '点击[使用流量进行游戏]', 11 | fastQuery: true, 12 | activityIds: 'com.mihoyo.cloudgame.main.MiHoYoCloudMainActivity', 13 | rules: '[text="使用流量进行游戏"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14783168', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.xiaomi.hm.health.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaomi.hm.health', 5 | name: 'Zepp Life', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-底部广告', 10 | fastQuery: true, 11 | activityIds: 'com.xiaomi.hm.health.activity.ChannelMainTabActivity', 12 | rules: 'ImageView[id="com.xiaomi.hm.health:id/close_icon"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13695424', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/yyc.xk.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'yyc.xk', 5 | name: '星空视频壁纸', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-广告弹窗', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯SDK', 14 | matches: '[vid="XK"] >n FrameLayout[childCount=1] > ImageView', 15 | snapshotUrls: 'https://i.gkd.li/i/14011298', //另一个x为假x 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/cn.xuexi.android.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.xuexi.android', 5 | name: '学习强国', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '请求开启通知权限提示信息', 10 | desc: '自动点击x按钮', 11 | activityIds: 'com.alibaba.android.rimet.biz.SplashActivity', 12 | rules: 13 | '[text^="开启消息通知"] +2 [id="cn.xuexi.android:id/layout_close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/12715160', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.ecellsz.watch.guard.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ecellsz.watch.guard', 5 | name: '乐康守护', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | fastQuery: true, 14 | rules: 'View[clickable=true] <n @View + [text="main_bkg"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13245808', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.hanweb.android.sdzwfw.activity.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hanweb.android.sdzwfw.activity', 5 | name: '爱山东', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: '[text*="关闭"][text.length<=10]', 15 | snapshotUrls: 'https://i.gkd.li/i/13407227', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.kuangxiangciweimao.novel.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.kuangxiangciweimao.novel', 5 | name: '刺猬猫阅读', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | activityIds: 11 | 'com.kuangxiangciweimao.novel.activity.AdvertisementActivity', 12 | 13 | rules: '[id="com.kuangxiangciweimao.novel:id/mTasksView"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13056248', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.pandabus.android.zb.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.pandabus.android.zb', 5 | name: '淄博出行', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: '[id="com.pandabus.android.zb:id/iv_native_dislike"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13400177', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.xiaomi.gamecenter.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaomi.gamecenter', 5 | name: '小米游戏中心', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页右侧悬浮广告', 10 | activityIds: 'com.xiaomi.gamecenter.ui.MainTabActivity', 11 | rules: 12 | '[id="com.xiaomi.gamecenter:id/ad_view"] + [id="com.xiaomi.gamecenter:id/close_btn"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12715800', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.baidu.duer.superapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.duer.superapp', 5 | name: '小度', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: 14 | 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 15 | snapshotUrls: 'https://i.gkd.li/i/14204175', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.facetech.konking.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.facetech.konking', 5 | name: '人民日报', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内广告弹窗', 10 | activityIds: 11 | 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', 12 | rules: '@Image[text=""] < View +n View > View > TextView[text="广告"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12841081', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.miHoYo.cloudgames.hkrpg.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miHoYo.cloudgames.hkrpg', 5 | name: '云·星穹铁道', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-流量提醒', 10 | desc: '点击[使用流量进行游戏]', 11 | fastQuery: true, 12 | activityIds: 'com.mihoyo.cloudgame.main.MiHoYoCloudMainActivity', 13 | rules: '[text="使用流量进行游戏"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14784161', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.chaoxing.mobile.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.chaoxing.mobile', 5 | name: '学习通', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '开启消息通知', 10 | desc: '自动点击关闭', 11 | 12 | fastQuery: true, 13 | activityIds: 'com.chaoxing.mobile.main.ui.MainTabActivity', 14 | rules: '[id="com.chaoxing.mobile:id/vNotificationItemClose"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13197374', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.giraffe.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.giraffe', 5 | name: '安易加速器', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | matchTime: 10000, 13 | resetMatch: 'app', 14 | activityIds: 'com.speed.shadowsocks.ui.main.MainActivity', 15 | rules: '[vid="iv_close"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13998233', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.mxbc.mxsa.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mxbc.mxsa', 5 | name: '蜜雪冰城', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '主界面弹窗广告', 10 | activityIds: ['com.mxbc.mxsa.modules.main.MainActivity'], 11 | rules: [ 12 | { 13 | key: 1, 14 | matches: '[id="com.mxbc.mxsa:id/close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/12929345', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.mxbc.ohsa.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mxbc.ohsa', 5 | name: '蜜雪冰城鸿蒙版', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '首页-弹窗广告', 10 | rules: [ 11 | { 12 | activityIds: 'com.mxbc.ohsa.modules.main.MainAbilityShellActivity', 13 | matches: 'UIComponentContainer > [id="Id_close"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13728113', 15 | }, 16 | ], 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/cn.nlyuming.duanju.ting.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.nlyuming.duanju.ting', 5 | name: '星影视频', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-公告弹窗', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | activityIds: 'cn.nlyuming.duanju.ting.MainActivity', 14 | rules: '[desc="了解更多"] - [desc="我知道了"]', 15 | snapshotUrls: 'https://i.gkd.li/i/14151009', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.cib.xyk.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cib.xyk', 5 | name: '兴业生活', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示', 10 | desc: '概率误触,谨慎开启', 11 | activityIds: 'com.cib.fintech.activity.MainActivity', 12 | rules: 13 | '[id="android:id/content"] >2 RelativeLayout[childCount=2] > RelativeLayout + ImageView[clickable=true]', 14 | snapshotUrls: 'https://i.gkd.li/i/14122970', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.doc360.client.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.doc360.client', 5 | name: '个人图书馆', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '阅读-推荐-信息流广告', 10 | fastQuery: true, 11 | activityIds: 'com.doc360.client.activity.ReadRoomActivity', 12 | rules: 13 | '@FrameLayout[desc^="dislike"] < ImageView[clickable=true] + ViewGroup[clickable=true][childCount=1] > ImageView[id=null][clickable=false]', 13 | snapshotUrls: 'https://i.gkd.li/i/12640100', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.tencent.qqlite.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.tencent.qqlite', 5 | name: 'QQ极速版', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: ['com.tencent.mobileqq.activity.SplashActivity'], 11 | rules: [ 12 | { 13 | matches: '[id="com.tencent.qqlite:id/close_top_bar"]', 14 | snapshotUrls: ['https://i.gkd.li/i/14428054'], 15 | }, 16 | ], 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.chinamworld.main.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.chinamworld.main', 5 | name: '中国建设银行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '我的页面-广告弹窗', 10 | activityIds: 'com.ccb.start.view.startdialog.StartDialogActivity', 11 | rules: 12 | '[id="com.chinamworld.main:id/indicator_container_container"] + [id="com.chinamworld.main:id/close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12726961', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.intsig.camscanner.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.intsig.camscanner', 5 | name: '扫描全能王', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-主页面上方广告', 10 | activityIds: 'com.intsig.camscanner.mainmenu.mainactivity.MainActivity', 11 | rules: 12 | '[id="com.intsig.camscanner:id/card_ad_tag"] + [id="com.intsig.camscanner:id/card_close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12668813', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.sina.weibocare.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sina.weibocare', 5 | name: 'WeiboBig', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '流量继续播放视频', 10 | desc: '点击[播放]', 11 | fastQuery: true, 12 | activityIds: 'com.weico.international.activity.MainFragmentActivity', 13 | rules: '[id="com.sina.weibocare:id/ed_btn_positive"][text="播放"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13253223', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.x.istar.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.x.istar', 5 | name: '观星', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-开屏广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | activityIds: 'com.x.istar.view.main.MainActivity', 15 | rules: '[text="关闭广告"][vid="btn_negative"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13974606', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.xiaohu.olevodmobile.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaohu.olevodmobile', 5 | name: '欧乐影院', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: 14 | '@[id="com.xiaohu.olevodmobile:id/init_time_text"] + [text="跳过"]', // 这个 app 的开屏广告需要点击倒计时按钮才能跳过 15 | snapshotUrls: 'https://i.gkd.li/i/12826256', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/subscription.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdSubscription } from '@gkd-kit/define'; 2 | import categories from './categories'; 3 | import globalGroups from './globalGroups'; 4 | import apps from './rawApps'; 5 | 6 | export default defineGkdSubscription({ 7 | id: 825, 8 | name: 'AdproのGKD订阅 - 维护终止', 9 | version: 0, 10 | author: 'Adpro(AdproTeam)', 11 | checkUpdateUrl: './Adpro_gkd.version.json5', 12 | supportUri: 'https://github.com/Adpro-Team/GKD_subscription/issues', 13 | categories, 14 | globalGroups, 15 | apps: apps, 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/cn.com.spdb.mobilebank.per.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.com.spdb.mobilebank.per', 5 | name: '浦发银行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '消息中心-系统通知请求', 10 | desc: '自动点击关闭。', 11 | 12 | activityIds: 13 | 'cn.com.spdb.mobilebank.per.activity.web.stage.StageCommonWebActivity', 14 | rules: '[text="去开启"] + View > Image[text.length=0]', 15 | snapshotUrls: 'https://i.gkd.li/i/13458535', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.antfortune.wealth.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.antfortune.wealth', 5 | name: '蚂蚁财富', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | resetMatch: 'app', 11 | actionMaximum: 1, 12 | matchTime: 10000, 13 | fastQuery: true, 14 | rules: 15 | '@View[clickable=true] <2 [id="com.antfortune.wealth:id/welcome_page"]', 16 | snapshotUrls: 'https://i.gkd.li/i/12776577', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.byyoung.setting.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.byyoung.setting', 5 | name: '爱玩机工具箱', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '忽略授权提示', 10 | activityIds: 'com.byyoung.setting.Welcome.PermissionActivity', 11 | rules: [ 12 | { 13 | matches: '[id="com.byyoung.setting:id/tv_name"][text*="忽略授权"]', 14 | snapshotUrls: 'https://i.gkd.li/i/12829909', 15 | }, 16 | ], 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.example.raylink_flutter.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.example.raylink_flutter', 5 | name: 'RayLink', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | activityIds: 'com.example.raylink_flutter.MainActivity', 14 | rules: '[desc="立即升级"] + [desc="以后再说"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13659530', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/bin.mt.plus.canary.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'bin.mt.plus.canary', 5 | name: 'MT管理器Pro', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'bin.mt.plus.Main', 15 | rules: 'LinearLayoutCompat @[text="取消"] + [text="更新"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13561226', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.alibaba.ailabs.tg.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.alibaba.ailabs.tg', 5 | name: '天猫精灵', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | activityIds: 'com.alibaba.ailabs.tg.activity.HomeActivity', 12 | rules: 13 | '[id="com.alibaba.ailabs.tg:id/ll_download"] + [id="com.alibaba.ailabs.tg:id/va_dialog_cancel"]', 14 | snapshotUrls: 'https://i.gkd.li/i/13296332', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.google.android.apps.youtube.music.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.google.android.apps.youtube.music', 5 | name: 'YouTube Music', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '播放界面广告', 10 | activityIds: 11 | 'com.google.android.apps.youtube.music.activities.MusicActivity', 12 | rules: '[id="com.google.android.apps.youtube.music:id/skip_ad_text"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13196056', 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.xueqiu.fund.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xueqiu.fund', 5 | name: '雪球基金', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-春节闲钱放哪里弹窗', 10 | desc: '有误触风险', 11 | fastQuery: true, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | activityIds: 'com.xueqiu.fund.commonlib.FundHomeActivityV2', 15 | rules: '[vid="image_cancel"]', 16 | snapshotUrls: 'https://i.gkd.li/i/14163901', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/cn.com.ruijie.magicbox.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.com.ruijie.magicbox', 5 | name: '无线魔盒', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: 'cn.com.ruijie.wifibox.activity.MainActivity', 11 | rules: [ 12 | '@ImageView[id="cn.com.ruijie.magicbox:id/imageView_close"] +(2) RelativeLayout > LinearLayout > [text*="新版本"]', 13 | ], 14 | snapshotUrls: 'https://i.gkd.li/i/12642359', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.baidu.newapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.newapp', 5 | name: '文心一言', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '升级提示', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | matches: '[text="立即更新"] + [text="暂不升级"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13360280', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.black.unique.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.black.unique', 5 | name: '全球购骑士特权', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | fastQuery: true, 11 | activityIds: 'com.black.unique.feature.home.HomeActivity', 12 | rules: [ 13 | { 14 | matches: '@ImageView[id="com.black.unique:id/iv_close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13499502', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.fenbi.android.leo.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.fenbi.android.leo', 5 | name: '小猿口算', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '评分弹窗', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | activityIds: 13 | 'com.fenbi.android.leo.imgsearch.sdk.activity.NewCheckCameraActivity', 14 | rules: '@[text="残忍拒绝"] + [text*="好评"][text.length<=10]', 15 | snapshotUrls: 'https://i.gkd.li/i/13226140', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.hihonor.vmall.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hihonor.vmall', 5 | name: '荣耀商城', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-应用内广告弹窗', 10 | activityIds: [ 11 | 'com.vmall.client.base.fragment.VmallWapActivity', 12 | 'com.vmall.client.splash.fragment.SplashActivity', 13 | ], 14 | rules: '[id="com.hihonor.vmall:id/gift_close_iv"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13060881', 16 | }, 17 | ], 18 | }); 19 | -------------------------------------------------------------------------------- /src/apps/com.jingcai.apps.qualitydev.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jingcai.apps.qualitydev', 5 | name: '到梦空间', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-学习活动', 10 | fastQuery: true, 11 | activityIds: 12 | 'com.jingcai.apps.qualitydev.qualitync.activity_home.ActivityMainTab', 13 | rules: '[text="立即参与"][vid="tv_next"] -2 [text="关闭"][vid="tv_step"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14054117', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.panaceasoft.pswallpaper.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.panaceasoft.pswallpaper', 5 | name: 'ClrvAI', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-公告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | rules: 15 | '[vid="tv_next"][text="下一条"] < FrameLayout[index=1]', 17 | snapshotUrls: 'https://i.gkd.li/i/13762226', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.keke.ysh1.tz08051h.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.keke.ysh1.tz08051h', 5 | name: '可可影视', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-公告弹窗', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | activityIds: 'com.salmon.film.main.ui.MainActivity', 15 | rules: '[text="可可影视"] +2 * > [text*="知道了"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13548412', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.modian.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.modian.app', 5 | name: '摩点', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '「我的」界面广告条', 10 | activityIds: 'com.modian.app.ui.activity.MainActivity', 11 | rules: [ 12 | { 13 | matches: 14 | '[id="com.modian.app:id/banner_view"] + [id="com.modian.app:id/iv_close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/13610188', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.realmecomm.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.realmecomm.app', 5 | name: 'realme社区', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-自动点击签到', 10 | desc: '自动点击签到', 11 | fastQuery: true, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | activityIds: 'com.android.realme2.home.view.MainActivity', 15 | rules: '[vid="tv_check_in"][text="签到"]', 16 | snapshotUrls: 'https://i.gkd.li/i/14321155', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.wzwh.bzpaipan.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wzwh.bzpaipan', 5 | name: '问真八字排盘', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '全屏广告', 10 | fastQuery: true, 11 | activityIds: 'com.qq.e.ads.PortraitADActivity', 12 | rules: 13 | '@ImageView[clickable=true] < LinearLayout[childCount=1] <2 FrameLayout[childCount=2] < [id="android:id/content"][childCount=1]', 14 | snapshotUrls: 'https://i.gkd.li/i/13162912', 15 | }, 16 | ], 17 | }); 18 | -------------------------------------------------------------------------------- /src/apps/com.xiangzi.dislikecn.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiangzi.dislikecn', 5 | name: 'Dislike', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | fastQuery: true, 14 | rules: 15 | '@View <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] < [vid="csj_ad_container"]', 16 | snapshotUrls: 'https://i.gkd.li/i/15196702', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.coloros.gallery3d.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.coloros.gallery3d', 5 | name: '相册', 6 | groups: [ 7 | { 8 | key: 6, 9 | name: '开启相册同步弹窗', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | activityIds: 'com.coloros.gallery3d.app.MainActivity', 15 | rules: '[text="开启相册自动同步,保障相册数据安全"] + [text="忽略"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13637185', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.daimajia.gold.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.daimajia.gold', 5 | name: '稀土掘金', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: 15 | '@[id="com.daimajia.gold:id/iv_close"] -n LinearLayout [id="com.daimajia.gold:id/tv_title"][text="发现新版本"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13498703', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.jsmcc.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jsmcc', 5 | name: '中国移动江苏', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | key: 0, 17 | matches: '[id="com.jsmcc:id/cancelVersionTV"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13327322', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.longshine.nanwang.electric.charge.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.longshine.nanwang.electric.charge', 5 | name: '顺易充', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页广告弹窗', 10 | activityIds: ['com.android.app.station.NewMainAct'], 11 | rules: 12 | '[id="com.longshine.nanwang.electric.charge:id/bodyFL"] + [id="com.longshine.nanwang.electric.charge:id/ivClose"]', 13 | snapshotUrls: ['https://i.gkd.li/i/12700011'], 14 | }, 15 | ], 16 | }); 17 | -------------------------------------------------------------------------------- /src/apps/com.miaoying.appmy.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miaoying.appmy', 5 | name: '天空影视', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内广告弹窗', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 'com.huawei.android.launcher.unihome.UniHomeLauncher', 14 | matches: 'ImageView - FrameLayout > FrameLayout > ImageView', 15 | snapshotUrls: 'https://i.gkd.li/i/12846524', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.pywm.fund.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.pywm.fund', 5 | name: '普益基金', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: 'TextView[text="立即更新"]', 17 | action: 'back', 18 | snapshotUrls: 'https://i.gkd.li/i/13327271', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.hpbr.directhires.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hpbr.directhires', 5 | name: '店长直聘', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '更新提示', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: '[id="com.hpbr.directhires:id/iv_close"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13774242', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.kkeji.news.client.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.kkeji.news.client', 5 | name: '快科技', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: '[id="com.kkeji.news.client:id/tv_counter"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13197536', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.pcs.knowing_weather.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.pcs.knowing_weather', 5 | name: '知天气-决策', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | 15 | rules: '[text="立即升级"] +2 [text="以后再说"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13378992', // activityIds: 'com.huawei.android.launcher.unihome.UniHomeLauncher', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.qingdaonews.bus.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qingdaonews.bus', 5 | name: '青岛公交查询', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '弹窗广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | matches: '[id="com.qingdaonews.bus:id/iv_native_dislike"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13467193', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.wepie.ivy.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wepie.ivy', 5 | name: '青藤之恋', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '评价提示-好评弹窗', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | rules: [ 14 | { 15 | key: 0, 16 | matches: '[text="我要吐槽"] + [text="五星好评"]', 17 | action: 'back', 18 | snapshotUrls: 'https://i.gkd.li/i/14602933', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.hihonor.health.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hihonor.health', 5 | name: '荣耀运动健康', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 'com.hihonor.health.main.MainActivity', 14 | fastQuery: true, 15 | matches: '[id="com.hihonor.health:id/iv_close_filled"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13759407', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.mxtech.videoplayer.ad.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mxtech.videoplayer.ad', 5 | name: 'MX 播放器', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '谷歌广告', 10 | activityIds: 'com.mxtech.videoplayer.ad.ActivityMediaList', 11 | rules: [ 12 | { 13 | matches: 14 | '[desc="Advertisement"] + View >(2) View + Button[clickable=true]', 15 | snapshotUrls: ['https://i.gkd.li/i/12642204'], 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.qcymall.earphonesetup.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qcymall.earphonesetup', 5 | name: 'QCY', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-我的-广告卡片', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'activity', 13 | activityIds: 'com.qcymall.earphonesetup.v2ui.activity.V2MainActivity', 14 | actionMaximum: 1, 15 | rules: '[vid="close_img_banner"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13874219', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.sankuai.movie.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sankuai.movie', 5 | name: '猫眼', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | fastQuery: true, 13 | rules: '[text^="更新"] +(3) LinearLayout > [text="取消"]', 14 | snapshotUrls: [ 15 | 'https://i.gkd.li/i/12649942', 16 | 'https://i.gkd.li/i/12649938', 17 | 'https://i.gkd.li/i/13799885', 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/pansong291.xposed.quickenergy.repair.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'pansong291.xposed.quickenergy.repair', 5 | name: '芝麻粒', 6 | groups: [ 7 | { 8 | name: '开屏弹窗跳过', 9 | key: 1, 10 | desc: '打开app点击知道了', 11 | rules: [ 12 | { 13 | activityIds: ['pansong291.xposed.quickenergy.ui.MainActivity'], 14 | matches: ['[id=\'android:id/button2\']'], 15 | snapshotUrls: ['https://i.gkd.li/i/13445477'], 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.bankcomm.Bankcomm.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.bankcomm.Bankcomm', 5 | name: '交通银行', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '全屏广告-首页弹窗广告', 10 | desc: '点击x', 11 | fastQuery: true, 12 | activityIds: 'com.bankcomm.module.biz.home.MainActivity', 13 | rules: '[vid="popup_ad_image"] < * > [vid="popup_close"]', 14 | snapshotUrls: [ 15 | 'https://i.gkd.li/i/12671987', 16 | 'https://i.gkd.li/i/15046998', 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.example.ourom.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.example.ourom', 5 | name: '多系统工具箱', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯广告', 14 | activityIds: [], 15 | matches: 16 | 'ImageView -2 FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]', 17 | snapshotUrls: 'https://i.gkd.li/i/13625406', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.ukids.client.phone.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ukids.client.phone', 5 | name: '小小优趣', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | activityIds: ['com.ukids.client.phone.parent.ParentClientHomeActivity'], 11 | rules: [ 12 | { 13 | fastQuery: true, 14 | matches: '[id="com.ukids.client.phone:id/dialog_dismiss_btn_two"]', 15 | snapshotUrls: ['https://i.gkd.li/i/13400238'], 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/dxwt.questionnaire.ui.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'dxwt.questionnaire.ui', 5 | name: '10000社区', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: '[desc^="关闭"][desc.length<=10][visibleToUser=true]', 14 | snapshotUrls: [ 15 | 'https://i.gkd.li/i/13255491', 16 | 'https://i.gkd.li/i/13259475', // 限制 visibleToUser=true 防止按钮未出现就触发规则 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.jisu.manhua.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jisu.manhua', 5 | name: '漫画人极速版', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | fastQuery: true, 11 | activityIds: 'com.ilike.cartoon.activities.HomeActivity', 12 | rules: [ 13 | { 14 | matches: 15 | '[id="com.jisu.manhua:id/iv_promotion"] + [id="com.jisu.manhua:id/iv_close"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13688186', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.jz.xydj.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jz.xydj', 5 | name: '星芽免费短剧', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-视频观看页下方广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯SDK', 14 | fastQuery: true, 15 | activityIds: 'com.jz.jzdj.ui.activity.shortvideo.ShortVideoActivity2', 16 | matches: '[vid="ad_close"]', 17 | snapshotUrls: 'https://i.gkd.li/i/14391606', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.le123.ysdq.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.le123.ysdq', 5 | name: '影视大全', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 14 | 'com.elinkway.infinitemovies.ui.activity.NewMainActivity', 15 | fastQuery: true, 16 | matches: '[id="com.le123.ysdq:id/ad_close_iv"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13635244', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.upupoo.apu.mobile.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.upupoo.apu.mobile', 5 | name: 'UPUPOO动态壁纸', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: 14 | 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 15 | snapshotUrls: [ 16 | 'https://i.gkd.li/i/13830230', 17 | 'https://i.gkd.li/i/14052232', 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.baidu.searchcraft.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.searchcraft', 5 | name: '简单搜索', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '信息流广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '快手广告', 14 | activityIds: 'com.baidu.browser.search.LightSearchActivity', 15 | matches: '[desc="ad-logo"] + [id="logo-close-btn"][clickable=true]', 16 | snapshotUrls: 'https://i.gkd.li/i/13520385', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.ddsy.songyao.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ddsy.songyao', 5 | name: '叮当快药', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '优惠卷提示', 10 | fastQuery: true, 11 | activityIds: 'com.ddsy.songyao.activity.SplashActivity', 12 | rules: [ 13 | { 14 | matches: 15 | '[id="com.ddsy.songyao:id/iv_coupon_bottom"] + [id="com.ddsy.songyao:id/iv_close"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13048720', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.jsguohua.youquanmall.tt.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jsguohua.youquanmall.tt', 5 | name: '图图影视', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内弹窗', 10 | activityIds: 'com.zero.flutter_qq_ads.page.AdSplashActivity', 11 | rules: [ 12 | { 13 | matches: 14 | '[text="去微信看看"] < FrameLayout ImageView', 15 | snapshotUrls: 'https://i.gkd.li/i/13163314', 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.lenovo.club.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.lenovo.club.app', 5 | name: '联想', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.lenovo.club.app.AdActivity', 15 | rules: 16 | '[id="com.lenovo.club.app:id/tv_title"][text="发现新版本"] < LinearLayout [text="下次再说"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13498778', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.movie.store.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.movie.store', 5 | name: '影视仓', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '快手广告', 14 | activityIds: 15 | 'com.github.tvbox.osc.ui.activity.mobile.MobileHomeActivity', 16 | matches: '[text="广告"] +2 View > View + TextView', 17 | snapshotUrls: 'https://i.gkd.li/i/13476107', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.sohu.sohuvideo.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sohu.sohuvideo', 5 | name: '搜狐视频', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.sohu.sohuvideo.ui.homepage.MainActivity', 15 | rules: 16 | '@[id="com.sohu.sohuvideo:id/ivClose"] + LinearLayout [text="新版本上线啦"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13435504', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.svm.hbyy.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.svm.hbyy', 5 | name: '比翼多开', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | activityIds: 'com.svm.core.pro.view.activity.MainActivityEx', 11 | rules: [ 12 | { 13 | matches: [ 14 | '[text="打开或下载第三方应用"]', 15 | 'FrameLayout[childCount=3] + FrameLayout > ImageView', 16 | ], 17 | snapshotUrls: 'https://i.gkd.li/i/13185377', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.coloros.phonemanager.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.coloros.phonemanager', 5 | name: 'OPPO手机管家', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '版本更新', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: [ 14 | { 15 | matches: 16 | '@[text="取消"] < [id="com.coloros.phonemanager:id/buttonPanel"] > [text="更新"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13194979', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.huawei.wallet.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.huawei.wallet', 5 | name: '华为钱包', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '服务提示', 10 | 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | fastQuery: true, 15 | rules: [ 16 | { 17 | matches: 18 | '[text="开启钱包扩展服务"] +2 [id="com.huawei.wallet:id/linear_close"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13441814', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.qingwatq.weather.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qingwatq.weather', 5 | name: '呱呱天气', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 'com.qingwatq.weather.home.HomeActivity', 14 | matches: 15 | '[id="com.qingwatq.weather:id/titleArea"] + [id="com.qingwatq.weather:id/closeImg"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13476350', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.shizhuang.duapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.shizhuang.duapp', 5 | name: '得物', 6 | groups: [ 7 | { 8 | key: 4, 9 | name: '截屏分享', 10 | desc: '关闭截屏时app弹出的分享弹窗', 11 | fastQuery: true, 12 | activityIds: 13 | 'com.shizhuang.duapp.modules.product_detail.detailv4.ui.ProductDetailActivityV4', 14 | rules: 15 | '[id="com.shizhuang.duapp:id/ivClose"] +2 [id="com.shizhuang.duapp:id/ivSave"]', 16 | snapshotUrls: 'https://i.gkd.li/i/13473449', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.tencent.qqsports.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.tencent.qqsports', 5 | name: '腾讯体育', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | action: 'clickCenter', 17 | matches: 'TextView[text*="跳过"][text.length<=10]', 18 | snapshotUrls: 'https://i.gkd.li/i/14032883', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.tencent.tmgp.kgame.ppcr.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.tencent.tmgp.kgame.ppcr', 5 | name: '全民泡泡超人', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 15000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: '[id="com.tencent.ysdkcore:id/com_tencent_ysdk_icon_h5_xx"]', 17 | snapshotUrls: ['https://i.gkd.li/i/13276317'], 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.xiaoxiongyhh.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaoxiongyhh', 5 | name: '小熊有好货', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 1, 13 | name: '天降福利', 14 | activityIds: 'com.uzmap.pkg.EntranceActivity', 15 | matches: 16 | 'View[childCount=2] > ImageView + Button[childCount=0][clickable=true]', 17 | snapshotUrls: 'https://i.gkd.li/i/13401975', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.badmintoncn.bbs.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.badmintoncn.bbs', 5 | name: '中羽在线', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '红包弹窗', 14 | activityIds: 'net.duohuo.magappx.main.IndexTabActivity', 15 | fastQuery: true, 16 | matches: '[id="com.badmintoncn.bbs:id/iv_close_ad"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13635224', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.hnnx.pmbank.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hnnx.pmbank', 5 | name: '河南农信', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.yitong.mbank.app.android.activity.SplashActivity', 15 | rules: 16 | '[text="是否下载最新版客户端?"] < FrameLayout > RelativeLayout > ImageView[clickable=true][index=1]', 16 | snapshotUrls: 'https://i.gkd.li/i/13646151', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.lanjinger.choiassociatedpress.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.lanjinger.choiassociatedpress', 5 | name: '财联社', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-弹窗广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | 14 | fastQuery: true, 15 | activityIds: 'com.lanjinger.choiassociatedpress.main.OperateActivity', 16 | rules: '@ImageView[id$="iv_back"][clickable=true]', 17 | snapshotUrls: 'https://i.gkd.li/i/13749206', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.wisedu.cpdaily.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wisedu.cpdaily', 5 | name: '今日校园', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '版本更新', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | activityIds: 'com.wisorg.wisedu.home.ui.HomeActivity', 15 | rules: 16 | '[id="com.wisedu.cpdaily:id/btn_update"] + [id="com.wisedu.cpdaily:id/tv_ignore"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13643565', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.youloft.calendar.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.youloft.calendar', 5 | name: '万年历', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '悬浮广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '万年历页面-右侧悬浮广告', 14 | activityIds: 'com.youloft.calendar.MainActivity', 15 | fastQuery: true, 16 | matches: '[id="com.youloft.calendar:id/ad_iv_close"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13348416', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.dewmobile.kuaiya.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dewmobile.kuaiya', 5 | name: '快牙', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯广告', 14 | activityIds: 'com.dewmobile.kuaiya.act.MainActivity', 15 | matches: 16 | 'ImageView - FrameLayout[childCount=1] > ImageView[childCount=0]', 17 | snapshotUrls: 'https://i.gkd.li/i/13477048', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.example.servyouappzhuhai.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.example.servyouappzhuhai', 5 | name: '广东税务', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '通知权限授权弹窗', 10 | 11 | fastQuery: true, 12 | matchTime: 10000, 13 | actionMaximum: 1, 14 | resetMatch: 'activity', 15 | rules: [ 16 | { 17 | matches: '[id="com.example.servyouappzhuhai:id/btn_dialog_negtive"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13440721', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.leiting.lt65207.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.leiting.lt65207', 5 | name: '山东人在山西', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-软件推荐', 10 | desc: '点击右上角X', 11 | activityIds: 'com.leiting.lt65207.ui.MainActivity', 12 | rules: 13 | '[vid="tab_main_bg"] > FrameLayout[childCount=6] > ImageView[index=1]', 14 | exampleUrls: 15 | 'https://m.gkd.li/57941037/1fb3d32f-961d-4026-9f02-10da392fca92', 16 | snapshotUrls: 'https://i.gkd.li/i/14107951', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.wibo.bigbang.ocr.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wibo.bigbang.ocr', 5 | name: '布丁扫描', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | matchTime: 20000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | matches: 17 | '[id="com.wibo.bigbang.ocr:id/vivo_upgrade_negative_btn"][text="忽略本次"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13360281', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.cf.dubaji.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cf.dubaji', 5 | name: '毒霸姬', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: 'com.cf.dubaji.module.main.MainActivity', 11 | fastQuery: true, 12 | rules: [ 13 | { 14 | key: 0, 15 | matches: 16 | '[id="com.cf.dubaji:id/dlg_action_positive"][text="立即更新"]', 17 | action: 'back', 18 | snapshotUrls: 'https://i.gkd.li/i/13198107', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.dataoke.union.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dataoke.union', 5 | name: '大淘客联盟', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '开启消息通知', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.dtk.plat_home_lib.index.activity.IndexActivity', 15 | rules: 16 | '@[text="取消"] <1] > FrameLayout[childCount=1] > ImageView[width<90][height<90]', 18 | snapshotUrls: 'https://i.gkd.li/i/13723963', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.steampy.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.steampy.app', 5 | name: 'SteamPY', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.steampy.app.activity.common.MainActivity', 15 | rules: 16 | '@[id="com.steampy.app:id/imgClose"] - RelativeLayout [id="com.steampy.app:id/tv_update"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13695519', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.cctv.cctv5ultimate.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cctv.cctv5ultimate', 5 | name: '央视体育', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | fastQuery: true, 11 | activityIds: 'com.cctv.cctv5ultimate.activity.MainActivity', 12 | rules: [ 13 | { 14 | matches: [ 15 | '[text="广告"]', 16 | '[id="com.cctv.cctv5ultimate:id/iv_close"]', 17 | ], 18 | snapshotUrls: 'https://i.gkd.li/i/13405159', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.icbc.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.icbc', 5 | name: '中国工商银行', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '第一次启动提示', 10 | activityIds: 'com.icbc.activity.init.SplashActivity', 11 | rules: '[id="com.icbc:id/close_btn"]', 12 | }, 13 | { 14 | key: 1, 15 | name: '弹窗广告', 16 | 17 | activityIds: 'com.icbc.activity.main.MainActivity', 18 | rules: '[id="com.icbc:id/tv_time"][text*="跳过"][text.length<=6]', 19 | snapshotUrls: 'https://i.gkd.li/i/13330431', 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.jim.qrcode.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jim.qrcode', 5 | name: '随便扫', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '顶部广告卡片', 10 | desc: '点击卡片右上角关闭按钮', 11 | activityIds: [ 12 | 'com.jim.qrcode.MainActivity', 13 | 'com.miui.home.launcher.Launcher', 14 | ], 15 | rules: 'TextView[text.length>0] < FrameLayout + FrameLayout > ImageView', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/12606861', 18 | 'https://i.gkd.li/i/12606862', 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.uroad.carclub.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.uroad.carclub', 5 | name: 'ETC车宝', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 'com.uroad.carclub.main.activity.MainActivity', 14 | matches: 15 | '[id="com.uroad.carclub:id/ad_container_fl"] >n View[childCount=4] > TextView[index=2][clickable=true]', 16 | snapshotUrls: 'https://i.gkd.li/i/13800067', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.guodongbaohe.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.guodongbaohe.app', 5 | name: '果冻宝盒', 6 | groups: [ 7 | // key0-5作为开屏、更新、消息提醒等通用规则 8 | { 9 | key: 6, 10 | name: '广告弹窗', 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | fastQuery: true, 15 | activityIds: 'com.guodongbaohe.app.activity.AdvertisementTwoActivity', 16 | rules: 'LinearLayout[id="com.guodongbaohe.app:id/close_dialog_lv"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13577877', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.tencent.djcity.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.tencent.djcity', 5 | name: '掌上道聚城', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | key: 0, 17 | action: 'clickCenter', 18 | matches: '@LinearLayout[clickable=true] > [text="跳过"]', 19 | snapshotUrls: 'https://i.gkd.li/i/15137209', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.wls.weex.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wls.weex', 5 | name: '我联智慧用电', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: 15 | 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 16 | exampleUrls: 17 | 'https://m.gkd.li/57941037/74525817-4bc5-4a06-9bda-d5de97e2e91b', 18 | snapshotUrls: 'https://i.gkd.li/i/14122524', 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.wondertek.paper.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wondertek.paper', 5 | name: '澎湃新闻', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '应用内弹窗', 10 | activityIds: ['cn.thepaper.paper.ui.main.MainActivity'], 11 | rules: [ 12 | { 13 | matches: 14 | '[id="com.wondertek.paper:id/second_num"] <2 [id="com.wondertek.paper:id/relative_layout"] + [id="com.wondertek.paper:id/close_photo"]', 15 | snapshotUrls: ['https://i.gkd.li/i/12899226'], 16 | }, 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.x2era.xcloud.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | export default defineGkdApp({ 3 | id: 'com.x2era.xcloud.app', 4 | name: 'Fa米家', 5 | groups: [ 6 | { 7 | key: 1, 8 | name: 'Fa米家-升级提示', 9 | fastQuery: true, 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | desc: '关闭升级弹窗', 13 | rules: [ 14 | { 15 | activityIds: 'com.x2era.xcloud.app.MainActivity', 16 | matches: '[id$="com.x2era.xcloud.app:id/iv_cancel"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13420706', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/tw.com.gamer.android.animad.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'tw.com.gamer.android.animad', 5 | name: '動畫瘋', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '动画疯年龄限制', 10 | desc: '点击同意', 11 | activityIds: 'tw.com.gamer.android.animad.VideoActivity', 12 | fastQuery: true, 13 | rules: [ 14 | { 15 | matches: 16 | '[id="tw.com.gamer.android.animad:id/agree_button"][text="同意"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13808757', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.example.maintenancemaster.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.example.maintenancemaster', 5 | name: '维护大师', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | actionMaximum: 1, 11 | matchTime: 10000, 12 | fastQuery: true, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: 17 | '[id="com.example.maintenancemaster:id/advertisement_countdown_ccd"]', 18 | snapshotUrls: ['https://i.gkd.li/i/12903877'], 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.hihonor.cloudmusic.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hihonor.cloudmusic', 5 | name: '荣耀音乐', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-首页-网易云音乐弹窗广告', 10 | resetMatch: 'app', 11 | actionMaximum: 1, 12 | activityIds: 'com.netease.cloudmusic.activity.MainActivity', 13 | rules: '[vid="dsl_dialog_root"] >4 ImageView[index=1]', 14 | exampleUrls: 15 | 'https://m.gkd.li/101449500/7471ea5e-df20-4340-971f-1acfccbe6fab', 16 | snapshotUrls: 'https://i.gkd.li/i/14167946', 17 | }, 18 | ], 19 | }); 20 | -------------------------------------------------------------------------------- /src/apps/com.huawei.hwid.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.huawei.hwid', 5 | name: 'HMS Core', 6 | groups: [ 7 | { 8 | // 我不知道这个广告从哪里来的,它出乎意料地跳出并覆盖在Gspace上面 9 | key: 0, 10 | name: '页面中间跳出广告', 11 | activityIds: [ 12 | 'com.huawei.openalliance.ad.ppskit.activity.InnerPPSInterstitialAdActivity', 13 | ], 14 | rules: [ 15 | { 16 | matches: '[id="com.huawei.hwid:id/interstitial_close"]', 17 | snapshotUrls: ['https://i.gkd.li/i/12709068'], 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.sjmly.sjmtask.xsh.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sjmly.sjmtask.xsh', 5 | name: '小柿子', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯广告', 14 | activityIds: 'com.sjmly.sjmtask.xsh.MainActivity', 15 | matches: 16 | 'ImageView - FrameLayout > FrameLayout[childCount=1][index=2] > ImageView[childCount=0]', 17 | snapshotUrls: 'https://i.gkd.li/i/13761173', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.thestore.main.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.thestore.main', 5 | name: '1号会员店', 6 | groups: [ 7 | { 8 | key: 1, 9 | 10 | name: '促销广告', 11 | desc: '关闭促销弹窗,也许有用呢', 12 | activityIds: 'com.thestore.main.app.home.HomeActivity', 13 | rules: [ 14 | { 15 | matches: '[id="com.thestore.main.home.feature:id/ad"] > TextView', 16 | //TextView有id类似".../j"担心这个id是随机的,所以用了TextView而不是id 17 | snapshotUrls: 'https://i.gkd.li/i/13163686', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.vivo.wallet.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.vivo.wallet', 5 | name: '钱包', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知权限授权弹窗', 10 | activityIds: 'com.vivo.wallet.bookkeep.activity.BookKeepMainActivity', 11 | 12 | fastQuery: true, 13 | matchTime: 10000, 14 | actionMaximum: 1, 15 | resetMatch: 'activity', 16 | rules: [ 17 | { 18 | matches: '@Button[text*="取消"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13440881', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/io.microshow.fm.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'io.microshow.fm', 5 | name: '畅听FM', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-弹窗广告', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | activityIds: 'io.microshow.fm.ui.activity.MainActivity', 14 | matches: 15 | '[id="android:id/content"] > RelativeLayout > FrameLayout[childCount=2] > Button[clickable=true][visibleToUser=true]', 16 | snapshotUrls: 'https://i.gkd.li/i/14953007', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/bubei.tingshu.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'bubei.tingshu', 5 | name: '懒人听书', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '悬浮广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '播放列表-右侧悬浮广告', 14 | fastQuery: true, 15 | activityIds: 16 | 'bubei.tingshu.listen.book.detail.activity.DetailActivity', 17 | matches: '[id="bubei.tingshu:id/closeIcon"][desc="关闭"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13348489', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.dz.xmbnxj.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dz.xmbnxj', 5 | name: '小卖部逆袭记', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '底部卡片广告', 10 | rules: [ 11 | { 12 | activityIds: 'com.lynx.boot.LynxActivity', 13 | fastQuery: true, 14 | matches: '[id="com.dz.xmbnxj:id/mix_img_close"]', 15 | exampleUrls: 16 | 'https://m.gkd.li/99116490/40d3c3c9-9443-4c71-9a98-69efa38f8bfd', 17 | snapshotUrls: 'https://i.gkd.li/i/13399232', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.ideal.flyerteacafes.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ideal.flyerteacafes', 5 | name: '飞客', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.ideal.flyerteacafes.ui.HomeActivity', 15 | rules: 16 | '@[id="com.ideal.flyerteacafes:id/close"] - FrameLayout > [id="com.ideal.flyerteacafes:id/tv_time_down"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13466119', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.lxt.cfmoto.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.lxt.cfmoto', 5 | name: 'CFMOTO', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 1, 13 | name: '首页弹窗广告', 14 | activityIds: 'com.cfmoto.oilmoto.ui.MainCfActivity', 15 | matches: 16 | 'RelativeLayout[childCount=2] > [id="com.lxt.cfmoto:id/image"] + [id="com.lxt.cfmoto:id/closeClick"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13401967', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.sec.android.app.camera.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sec.android.app.camera', 5 | name: '相机', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-提高位置精确度弹窗', 10 | desc: '自动点击【确定】', 11 | fastQuery: true, 12 | rules: [ 13 | { 14 | matches: ['[text="是否启用【提高位置精确度】?"]', '[text="确定"]'], 15 | exampleUrls: 16 | 'https://m.gkd.li/101449500/7ecf6c53-7180-4631-81e3-759bc6f8ff9f', 17 | snapshotUrls: 'https://i.gkd.li/i/14603535', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/cn.emagsoftware.gamehall.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.emagsoftware.gamehall', 5 | name: '咪咕快游', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.migugame.home_module.ui.activity.HomeActivity', 15 | rules: 16 | '[id="cn.emagsoftware.gamehall:id/btn_update"] -2 [id="cn.emagsoftware.gamehall:id/btn_cancle"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13448894', 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/cn.ms.pages.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.ms.pages', 5 | name: '飞鸟听书', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '字节广告', 14 | activityIds: 15 | 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', 16 | matches: 17 | '@Image[text=""] < View +n View > View > TextView[text="广告"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13450787', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.qjy.youqulife.io.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qjy.youqulife.io', 5 | name: 'MINO 4K', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 1, 13 | name: '快手广告', 14 | activityIds: 'com.qjy.youqulife.io.MainActivity', 15 | fastQuery: true, 16 | matches: 17 | '[text="广告"] <2 ViewGroup -n ViewGroup > ViewGroup > [text="跳过"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13378653', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.zmsoft.forwatch.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.zmsoft.forwatch', 5 | name: '子腾园', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '字节广告', 14 | activityIds: 'com.zmapp.fwatch.activity.NativeAdActivity', 15 | fastQuery: true, 16 | matches: 17 | '@[id="com.zmsoft.forwatch:id/ad_close"] - * >n [text="广告"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13545995', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.canghai.haoka.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.canghai.haoka', 5 | name: '172号卡', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知提示-[公安部提示]弹窗', 10 | desc: '点击[我已知晓,并承诺本人使用]', 11 | rules: [ 12 | { 13 | activityIds: 'io.dcloud.PandoraEntryActivity', 14 | matches: '[text="我已知晓,并承诺本人使用"]', 15 | exampleUrls: 16 | 'https://m.gkd.li/57941037/a2d6a74c-829c-4436-af5b-0893b6269886', 17 | snapshotUrls: 'https://i.gkd.li/i/15144791', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.miui.securityadd.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.miui.securityadd', 5 | name: '系统服务组件', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-游戏加速广告弹窗', 10 | desc: '点击X', 11 | rules: [ 12 | { 13 | activityIds: 'com.miui.gamebooster.GameBoosterRichWebActivity', 14 | matches: '[text="活动图片"] +2 Image[clickable=true]', 15 | snapshotUrls: [ 16 | 'https://i.gkd.li/i/13914659', 17 | 'https://i.gkd.li/i/14668629', 18 | ], 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.netease.snailread.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.netease.snailread', 5 | name: '网易蜗牛读书', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: [ 14 | { 15 | key: 0, 16 | name: '穿山甲SDK', 17 | matches: 18 | 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 19 | snapshotUrls: 'https://i.gkd.li/i/14095278', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.showstartfans.activity.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.showstartfans.activity', 5 | name: '秀动', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 14 | 'com.showstartfans.activity.activitys.maintab.newmain.MainNewActivity', 15 | fastQuery: true, 16 | matches: '[id="com.showstartfans.activity:id/img_close_coupon"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13670432', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.chinatower.tthd.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.chinatower.tthd', 5 | name: '铁塔换电', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | activityIds: 'com.chinatower.fghd.customer.home.HomeNewActivity', 14 | fastQuery: true, 15 | matches: 16 | '[id="com.chinatower.tthd:id/fl_content_container"] + [id="com.chinatower.tthd:id/iv_close"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13694901', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.jianshu.haruki.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jianshu.haruki', 5 | name: '简书', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: 'VIP弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | activityIds: 'com.baiji.jianshu.ui.splash.SplashScreenActivity', 17 | matches: '[id="com.jianshu.haruki:id/dialog_lucky_prize_close"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13327286', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.sdhs.easy.high.road.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sdhs.easy.high.road', 5 | name: 'e高速', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '腾讯广告', 14 | activityIds: 'com.sdhs.easy.main.activity.MainActivity', 15 | matches: [ 16 | '[desc^="logoad"]', 17 | '[desc^="dislike"] > View[clickable=true]', 18 | ], 19 | snapshotUrls: 'https://i.gkd.li/i/13670340', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.yikaobang.yixue.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.yikaobang.yixue', 5 | name: '医考帮', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内会员活动弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.psychiatrygarden.activity.HomePageNewActivity', 15 | rules: [ 16 | { 17 | matches: '@ImageView[id="com.yikaobang.yixue:id/close"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13425853', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.youdao.note.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.youdao.note', 5 | name: '有道云笔记', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '卡片式广告', 10 | rules: [ 11 | { 12 | key: 1, 13 | name: '首页上方卡片广告', 14 | activityIds: 'com.youdao.note.activity2.MainActivity', 15 | fastQuery: true, 16 | matches: 17 | '[id="com.youdao.note:id/recycle_view"] + [id="com.youdao.note:id/close_ad"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13379524', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/org.zwanoo.android.speedtest.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'org.zwanoo.android.speedtest', 5 | name: 'SpeedTest', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '测速后广告', 10 | rules: [ 11 | { 12 | key: 1, 13 | activityIds: 'com.ookla.mobile4.screens.main.MainViewActivity', 14 | fastQuery: true, 15 | matches: 16 | '[id="org.zwanoo.android.speedtest:id/suite_completed_close_ad_button"]', 17 | snapshotUrls: 'https://i.gkd.li/i/12893175', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.fenbi.android.solar.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.fenbi.android.solar', 5 | name: '小猿搜题', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '升级提示', 10 | 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | matches: [ 17 | '[id="com.fenbi.android.solar:id/text_upgrade"]', 18 | '[id="com.fenbi.android.solar:id/img_close"]', 19 | ], 20 | snapshotUrls: 'https://i.gkd.li/i/13246056', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.sjm.zhuanzhuan.mcy.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.sjm.zhuanzhuan.mcy', 5 | name: '喵次元', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | rules: [ 13 | { 14 | key: 1, 15 | name: '更新提示', 16 | matches: 17 | '[id="com.sjm.zhuanzhuan.mcy:id/tv_new_version"] < LinearLayoutCompat +n [text="立即升级"]', 18 | action: 'back', 19 | snapshotUrls: 'https://i.gkd.li/i/13392514', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.wwwscn.yuexingbao.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wwwscn.yuexingbao', 5 | name: '悦通行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-扫码成功点击【确认并解锁】', 10 | rules: [ 11 | { 12 | fastQuery: true, 13 | activityIds: 'com.wwwscn.yuexingbao.ui.qrcode.ScanResultActivity', 14 | matches: '[text="扫码成功"] + [vid="btn_open_net"]', 15 | exampleUrls: 'https://e.gkd.li/01d5e4a9-7f70-4d43-ba51-a99c4a1c3d1e', 16 | snapshotUrls: 'https://i.gkd.li/i/18048927', 17 | }, 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/fm.qingting.qtradio.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'fm.qingting.qtradio', 5 | name: '蜻蜓FM', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '播放界面的广告', 10 | activityIds: ['fm.qingting.qtradio.QTRadioActivity'], 11 | rules: [ 12 | '[id="fm.qingting.qtradio:id/view_ad_close"]', 13 | '@[id="fm.qingting.qtradio:id/iv_close"] + RelativeLayout > LinearLayout > TextView[text="广告"]', 14 | ], 15 | snapshotUrls: [ 16 | 'https://i.gkd.li/i/12640438', 17 | 'https://i.gkd.li/i/12640981', 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/cn.ccspeed.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.ccspeed', 5 | name: 'CC加速器', 6 | groups: [ 7 | { 8 | key: 1, 9 | 10 | name: '加速页-分享抽奖浮窗', 11 | activityIds: 'cn.ccspeed.app.MainActivity', 12 | fastQuery: true, 13 | matchTime: 10000, 14 | resetMatch: 'activity', 15 | actionMaximum: 1, 16 | rules: [ 17 | { 18 | matches: 19 | 'FrameLayout[id="cn.ccspeed:id/float_layout"] > ImageView - ImageView', 20 | snapshotUrls: 'https://i.gkd.li/i/13539299', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/cn.chuci.and.wkfenshen.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.chuci.and.wkfenshen', 5 | name: '猴子分身', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '购买会员弹窗', 10 | activityIds: 'cn.chuci.and.wkfenshen.ActMain', 11 | rules: [ 12 | { 13 | fastQuery: true, 14 | matches: [ 15 | '[id="cn.chuci.and.wkfenshen:id/dialog_local_buy_btn"]', 16 | '[id="cn.chuci.and.wkfenshen:id/action_close"]', 17 | ], 18 | snapshotUrls: 'https://i.gkd.li/i/13226988', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.app.lantt.xs.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.app.lantt.xs', 5 | name: '蓝豚豚', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | resetMatch: 'app', 13 | actionMaximum: 1, 14 | rules: [ 15 | { 16 | key: 0, 17 | matches: 18 | 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <3 FrameLayout[childCount>=2] > FrameLayout[childCount=1] > ImageView', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/14093335', 18 | 'https://i.gkd.li/i/14318885', 19 | ], 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.onethingcloud.android.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.onethingcloud.android', 5 | name: '网心云', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-广告弹窗', 10 | activityIds: 'com.onethingcloud.android.MainActivity', 11 | rules: 12 | '[id="android:id/content"] >(3,4) View[childCount=2] >2 View[childCount=3] > ImageView[index=2][clickable=true]', 13 | snapshotUrls: [ 14 | 'https://i.gkd.li/i/12841171', 15 | 'https://i.gkd.li/i/14035418', // 误触快照 16 | 'https://i.gkd.li/i/14766665', 17 | ], 18 | }, 19 | ], 20 | }); 21 | -------------------------------------------------------------------------------- /src/apps/com.csg.palmhall.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.csg.palmhall', 5 | name: '南网在线', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: ['com.csg.palmhall.MainActivity'], 11 | rules: '@[text="关闭"] + [text="升级"]', 12 | snapshotUrls: ['https://i.gkd.li/i/12700060'], 13 | }, 14 | { 15 | key: 2, 16 | name: '首页广告弹窗', 17 | activityIds: ['com.csg.palmhall.MainActivity'], 18 | rules: 'View > Image +(3) [text="不再显示"][clickable=true]', 19 | snapshotUrls: ['https://i.gkd.li/i/12700075'], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.duokan.phone.remotecontroller.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.duokan.phone.remotecontroller', 5 | name: '万能遥控', 6 | groups: [ 7 | { 8 | key: 4, 9 | name: '权限提示-定位权限', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | activityIds: 15 | 'com.xiaomi.mitv.phone.remotecontroller.HoriWidgetMainActivityV2', 16 | rules: 17 | '[id="com.duokan.phone.remotecontroller:id/ll_permission"] [text="取消"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13642080', 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.superrhino.rarering.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.superrhino.rarering', 5 | name: 'Nico', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | desc: '点击跳过', 15 | rules: [ 16 | { 17 | matches: 18 | '@View[clickable=true] <3 * <2 * < FrameLayout[id="com.superrhino.rarering:id/fl_container"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13853858', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.taobao.movie.android.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.taobao.movie.android', 5 | name: '淘票票', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: '[text*="跳过"][text.length<10][visibleToUser=true]', 17 | exampleUrls: 'https://e.gkd.li/b0b7bd5e-89fc-4079-b17f-1b1cf4938658', 18 | snapshotUrls: 'https://i.gkd.li/i/16498740', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.android.updater.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.android.updater', 5 | name: '系统更新', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: 'MIUI更新弹窗', 10 | activityIds: [ 11 | 'com.android.updater.MainActivity', 12 | 'com.android.settings.SubSettings', 13 | ], 14 | rules: 15 | '[id="com.android.updater:id/alertTitle"][text="开启智能更新"] < * +2 * > Button[id="android:id/button2"][text="暂不开启"]', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/12715712', 18 | 'https://i.gkd.li/i/12749906', 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.fcbox.hivebox.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.fcbox.hivebox', 5 | name: '丰巢管家', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '首页弹窗广告', 14 | activityIds: 'com.fcbox.hivebox.business.main.MainActivity', 15 | fastQuery: true, 16 | matches: 17 | '[id="com.fcbox.hivebox:id/fl_content_container"] + [id="com.fcbox.hivebox:id/iv_close"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13459000', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.ai.obc.cbn.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ai.obc.cbn.app', 5 | name: '中国广电', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '版本弹窗', 10 | activityIds: [ 11 | 'com.ai.obc.cbn.app.ui.other.activity.MainActivity', 12 | 'com.ai.obc.cbn.app.ui.main.fragment.MainFragment', 13 | ], 14 | rules: [ 15 | { 16 | matches: '[id$="/ivDis"]', 17 | snapshotUrls: [ 18 | 'https://i.gkd.li/i/12617201', 19 | 'https://i.gkd.li/i/12655061', 20 | ], 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.didapinche.booking.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.didapinche.booking', 5 | name: '嘀嗒出行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: [ 14 | { 15 | fastQuery: true, 16 | matches: '@View[clickable=true] n [text="广告"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13476265', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/cn.ylkj.xingying.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.ylkj.xingying', 5 | name: '星影视频', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-广告弹窗', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | activityIds: 'cn.ylkj.xingying.MainActivity', 14 | matches: 15 | '[id="android:id/content"] >4 FrameLayout[childCount=1] > ImageView', 16 | exampleUrls: 17 | 'https://m.gkd.li/57941037/66b19fbd-b82d-4f10-b82d-0fc74c146b1c', 18 | snapshotUrls: 'https://i.gkd.li/i/14783306', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.ctm.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.ctm', 5 | name: 'CTM Buddy', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '浮窗广告', 10 | fastQuery: true, 11 | activityIds: 'com.ctm.home.page.MainActivity', 12 | rules: '[id="com.ctm:id/iv_close"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13350575', 14 | }, 15 | { 16 | key: 2, 17 | name: '底部横幅广告', 18 | fastQuery: true, 19 | activityIds: 'com.ctm.home.page.MainActivity', 20 | rules: '[id="com.ctm:id/btn_close"]', 21 | snapshotUrls: 'https://i.gkd.li/i/13350612', 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/zhongxinjiantou.szkingdom.android.newphone.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'zhongxinjiantou.szkingdom.android.newphone', 5 | name: '蜻蜓点金', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '通知权限', 10 | desc: '点击放弃通知', 11 | fastQuery: true, 12 | activityIds: 'com.szkingdom.android.phone.ZXJTUserMainActivity', 13 | rules: [ 14 | { 15 | matches: 16 | '[id="zhongxinjiantou.szkingdom.android.newphone:id/tv_notify_confirm_off"][text="放弃通知"]', 17 | snapshotUrls: 'https://i.gkd.li/i/12924466', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/cn.timesneighborhood.app.c.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.timesneighborhood.app.c', 5 | name: '邻里邦', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-自动点击签到', 10 | actionMaximum: 1, 11 | resetMatch: 'app', 12 | activityIds: 'com.zkty.modules.engine.activity.XEngineWebActivity', 13 | rules: [ 14 | { 15 | matches: '[text="立即签到"]', 16 | exampleUrls: 17 | 'https://m.gkd.li/101449500/58bc6789-3015-450f-9f3d-d98a02edc7f6', 18 | snapshotUrls: 'https://i.gkd.li/i/14545000', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.baidutieba.davy.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidutieba.davy', 5 | name: '贴吧一键签到大师', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '内部弹窗广告', 10 | activityIds: 'com.davy.commonlibrary.utils.DialogUtil', 11 | rules: [ 12 | { 13 | matches: '[id="com.baidutieba.davy:id/exit"]', 14 | snapshotUrls: 'https://i.gkd.li/i/12504289', 15 | }, 16 | { 17 | matches: '[id="com.baidutieba.davy:id/mimo_interstitial_close_img"]', 18 | snapshotUrls: 'https://i.gkd.li/i/12504291', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.yingyonghui.market.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.yingyonghui.market', 5 | name: '应用汇', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | rules: [ 11 | { 12 | key: 0, 13 | name: '快手广告', 14 | activityIds: 'com.yingyonghui.market.ui.MainActivity', 15 | matches: [ 16 | 'ViewGroup[childCount=2] > ImageView + [text="广告"]', 17 | 'ViewGroup[childCount=3] > TextView + TextView + ImageView', 18 | ], 19 | snapshotUrls: 'https://i.gkd.li/i/13538316', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.zhl.bmi.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.zhl.bmi', 5 | name: '乐看视频', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '广告弹窗', 10 | desc: '点击右上角x', 11 | activityIds: 'com.zhl.bmi.MainActivity', 12 | fastQuery: true, 13 | rules: [ 14 | '@ImageView < FrameLayout[childCount=1] <(2,3) FrameLayout <(1,2) FrameLayout < FrameLayout < [id="android:id/content"]', 15 | ], 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/13255787', 18 | 'https://i.gkd.li/i/13255786', 19 | 'https://i.gkd.li/i/13542343', //第二条规则 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.bluemobile.flutterbabylife.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.bluemobile.flutterbabylife', 5 | name: '宝宝生活记录', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内广告弹窗', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | rules: [ 13 | { 14 | key: 0, 15 | name: '字节SDK', 16 | activityIds: 17 | 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', 18 | matches: 'View[childCount=7] > View[index=1]', 19 | snapshotUrls: 'https://i.gkd.li/i/13632639', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.fiveplay.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.fiveplay', 5 | name: '5EPlay', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '权限提示-请求打开消息推送弹窗', 10 | desc: '点击关闭', 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | fastQuery: true, 17 | matches: '@[vid="iv_close"] - * > [text="打开消息推送"]', 18 | exampleUrls: 19 | 'https://m.gkd.li/57941037/020e18ab-1bf1-4639-b32a-777719881dcb', 20 | snapshotUrls: 'https://i.gkd.li/i/14680645', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.xiaomi.youpin.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaomi.youpin', 5 | name: '小米有品', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-弹窗广告', 10 | rules: [ 11 | { 12 | activityIds: 13 | 'com.xiaomi.youpin.globalpopwindow.popwindow.PopWindowActivity', 14 | matches: 15 | 'WebView[text="有品"] > View > View[childCount=2] > Image[index=1][visibleToUser=true]', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/14964897', 18 | 'https://i.gkd.li/i/12836727', 19 | ], 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.zzw.october.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.zzw.october', 5 | name: '志愿汇', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '主页广告', 10 | activityIds: ['com.zzw.october.MainActivity'], 11 | rules: [ 12 | { 13 | key: 1, 14 | fastQuery: true, 15 | matches: 16 | '[id="com.zzw.october:id/interact_ad_root"] >n ImageView[id="com.zzw.october:id/iv_close"]', 17 | snapshotUrls: [ 18 | 'https://i.gkd.li/i/12842675', 19 | 'https://i.gkd.li/i/12869369', 20 | ], 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/cmccwm.mobilemusic.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cmccwm.mobilemusic', 5 | name: '咪咕音乐', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '版本更新', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'cmccwm.mobilemusic.ui.base.MainActivity', 15 | rules: [ 16 | { 17 | action: 'back', 18 | matches: 19 | '[id="cmccwm.mobilemusic.libraries_feature:id/tv_title"][text="发现新版本"]', 20 | snapshotUrls: 'https://i.gkd.li/i/13448898', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.dep.biguo.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.dep.biguo', 5 | name: '自考笔果题库', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '全屏广告-广告弹窗', 10 | activityIds: 'com.dep.biguo.dialog', 11 | rules: 12 | '[id="com.dep.biguo:id/imageView"] + [id="com.dep.biguo:id/closeView"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12708756', 14 | }, 15 | { 16 | key: 10, 17 | name: '权限提示-定位权限', 18 | activityIds: 'com.dep.biguo.mvp.ui.activity.MainActivity', 19 | rules: '[text*="定位权限"] +2 [text="拒绝"]', 20 | snapshotUrls: 'https://i.gkd.li/i/12708770', 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.google.android.apps.photos.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.google.android.apps.photos', 5 | name: '谷歌相册', 6 | groups: [ 7 | { 8 | key: 1, 9 | fastQuery: true, 10 | name: '全屏广告-优惠提示', 11 | desc: '点击X', 12 | rules: [ 13 | { 14 | activityIds: 15 | 'com.google.android.apps.photos.cloudstorage.paidfeatures.PaidFeaturesActivity', 16 | matches: 17 | '@[desc="转到上一层级"] < ViewGroup[id="com.google.android.apps.photos:id/toolbar"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13774247', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.jd.jdlite.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.jd.jdlite', 5 | name: '京喜特价', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页广告弹窗', 10 | activityIds: 'com.jd.jdlite.MainFrameActivity', 11 | rules: '@[desc="关闭页面"] - FrameLayout >n [text="极速版弹窗"]', 12 | snapshotUrls: 'https://i.gkd.li/i/12727396', 13 | }, 14 | { 15 | key: 10, 16 | name: '请求通知权限弹窗', 17 | activityIds: 'com.jd.jdlite.MainFrameActivity', 18 | rules: 19 | '@ImageView[clickable=true] - LinearLayout > [text="开启消息通知"]', 20 | snapshotUrls: 'https://i.gkd.li/i/13062969', 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.wifitutu.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.wifitutu', 5 | name: 'WiFi万能钥匙', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-WiFi列表广告', 10 | activityIds: ['com.wifitutu.ui.main.MainActivity'], 11 | rules: [ 12 | { 13 | matches: 'View < [desc^="dislike"][visibleToUser=true]', 14 | snapshotUrls: 'https://i.gkd.li/i/13233916', 15 | }, 16 | { 17 | matches: 18 | '@Image[text=""] < View +n View > View > TextView[text="广告"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13234048', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.xiaomi.shop.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.xiaomi.shop', 5 | name: '小米商城', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-弹窗广告', 10 | desc: '点击关闭', 11 | activityIds: [ 12 | 'com.xiaomi.shop2.activity.MainActivity', 13 | 'com.xiaomi.shop.plugin.homepage.utils.AdDialog', 14 | ], 15 | rules: 16 | '[id="android:id/content"] > RelativeLayout > LinearLayout[childCount=2] > ImageView[index=1][clickable=true]', 17 | snapshotUrls: [ 18 | 'https://i.gkd.li/i/12649330', 19 | 'https://i.gkd.li/i/14393039', 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.buyanchuantong.buyanshufa.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.buyanchuantong.buyanshufa', 5 | name: '不厌书法', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '功能介绍', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'activity', 14 | activityIds: 'com.buyanchuantong.buyanshufa.SplashActivity', 15 | rules: [ 16 | { 17 | matches: 18 | '[id="com.buyanchuantong.buyanshufa:id/next_page_imageview"][text^="点击跳过"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13425296', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.smk.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.smk', 5 | name: '杭州市民卡', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: [ 15 | 'com.smk.activity.MainActivity', 16 | 'com.smk.activity.LaunchActivity', 17 | ], 18 | rules: '[id="com.smk:id/iv_close_ad"]', 19 | snapshotUrls: [ 20 | 'https://i.gkd.li/i/13402584', 21 | 'https://i.gkd.li/i/13425013', // activityIds: 'com.smk.activity.LaunchActivity', 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.youdao.translator.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.youdao.translator', 5 | name: '有道翻译官', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-翻译界面-结果下方广告', 10 | desc: '点击广告卡片右上角x', 11 | fastQuery: true, 12 | activityIds: 'com.youdao.translator.activity.trans.TransResultActivity', 13 | rules: [ 14 | { 15 | key: 0, 16 | matches: 17 | '@ImageView[id="com.youdao.translator:id/close_iv"] + [id="com.youdao.translator:id/native_ad_flag_tv"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13259910', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/cn.wps.yun.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.wps.yun', 5 | name: '金山文档', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '列表广告', 10 | desc: '点击右侧x', 11 | rules: [ 12 | { 13 | activityIds: 'cn.wps.yun.ui.IndexActivity', 14 | fastQuery: true, 15 | matches: 16 | '[id="cn.wps.yun:id/rootGroup"][childCount=5] > [id="cn.wps.yun:id/moreIconRight"]', 17 | exampleUrls: 18 | 'https://m.gkd.li/47232102/bc97cb52-aad0-4114-a548-5831edbe342d', 19 | snapshotUrls: 'https://i.gkd.li/i/13495062', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.cnki.view.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cnki.view', 5 | name: '知网文化', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | activityIds: [ 11 | 'com.cnki.view.core.navigator.main.HomeActivity', 12 | 'com.cnki.view.core.tramp.main.SplashActivity', 13 | ], 14 | rules: '[id="com.cnki.view:id/update_undo"]', 15 | snapshotUrls: [ 16 | 'https://i.gkd.li/i/12755689', // activityId: 'com.cnki.view.core.navigator.main.HomeActivity' 17 | 'https://i.gkd.li/i/12755700', // activityId: 'com.cnki.view.core.tramp.main.SplashActivity' 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.craftvpn.craft.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.craftvpn.craft', 5 | name: '小牛加速器', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '开屏广告', 10 | desc: '点击X', 11 | fastQuery: true, 12 | actionMaximum: 1, 13 | matchTime: 10000, 14 | resetMatch: 'app', 15 | rules: [ 16 | { 17 | matches: 18 | '@View < View[childCount=2] < View[childCount=1] < View[childCount=1] < FrameLayout[childCount=1] < FrameLayout[childCount=1] < [id="android:id/content"]', 19 | snapshotUrls: 'https://i.gkd.li/i/13914788', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.gvsoft.gofun.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.gvsoft.gofun', 5 | name: 'GoFun出行', 6 | groups: [ 7 | { 8 | key: 5, 9 | name: '广告弹窗', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | activityIds: 'com.gvsoft.gofun.module.home.activity.HomeActivity', 15 | rules: [ 16 | { 17 | action: 'clickCenter', 18 | matches: 19 | '[id="com.gvsoft.gofun:id/cardView"] + [id="com.gvsoft.gofun:id/iv_close"]', 20 | }, 21 | ], 22 | snapshotUrls: 'https://i.gkd.li/i/13497777', 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.mci.smagazine.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mci.smagazine', 5 | name: '三星阅读', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: [ 14 | { 15 | fastQuery: true, 16 | action: 'clickCenter', 17 | matches: '[text*="跳过"][text.length<10][visibleToUser=true]', 18 | exampleUrls: 19 | 'https://m.gkd.li/57941037/6654a799-c853-4221-b058-8278949574cc', 20 | snapshotUrls: 'https://i.gkd.li/i/14573324', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.mem.MacaoLife.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.mem.MacaoLife', 5 | name: '澳覓', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '開啟通知提示', 10 | fastQuery: true, 11 | activityIds: 'com.mem.life.ui.launch.LaunchActivity', 12 | rules: '[id="com.mem.MacaoLife:id/cancel"]', 13 | snapshotUrls: 'https://i.gkd.li/i/13350665', 14 | }, 15 | { 16 | key: 2, 17 | name: '浮窗廣告', 18 | fastQuery: true, 19 | activityIds: 'com.mem.life.ui.home.HomeActivity', 20 | rules: '[id="com.mem.MacaoLife:id/close"]', 21 | snapshotUrls: 'https://i.gkd.li/i/13350685', 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.practical.master.toolsme.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.practical.master.toolsme', 5 | name: '实用大师', 6 | groups: [ 7 | { 8 | key: 6, 9 | name: '广告弹窗', 10 | rules: [ 11 | { 12 | name: '字节穿山甲SDK', 13 | activityIds: 14 | 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', 15 | matches: 'Image[width<60][height<60] < @View 2 View[text="广告"]', 16 | snapshotUrls: 'https://i.gkd.li/i/12667539', 17 | }, 18 | { 19 | matches: '[id="com.byted.pangle:id/tt_item_tv"][text="不感兴趣"]', // 字节SDK广告 20 | snapshotUrls: 'https://i.gkd.li/i/12667549', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.zhengnengliang.precepts.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.zhengnengliang.precepts', 5 | name: '正气', 6 | groups: [ 7 | { 8 | key: 2, 9 | name: '第三方 SDK 广告', 10 | activityIds: [ 11 | 'com.zhengnengliang.precepts.ui.activity.MainActivity', 12 | 'com.zhengnengliang.precepts.ui.dialog.DialogTwoButton', 13 | ], 14 | rules: '[text="点此去广告"] + ImageButton[clickable=true]', 15 | snapshotUrls: [ 16 | 'https://i.gkd.li/i/12739767', 17 | 'https://i.gkd.li/i/12727705', // activityId: 'com.zhengnengliang.precepts.ui.dialog.DialogTwoButton' 18 | ], 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/me.piebridge.brevent.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'me.piebridge.brevent', 5 | name: '黑阈', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '权限提示-权限不足弹窗', 10 | desc: '点击取消', 11 | activityIds: 'me.piebridge.brevent.ui.BreventActivity', 12 | actionMaximum: 1, 13 | fastQuery: true, 14 | rules: [ 15 | { 16 | key: 0, 17 | matches: [ 18 | '[id="android:id/message"][text^="黑阈服务权限不足"]', 19 | '[text="取消"][id^="android:id/button"]', 20 | ], 21 | snapshotUrls: 'https://i.gkd.li/i/13218439', 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/checkDeprecatedGroupKeys.ts: -------------------------------------------------------------------------------- 1 | import { appDeprecatedKeysMap } from './appDeprecatedKeys'; 2 | import { RawApp } from '@gkd-kit/api'; 3 | 4 | export const checkDeprecatedGroupKeys = (apps: RawApp[]) => { 5 | apps.forEach((app) => { 6 | const deprecatedKeys = appDeprecatedKeysMap.get(app.id); 7 | if (deprecatedKeys) { 8 | app.groups.forEach(({ key, name }) => { 9 | if (deprecatedKeys.includes(key)) { 10 | console.error({ 11 | configName: app.name, 12 | appId: app.id, 13 | groupName: name, 14 | groupKey: key, 15 | }); 16 | throw new Error('invalid deprecated group key'); 17 | } 18 | }); 19 | } 20 | }); 21 | }; 22 | -------------------------------------------------------------------------------- /src/apps/com.cmcc.hebao.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.cmcc.hebao', 5 | name: '和包', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-广告弹窗', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | key: 0, 14 | activityIds: 'com.cmcc.wallet.mocam.activity.home.WalletHomeActivity', 15 | matches: 16 | '@[clickable=true] > [text="dialog-delete"][visibleToUser=true]', 17 | exampleUrls: 18 | 'https://m.gkd.li/57941037/cb33c5b5-dd2e-4aa9-80d1-f7013f150305', 19 | snapshotUrls: 'https://i.gkd.li/i/14567338', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.peopledailychina.activity.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.peopledailychina.activity', 5 | name: '人民日报', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-卡片广告', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | fastQuery: true, 14 | activityIds: 'com.peopledailychina.activity.activity.MainActivity', 15 | matches: '[vid="advert_iv_del"][visibleToUser=true]', 16 | exampleUrls: 17 | 'https://m.gkd.li/57941037/53c28fe8-9db9-45d8-82b3-7034aa10d2ed', 18 | snapshotUrls: 'https://i.gkd.li/i/15175151', 19 | }, 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.pingan.paces.ccms.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.pingan.paces.ccms', 5 | name: '平安口袋银行', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-首页-权益/抽奖弹窗', 10 | fastQuery: true, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | activityIds: 'com.pingan.launcher.activity.LauncherActivity', 14 | rules: 15 | '[text!="" || text!=null] < [vid="alertHeader"] < [vid="allViewstub"] + [vid="horizontalBottomIcon"] >2 [vid="bottom_close_image"]', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/14107110', 18 | 'https://i.gkd.li/i/14107111', 19 | ], 20 | }, 21 | ], 22 | }); 23 | -------------------------------------------------------------------------------- /src/apps/com.baidu.tieba_mini.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.tieba_mini', 5 | name: '贴吧极速版', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '首页-信息流广告', 10 | activityIds: ['com.baidu.tieba.tblauncher.MainTabActivity'], 11 | rules: [ 12 | { 13 | key: 0, 14 | matches: 'LinearLayout > [text="广告"] + ImageView', 15 | snapshotUrls: 'https://i.gkd.li/i/12905039', 16 | }, 17 | { 18 | preKeys: 0, 19 | key: 1, 20 | matches: '[text="屏蔽广告"]', 21 | snapshotUrls: ['https://i.gkd.li/i/12904633'], 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/com.iflytek.womusicclient.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.iflytek.womusicclient', 5 | name: '联通视频彩铃', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-广告弹窗', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | key: 0, 14 | fastQuery: true, 15 | activityIds: 'android.womusic.com.songcomponent.MainActivity', 16 | matches: '[vid="iv_img"] + [vid="btn_close"]', 17 | exampleUrls: 18 | 'https://m.gkd.li/57941037/64eb594e-f764-4080-a3e6-620e7174602f', 19 | snapshotUrls: 'https://i.gkd.li/i/14680681', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.google.android.apps.translate.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.google.android.apps.translate', 5 | name: 'Google翻译', 6 | groups: [ 7 | { 8 | key: 4, 9 | name: '登录弹窗', 10 | desc: '登录备份翻译记录', 11 | fastQuery: true, 12 | matchTime: 10000, 13 | actionMaximum: 1, 14 | resetMatch: 'app', 15 | activityIds: 'com.google.android.apps.translate.TranslateActivity', 16 | rules: 17 | 'Button[id="com.google.android.apps.translate:id/sign_in_button"] + [id="com.google.android.apps.translate:id/secondary_action_button"]', 18 | snapshotUrls: 'https://i.gkd.li/i/13495796', 19 | }, 20 | ], 21 | }); 22 | -------------------------------------------------------------------------------- /src/apps/com.shark.jizhang.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.shark.jizhang', 5 | name: '鲨鱼记账', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '新用户特惠广告', 10 | desc: '弹窗广告,右下角浮动广告', 11 | activityIds: 'com.shark.jizhang.module.main.MainActivity', 12 | rules: [ 13 | { 14 | matches: 15 | '[id="com.shark.jizhang:id/buy_later_view"||id="com.shark.jizhang:id/tv_count_down"] - [id="com.shark.jizhang:id/close_view"]', 16 | snapshotUrls: [ 17 | 'https://i.gkd.li/i/12518500', 18 | 'https://i.gkd.li/i/12518517', 19 | ], 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/me.chunyu.ChunyuDoctor.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'me.chunyu.ChunyuDoctor', 5 | name: '春雨医生', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '应用评分弹窗', 10 | activityIds: [ 11 | 'me.chunyu.ChunyuDoctor.Activities.WelcomeActivity', 12 | 'me.chunyu.ChunyuDoctor.Activities.MainActivity', 13 | ], 14 | rules: [ 15 | { 16 | matches: 17 | '[text="给应用评分"] +(2) RelativeLayout > [text="下次再说"]', 18 | snapshotUrls: [ 19 | 'https://i.gkd.li/i/12661907', 20 | 'https://i.gkd.li/i/12661924', 21 | ], 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/cn.trinea.android.developertools.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'cn.trinea.android.developertools', 5 | name: '开发助手', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '局部广告-卡片广告', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | fastQuery: true, 14 | activityIds: 'c.b.a', 15 | matches: 16 | 'View[childCount=2] > View[childCount=1] + @Button[childCount=0] < [text="发现新版本"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14292788', 15 | }, 16 | { 17 | key: 2, 18 | name: '全屏广告-关注公众号弹窗', 19 | activityIds: 'com.xiaolian.home.ui.HomeActivity', 20 | fastQuery: true, 21 | rules: '@[vid="close_img"] + [text="关注"]', 22 | snapshotUrls: 'https://i.gkd.li/i/14292789', 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.banjixiaoguanjia.app.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.banjixiaoguanjia.app', 5 | name: '班级小管家', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '应用内广告卡片', 10 | activityIds: 'com.banjixiaoguanjia.app.MainActivity', 11 | rules: [ 12 | { 13 | key: 0, 14 | matches: '[id="com.byted.pangle:id/tt_bu_close"]', 15 | snapshotUrls: 'https://i.gkd.li/i/12904612', 16 | }, 17 | { 18 | preKeys: 0, 19 | key: 1, 20 | matches: '@LinearLayout > [text="不感兴趣"]', 21 | snapshotUrls: 'https://i.gkd.li/i/12906196', 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/com.eusoft.ting.en.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.eusoft.ting.en', 5 | name: '每日英语听力', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-优惠券弹窗', 10 | desc: '点击[暂不需要]', 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: [ 14 | { 15 | fastQuery: true, 16 | activityIds: 'com.eusoft.ting.ui.v2.TabActivityV2', 17 | matches: '[text="我的优惠券"] +2 * > [text="暂不需要"]', 18 | exampleUrls: 19 | 'https://m.gkd.li/57941037/87566d74-abe0-46b6-a376-d1231c6a025a', 20 | snapshotUrls: 'https://i.gkd.li/i/14583029', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.baidu.input_huawei.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.input_huawei', 5 | name: '百度输入法华为定制版', 6 | groups: [ 7 | { 8 | key: 0, 9 | name: '开屏广告', 10 | fastQuery: true, 11 | matchTime: 10000, 12 | actionMaximum: 1, 13 | resetMatch: 'app', 14 | rules: [ 15 | { 16 | matches: '[text*="跳过"][text.length<10][visibleToUser=true]', 17 | exampleUrls: 'https://e.gkd.li/0754949d-3440-4a0f-9b2e-949c6850b292', 18 | snapshotUrls: [ 19 | 'https://i.gkd.li/i/16493628', 20 | 'https://i.gkd.li/i/16493619', 21 | ], 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/com.huabenapp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.huabenapp', 5 | name: '话本小说', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | resetMatch: 'app', 11 | actionMaximum: 1, 12 | activityIds: 'com.huabenapp.MainActivity', 13 | rules: 14 | '[text="发现新版本"] View > View > TextView', 15 | snapshotUrls: 'https://i.gkd.li/i/13043221', 16 | }, 17 | { 18 | preKeys: 0, 19 | key: 1, 20 | matches: '@LinearLayout > [text="不感兴趣"]', 21 | snapshotUrls: 'https://i.gkd.li/i/13049609', 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /dist/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 变更记录 2 | 3 | v89 -> v90 4 | 5 | |||||| 6 | |-|:-:|:-:|:-:|:-:| 7 | |全局规则||~3||3 -> 3| 8 | |应用||~6|-1|679 -> 678| 9 | |应用规则|+1|~6|-3|1563 -> 1561| 10 | 11 | ## 规则类别 12 | 13 | |||||| 14 | |-|:-:|:-:|:-:|:-:| 15 | |开屏广告|||-3|145 -> 142| 16 | |局部广告||~1||167 -> 168| 17 | |全屏广告||~2||222 -> 222| 18 | |功能类|+1|||159 -> 160| 19 | 20 | ## 全局规则 21 | 22 | |+|~|-| 23 | |-|-|-| 24 | ||
  • 开屏广告-全局
  • 更新提示-全局
  • 青少年模式-全局|| 25 | 26 | ## 应用规则 27 | 28 | ||+|~|-| 29 | |:-:|-|-|-| 30 | |六只脚
    ~2||
  • 全屏广告-弹窗广告,
  • 局部广告-信息流广告|| 31 | |深(新)度搜索
    ~1||
  • 全屏广告-弹窗广告|| 32 | |网速管家
    -1|||
  • 开屏广告| 33 | |网易有道词典
    ~1||
  • 局部广告-卡片广告|| 34 | |我的听书
    ~2||
  • 综合广告-卡片式广告,
  • 全屏广告-弹窗广告|| 35 | |悦通行
    +1,-1|
  • 功能类-扫码成功点击【确认并解锁】||
  • 开屏广告| 36 | |闪电侠
    -1|||
  • 开屏广告| 37 | -------------------------------------------------------------------------------- /src/apps/com.byd.aeri.caranywhere.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.byd.aeri.caranywhere', 5 | name: '比亚迪王朝', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | resetMatch: 'app', 11 | actionMaximum: 1, 12 | activityIds: ['com.byd.aeri.splash.module_splash.activity.TabManager'], 13 | rules: [ 14 | { 15 | fastQuery: true, 16 | matches: [ 17 | '[id="com.byd.aeri.caranywhere:id/tv_determine"][text="立即安装"]', 18 | '[id="com.byd.aeri.caranywhere:id/tv_cancel"]', 19 | ], 20 | snapshotUrls: 'https://i.gkd.li/i/13348383', 21 | }, 22 | ], 23 | }, 24 | ], 25 | }); 26 | -------------------------------------------------------------------------------- /src/apps/com.android.contacts.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | export default defineGkdApp({ 3 | id: 'com.android.contacts', 4 | name: '通讯录与拨号', 5 | groups: [ 6 | { 7 | key: 1, 8 | name: '全屏广告-广告弹窗', 9 | desc: '点击关闭', 10 | rules: [ 11 | { 12 | key: 0, 13 | fastQuery: true, 14 | activityIds: 15 | 'com.mobile.businesshall.ui.common.RecommendPopupActivity', 16 | matches: '[vid="img_close_btn"][clickable=true][visibleToUser=true]', 17 | exampleUrls: 18 | 'https://m.gkd.li/57941037/a3ad68fc-4a2e-45e2-87d3-97ece1fceaa4', 19 | snapshotUrls: 'https://i.gkd.li/i/14321032', 20 | }, 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.allinone.callerid.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.allinone.callerid', 5 | name: 'Showcaller', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '弹窗广告', 10 | matchTime: 10000, 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | rules: [ 14 | { 15 | key: 0, 16 | matches: '[id="mys-content"] > View > View > Button[clickable=true]', 17 | snapshotUrls: 'https://i.gkd.li/i/13696207', 18 | }, 19 | { 20 | key: 1, 21 | matches: '[id="close-button"] > View > View > Image', 22 | snapshotUrls: 'https://i.gkd.li/i/13696205', 23 | }, 24 | ], 25 | }, 26 | ], 27 | }); 28 | -------------------------------------------------------------------------------- /src/apps/world.letsgo.booster.android.pro.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'world.letsgo.booster.android.pro', 5 | name: '快连VPN', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '更新提示', 10 | fastQuery: true, 11 | resetMatch: 'app', 12 | actionMaximum: 1, 13 | rules: '[vid="close_update_tip"]', 14 | snapshotUrls: 'https://i.gkd.li/i/14066056', 15 | }, 16 | { 17 | key: 2, 18 | name: '功能类-免费会员弹窗', 19 | desc: '点击【快快收下】', 20 | fastQuery: true, 21 | activityIds: 'world.letsgo.booster.android.pages.home.HomeActivity', 22 | rules: '[text="快快收下"]', 23 | snapshotUrls: 'https://i.gkd.li/i/14072381', 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/com.zhiliaoapp.musically.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.zhiliaoapp.musically', 5 | name: 'TikTok', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-弹窗广告', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | fastQuery: true, 14 | activityIds: 'com.ss.android.ugc.aweme.main.MainActivity', 15 | matches: 16 | 'RelativeLayout[childCount=2] > @ImageView[index=1][clickable=true] < FrameLayout[childCount=1] > @ImageView[childCount=0][text=null] < [id="com.yaerxing.fkst:id/btn_update"]', 17 | snapshotUrls: [ 18 | 'https://i.gkd.li/i/12715037', 19 | 'https://i.gkd.li/i/12715047', 20 | 'https://i.gkd.li/i/12715053', 21 | ], 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | import eslint from '@eslint/js'; 3 | import tsEslint from 'typescript-eslint'; 4 | import unusedImports from 'eslint-plugin-unused-imports'; 5 | import eslintConfigPrettier from 'eslint-config-prettier'; 6 | 7 | export default tsEslint.config( 8 | eslint.configs.recommended, 9 | ...tsEslint.configs.recommended, 10 | eslintConfigPrettier, 11 | { 12 | plugins: { 13 | 'unused-imports': unusedImports, 14 | }, 15 | }, 16 | { 17 | rules: { 18 | quotes: ['error', 'single', { allowTemplateLiterals: false }], 19 | 'no-unused-vars': 'off', 20 | '@typescript-eslint/no-unused-vars': 'off', 21 | 'unused-imports/no-unused-imports': 'error', 22 | 'unused-imports/no-unused-vars': 'error', 23 | }, 24 | }, 25 | ); 26 | -------------------------------------------------------------------------------- /src/apps/com.android.documentsui.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.android.documentsui', 5 | name: '文件', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-允许第三方应用访问文件夹', 10 | activityIds: 'com.android.documentsui.picker.PickActivity', 11 | rules: '[text="取消"] + [text="允许"]', 12 | snapshotUrls: 'https://i.gkd.li/i/13801468', 13 | }, 14 | { 15 | key: 2, 16 | fastQuery: true, 17 | name: '功能类-使用此文件夹', 18 | rules: [ 19 | { 20 | activityIds: 'com.android.documentsui.picker.PickActivity', 21 | matches: '[text="使用此文件夹"]', 22 | snapshotUrls: 'https://i.gkd.li/i/13916082', 23 | }, 24 | ], 25 | }, 26 | ], 27 | }); 28 | -------------------------------------------------------------------------------- /src/apps/com.google.android.documentsui.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.google.android.documentsui', 5 | name: 'Android 系统文件选择器', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '授权第三方应用访问文件夹', 10 | desc: '自动点击【使用此文件夹】->【允许】', 11 | activityIds: 'com.android.documentsui.picker.PickActivity', 12 | rules: [ 13 | { 14 | key: 0, 15 | matches: '[text="使用此文件夹"]', 16 | snapshotUrls: 'https://i.gkd.li/i/12799610', 17 | }, 18 | { 19 | preKeys: 0, 20 | key: 1, 21 | matches: '[text="取消"] + [text="允许"]', 22 | snapshotUrls: 'https://i.gkd.li/i/12799603', 23 | }, 24 | ], 25 | }, 26 | ], 27 | }); 28 | -------------------------------------------------------------------------------- /src/apps/com.csair.mbp.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.csair.mbp', 5 | name: '南方航空', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '功能类-长辈版弹窗', 10 | desc: '点击【暂不开启】', 11 | actionMaximum: 1, 12 | resetMatch: 'app', 13 | fastQuery: true, 14 | activityIds: 'com.csair.mbp.CSMBPActivity', 15 | rules: '[text="开启长辈版"] -2 [text="暂不开启"]', 16 | snapshotUrls: 'https://i.gkd.li/i/14810700', 17 | }, 18 | { 19 | key: 3, 20 | name: '全屏广告-首页-弹窗广告', 21 | fastQuery: true, 22 | activityIds: 'com.csair.mbp.CSMBPActivity', 23 | rules: '[id="com.csair.mbp:id/close_btn"]', 24 | snapshotUrls: 'https://i.gkd.li/i/13197497', 25 | }, 26 | ], 27 | }); 28 | -------------------------------------------------------------------------------- /src/apps/com.android.icredit.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.android.icredit', 5 | name: '企查查', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '全屏广告-VIP弹窗', 10 | desc: '点击关闭', 11 | rules: [ 12 | { 13 | activityIds: 'com.android.icredit.ui.MainMenuActivity', 14 | matches: 15 | '[text$="限时返场" || text="首单有礼"] >2 View[childCount=2] > Image[visibleToUser=true]', 16 | exampleUrls: 17 | 'https://m.gkd.li/57941037/eb232325-12e4-495f-a9f3-5f853d5e66f9', 18 | snapshotUrls: [ 19 | 'https://i.gkd.li/i/14720494', 20 | 'https://i.gkd.li/i/15112280', 21 | ], 22 | }, 23 | ], 24 | }, 25 | ], 26 | }); 27 | -------------------------------------------------------------------------------- /src/apps/com.baidu.xin.aiqicha.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.baidu.xin.aiqicha', 5 | name: '爱企查', 6 | groups: [ 7 | { 8 | key: 10, 9 | name: '请求通知权限弹窗', 10 | desc: '自动点击【不允许】', 11 | activityIds: 'com.baidu.newbridge.fast.MainFastActivity', 12 | rules: '[id="com.baidu.xin.aiqicha:id/notice_dialog_cancel_iv"]', 13 | snapshotUrls: 'https://i.gkd.li/i/12755733', 14 | }, 15 | { 16 | key: 11, 17 | name: '请求通知权限提示信息', 18 | desc: '自动点击x按钮', 19 | activityIds: 'com.baidu.newbridge.fast.MainFastActivity', 20 | rules: '@[id="com.baidu.xin.aiqicha:id/close"] +2 [text="打开消息通知"]', 21 | snapshotUrls: 'https://i.gkd.li/i/12755756', 22 | }, 23 | ], 24 | }); 25 | -------------------------------------------------------------------------------- /src/apps/com.hd.smartVillage.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.hd.smartVillage', 5 | name: '恒大智慧社区', 6 | groups: [ 7 | { 8 | key: 1, 9 | name: '关闭开启通知弹窗', 10 | fastQuery: true, 11 | actionMaximum: 1, 12 | activityIds: [ 13 | 'com.hd.smartVillage.modules.main.MainActivity', 14 | 'com.hd.smartVillage.modules.h5service.H5WebActivity', 15 | ], 16 | rules: 'View[id="com.hd.smartVillage:id/notificationSettingCloseBtn"]', 17 | snapshotUrls: [ 18 | 'https://i.gkd.li/i/13223669', //com.hd.smartVillage.modules.main.MainActivity 19 | 'https://i.gkd.li/i/13293000', //com.hd.smartVillage.modules.h5service.H5WebActivity 20 | ], 21 | }, 22 | ], 23 | }); 24 | -------------------------------------------------------------------------------- /src/apps/com.qihoo.camera.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'com.qihoo.camera', 5 | name: '360摄像机', 6 | groups: [ 7 | { 8 | key: 6, 9 | name: '卡录像界面广告', 10 | actionMaximum: 1, 11 | activityIds: 'com.qihoo.jia.playpage.RecordPlayActivity', 12 | rules: [ 13 | { 14 | name: '视频下方卡片式广告', 15 | matches: 16 | 'ViewGroup[childCount=2] > ImageView[clickable=true] + ImageView[clickable=true]', 17 | }, 18 | { 19 | name: '云收藏弹窗广告', 20 | matches: 21 | 'ViewGroup > @ImageView[clickable=true] -n TextView[text="云收藏"]', 22 | }, 23 | ], 24 | snapshotUrls: 'https://i.gkd.li/i/13630755', 25 | }, 26 | ], 27 | }); 28 | -------------------------------------------------------------------------------- /src/apps/downloadtwittervideo.twitterdownloader.twittervideodownloader.twittersaver.ts: -------------------------------------------------------------------------------- 1 | import { defineGkdApp } from '@gkd-kit/define'; 2 | 3 | export default defineGkdApp({ 4 | id: 'downloadtwittervideo.twitterdownloader.twittervideodownloader.twittersaver', 5 | name: 'TwiTake', 6 | groups: [ 7 | { 8 | key: 3, 9 | name: '评分弹窗', 10 | desc: '自动点击 LATER 。', 11 | rules: [ 12 | { 13 | activityIds: 14 | 'downloadtwittervideo.twitterdownloader.twittervideodownloader.twittersaver.MainActivity', 15 | matches: 16 | '[id="downloadtwittervideo.twitterdownloader.twittervideodownloader.twittersaver:id/tv_cancel"]', 17 | snapshotUrls: 'https://i.gkd.li/i/13748858', 18 | }, 19 | ], 20 | }, 21 | ], 22 | }); 23 | --------------------------------------------------------------------------------