diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index ddd44796..facdc8f1 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -40,7 +40,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'air.tv.douyu.android', name: '斗鱼', - deprecatedKeys: [0], + deprecatedKeys: [0, 1], }, { id: 'android.zhibo8', @@ -115,12 +115,12 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'cn.xiaochuankeji.tieba', name: '最右', - deprecatedKeys: [0, 11], + deprecatedKeys: [0, 2, 11], }, { id: 'cn.xiaochuankeji.zuiyouLite', name: '皮皮搞笑', - deprecatedKeys: [0], + deprecatedKeys: [0, 1], }, { id: 'cn.yonghui.hyd', @@ -320,7 +320,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.cmcc.cmvideo', name: '咪咕视频', - deprecatedKeys: [0], + deprecatedKeys: [0, 1], }, { id: 'com.cn21.ecloud', @@ -485,7 +485,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.tencent.qqlive', name: '腾讯视频', - deprecatedKeys: [5, 19], + deprecatedKeys: [1, 5, 19], }, { id: 'com.xunlei.downloadprovider', @@ -505,7 +505,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.youku.phone', name: '优酷视频', - deprecatedKeys: [1], + deprecatedKeys: [1, 2], }, { id: 'com.zhihu.android', @@ -585,7 +585,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.mihoyo.hyperion', name: '米游社', - deprecatedKeys: [4, 5], + deprecatedKeys: [1, 4, 5], }, { id: 'com.miui.packageinstaller', @@ -597,6 +597,126 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ name: '小米音乐', deprecatedKeys: [4, 10], }, + { + id: 'cn.soulapp.android', + name: 'Soul', + deprecatedKeys: [1], + }, + { + id: 'com.dongqiudi.news', + name: '懂球帝', + deprecatedKeys: [1], + }, + { + id: 'com.duitang.main', + name: '堆糖', + deprecatedKeys: [1], + }, + { + id: 'com.duowan.kiwi', + name: '虎牙直播', + deprecatedKeys: [1], + }, + { + id: 'com.example.pptv', + name: '人人视频', + deprecatedKeys: [1], + }, + { + id: 'com.gotokeep.keep', + name: 'Keep', + deprecatedKeys: [1], + }, + { + id: 'com.huawei.appmarket', + name: '华为应用市场', + deprecatedKeys: [2], + }, + { + id: 'com.hunantv.imgo.activity', + name: '芒果TV', + deprecatedKeys: [0], + }, + { + id: 'com.kuaikan.comic', + name: '快看漫画', + deprecatedKeys: [1], + }, + { + id: 'com.kuaishou.nebula', + name: '快手极速版', + deprecatedKeys: [1], + }, + { + id: 'com.kugou.android.lite', + name: '酷狗概念版', + deprecatedKeys: [1], + }, + { + id: 'com.p1.mobile.putong', + name: '探探', + deprecatedKeys: [1], + }, + { + id: 'com.qiyi.video', + name: '爱奇艺', + deprecatedKeys: [1], + }, + { + id: 'com.qq.ac.android', + name: '腾讯动漫', + deprecatedKeys: [1], + }, + { + id: 'com.qq.reader', + name: 'QQ阅读', + deprecatedKeys: [2], + }, + { + id: 'com.smile.gifmaker', + name: '快手', + deprecatedKeys: [0], + }, + { + id: 'com.sohu.sohuvideo', + name: '搜狐视频', + deprecatedKeys: [2], + }, + { + id: 'com.ss.android.article.video', + name: '西瓜视频', + deprecatedKeys: [0], + }, + { + id: 'com.ss.android.ugc.aweme.lite', + name: '抖音极速版', + deprecatedKeys: [1], + }, + { + id: 'com.ss.android.ugc.aweme.mobile', + name: '抖音', + deprecatedKeys: [1], + }, + { + id: 'com.ss.android.yumme.video', + name: '抖音精选', + deprecatedKeys: [1], + }, + { + id: 'com.tencent.weread', + name: '微信读书', + deprecatedKeys: [2], + }, + { + id: 'com.xingye.app', + name: '星野', + deprecatedKeys: [1], + }, + { + id: 'tv.danmaku.bilibilihd', + name: '哔哩哔哩HD', + deprecatedKeys: [1], + }, ]; const map: Map = new Map(); diff --git a/src/apps/air.tv.douyu.android.ts b/src/apps/air.tv.douyu.android.ts index 46362cd9..d042e1cc 100644 --- a/src/apps/air.tv.douyu.android.ts +++ b/src/apps/air.tv.douyu.android.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'air.tv.douyu.android', name: '斗鱼', groups: [ - { - key: 1, - name: '青少年模式', - desc: '关闭青少年模式提醒弹窗', - snapshotUrls: 'https://i.gkd.li/i/12472598', - rules: [ - '[text="开启青少年模式"] + [text="我知道了"]', // 1686970236642 - ], - }, { key: 2, name: '更新提示', diff --git a/src/apps/cn.missevan.ts b/src/apps/cn.missevan.ts deleted file mode 100644 index 2fac3ebb..00000000 --- a/src/apps/cn.missevan.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'cn.missevan', - name: '猫耳FM', - groups: [ - { - key: 1, - name: '青少年模式', - desc: '点击:知道了', - fastQuery: true, - rules: [ - { - matches: '[id="cn.missevan:id/iKnowTextView"][text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/12908433', - }, - ], - }, - ], -}); diff --git a/src/apps/cn.soulapp.android.ts b/src/apps/cn.soulapp.android.ts index fb788d54..8a12e41b 100644 --- a/src/apps/cn.soulapp.android.ts +++ b/src/apps/cn.soulapp.android.ts @@ -23,22 +23,6 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - matches: 'TextView[text="查看青少年模式"] + TextView[text$="知道了"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12834093', - 'https://i.gkd.li/i/16445117', - ], - }, - ], - }, { key: 2, name: '局部广告-广场页卡片广告', diff --git a/src/apps/cn.xiaochuankeji.tieba.ts b/src/apps/cn.xiaochuankeji.tieba.ts index 24118c1e..7502d441 100644 --- a/src/apps/cn.xiaochuankeji.tieba.ts +++ b/src/apps/cn.xiaochuankeji.tieba.ts @@ -56,19 +56,6 @@ export default defineGkdApp({ }, ], }, - { - key: 2, - name: '青少年模式', - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - matches: '[text$="青少年模式"] + [text$="知道了"]', - snapshotUrls: 'https://i.gkd.li/i/12660929', - }, - ], - }, { key: 3, name: '分段广告-评论区卡片广告', diff --git a/src/apps/cn.xiaochuankeji.zuiyouLite.ts b/src/apps/cn.xiaochuankeji.zuiyouLite.ts index a6416a79..fabb0300 100644 --- a/src/apps/cn.xiaochuankeji.zuiyouLite.ts +++ b/src/apps/cn.xiaochuankeji.zuiyouLite.ts @@ -43,18 +43,6 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: '[id="cn.xiaochuankeji.zuiyouLite:id/young_close_btn"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12745083', - 'https://i.gkd.li/i/13446652', //activityIds: 'cn.xiaochuankeji.zuiyouLite.ui.main.MainTest', - ], - }, { key: 2, name: '分段广告-信息流广告', diff --git a/src/apps/com.android.VideoPlayer.ts b/src/apps/com.android.VideoPlayer.ts deleted file mode 100644 index 1beef8df..00000000 --- a/src/apps/com.android.VideoPlayer.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.android.VideoPlayer', - name: 'i 视频', - groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: '[vid="child_mode_cancel_button"]', - snapshotUrls: 'https://i.gkd.li/i/13849807', - }, - ], -}); diff --git a/src/apps/com.baidu.haokan.ts b/src/apps/com.baidu.haokan.ts deleted file mode 100644 index 3e368761..00000000 --- a/src/apps/com.baidu.haokan.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.baidu.haokan', - name: '好看视频', - groups: [ - { - key: 3, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text="进入青少年模式"] + [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13498610', - }, - ], -}); diff --git a/src/apps/com.bilibili.comic.ts b/src/apps/com.bilibili.comic.ts deleted file mode 100644 index b9046009..00000000 --- a/src/apps/com.bilibili.comic.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.bilibili.comic', - name: '哔哩哔哩漫画', - groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - matchTime: 15000, - actionMaximum: 1, - resetMatch: 'app', - rules: '[id="com.bilibili.comic:id/tv_know"]', - snapshotUrls: [ - 'https://i.gkd.li/i/13063676', - 'https://i.gkd.li/i/13262801', - ], - }, - ], -}); diff --git a/src/apps/com.cmcc.cmvideo.ts b/src/apps/com.cmcc.cmvideo.ts index 80ca5969..8c850e93 100644 --- a/src/apps/com.cmcc.cmvideo.ts +++ b/src/apps/com.cmcc.cmvideo.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.cmcc.cmvideo', name: '咪咕视频', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[id="com.cmcc.cmvideo:id/btn_cancle"]', - snapshotUrls: 'https://i.gkd.li/i/12498307', - }, { key: 2, name: '局部广告-右下角小广告', diff --git a/src/apps/com.dongqiudi.news.ts b/src/apps/com.dongqiudi.news.ts index b20910d9..484d840a 100644 --- a/src/apps/com.dongqiudi.news.ts +++ b/src/apps/com.dongqiudi.news.ts @@ -41,16 +41,6 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text*="青少年模式"] + [id="com.dongqiudi.news:id/tv_know"]', - snapshotUrls: 'https://i.gkd.li/i/12621980', - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.duitang.main.ts b/src/apps/com.duitang.main.ts index a7667ce1..f2c84afd 100644 --- a/src/apps/com.duitang.main.ts +++ b/src/apps/com.duitang.main.ts @@ -4,19 +4,6 @@ export default defineGkdApp({ id: 'com.duitang.main', name: '堆糖', groups: [ - { - key: 1, - name: '青少年模式', - desc: '关闭青少年模式提醒弹窗', - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - matches: '[id="com.duitang.main:id/teenGuideKnown"]', - snapshotUrls: 'https://i.gkd.li/i/13202230', - }, - ], - }, { name: '局部广告-信息流广告', key: 2, diff --git a/src/apps/com.duowan.kiwi.ts b/src/apps/com.duowan.kiwi.ts index 2326f552..0d69af6b 100644 --- a/src/apps/com.duowan.kiwi.ts +++ b/src/apps/com.duowan.kiwi.ts @@ -4,19 +4,6 @@ export default defineGkdApp({ id: 'com.duowan.kiwi', name: '虎牙直播', groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - resetMatch: 'app', - actionMaximum: 1, - rules: '[text*="青少年模式"] + * > [text="我知道了"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12908790', - 'https://i.gkd.li/i/15025239', - ], - }, { key: 2, name: '局部广告-直播间悬浮广告', diff --git a/src/apps/com.example.pptv.ts b/src/apps/com.example.pptv.ts index aa854f3b..542bde13 100644 --- a/src/apps/com.example.pptv.ts +++ b/src/apps/com.example.pptv.ts @@ -26,14 +26,5 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '@[text="我知道了"] - * > [text="未成年模式"]', - snapshotUrls: 'https://i.gkd.li/i/13761159', - }, ], }); diff --git a/src/apps/com.gotokeep.keep.ts b/src/apps/com.gotokeep.keep.ts index 0894a697..9cb4109e 100644 --- a/src/apps/com.gotokeep.keep.ts +++ b/src/apps/com.gotokeep.keep.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.gotokeep.keep', name: 'Keep', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[text$="未成年人模式"] +2 @[clickable=true] > [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/12706097', - }, { key: 2, name: '全屏广告-首页弹窗广告', diff --git a/src/apps/com.huawei.appmarket.ts b/src/apps/com.huawei.appmarket.ts index df23d6f8..0aed35b8 100644 --- a/src/apps/com.huawei.appmarket.ts +++ b/src/apps/com.huawei.appmarket.ts @@ -29,22 +29,6 @@ export default defineGkdApp({ rules: '@[text="以后再说"] + [text="立即更新"]', snapshotUrls: 'https://i.gkd.li/i/13228520', }, - { - key: 2, - name: '青少年模式', - desc: '点击"知道了"', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: [ - { - matches: 'ScrollView >2 [text="知道了"]', - exampleUrls: - 'https://m.gkd.li/57941037/461e8848-e8ed-4daf-b5f4-4b1aaa72e9a8', - snapshotUrls: 'https://i.gkd.li/i/14219285', - }, - ], - }, { key: 3, name: '功能类-应用更新页面-点击[查看更多]', diff --git a/src/apps/com.hunantv.imgo.activity.ts b/src/apps/com.hunantv.imgo.activity.ts index 2bca229e..af5e3853 100644 --- a/src/apps/com.hunantv.imgo.activity.ts +++ b/src/apps/com.hunantv.imgo.activity.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.hunantv.imgo.activity', name: '芒果TV', groups: [ - { - key: 0, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - rules: - '[id="com.hunantv.imgo.activity:id/llSetAgeMode"] + [id="com.hunantv.imgo.activity:id/btnIknow"]', - snapshotUrls: 'https://i.gkd.li/i/12832447', - }, { key: 1, name: '分段广告-首页推荐广告', diff --git a/src/apps/com.hypergryph.skland.ts b/src/apps/com.hypergryph.skland.ts deleted file mode 100644 index cd218cc9..00000000 --- a/src/apps/com.hypergryph.skland.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.hypergryph.skland', - name: '森空岛', - groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text*="青少年模式"] +n [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13197012', - }, - ], -}); diff --git a/src/apps/com.immomo.momo.ts b/src/apps/com.immomo.momo.ts deleted file mode 100644 index 87ebc111..00000000 --- a/src/apps/com.immomo.momo.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.immomo.momo', - name: 'MOMO陌陌', - groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - rules: '[text$="青少年模式"] + [text="知道了"]', - snapshotUrls: 'https://i.gkd.li/i/14395028', - }, - ], -}); diff --git a/src/apps/com.kuaikan.comic.ts b/src/apps/com.kuaikan.comic.ts index 1ef90c0a..0defbc6a 100644 --- a/src/apps/com.kuaikan.comic.ts +++ b/src/apps/com.kuaikan.comic.ts @@ -4,14 +4,6 @@ export default defineGkdApp({ id: 'com.kuaikan.comic', name: '快看漫画', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - rules: '[text*="青少年模式"] +2 [id="com.kuaikan.comic:id/cancel"]', - snapshotUrls: 'https://i.gkd.li/i/12565678', - }, { key: 2, name: '局部广告-漫画界面底部弹窗广告', diff --git a/src/apps/com.kuaishou.nebula.ts b/src/apps/com.kuaishou.nebula.ts index a33f5896..160b11a4 100644 --- a/src/apps/com.kuaishou.nebula.ts +++ b/src/apps/com.kuaishou.nebula.ts @@ -20,14 +20,6 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - rules: '[id="com.kuaishou.nebula:id/positive"][text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13196316', - }, { key: 2, name: '全屏广告-朋友推荐弹窗', diff --git a/src/apps/com.kugou.android.lite.ts b/src/apps/com.kugou.android.lite.ts index af222b2d..bda110e3 100644 --- a/src/apps/com.kugou.android.lite.ts +++ b/src/apps/com.kugou.android.lite.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.kugou.android.lite', name: '酷狗概念版', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[text="开启青少年模式"] + [text="知道了"]', - snapshotUrls: 'https://i.gkd.li/i/14321697', - }, { key: 2, name: '全屏广告-VIP弹窗', diff --git a/src/apps/com.mihoyo.hyperion.ts b/src/apps/com.mihoyo.hyperion.ts index 6ec13a07..7325a01b 100644 --- a/src/apps/com.mihoyo.hyperion.ts +++ b/src/apps/com.mihoyo.hyperion.ts @@ -4,21 +4,6 @@ export default defineGkdApp({ id: 'com.mihoyo.hyperion', name: '米游社', groups: [ - { - key: 1, - name: '青少年模式', - desc: '点击[我知道了]', - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[vid="tv_dialog_go_to_teenage_mode"] + [vid="tv_dialog_i_know"]', - exampleUrls: 'https://e.gkd.li/db8bb97e-f0f0-4f85-a262-14dd760f812b', - snapshotUrls: [ - 'https://i.gkd.li/i/17002129', - 'https://i.gkd.li/i/12775850', // activityId: 'com.mihoyo.hyperion.splash.SplashActivity' - ], - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.p1.mobile.putong.ts b/src/apps/com.p1.mobile.putong.ts index c1942225..233e0139 100644 --- a/src/apps/com.p1.mobile.putong.ts +++ b/src/apps/com.p1.mobile.putong.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.p1.mobile.putong', name: '探探', groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - resetMatch: 'app', - actionMaximum: 1, - rules: '@[text="我知道了"] + [text="开启青少年模式"]', - snapshotUrls: 'https://i.gkd.li/i/14332010', - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.qidian.QDReader.ts b/src/apps/com.qidian.QDReader.ts index 3b927768..16eccb62 100644 --- a/src/apps/com.qidian.QDReader.ts +++ b/src/apps/com.qidian.QDReader.ts @@ -35,6 +35,7 @@ export default defineGkdApp({ 'https://i.gkd.li/i/12640241', 'https://i.gkd.li/i/12709168', 'https://i.gkd.li/i/12905817', + 'https://i.gkd.li/i/17879416', ], }, { diff --git a/src/apps/com.qiqi.hhvideo.ts b/src/apps/com.qiqi.hhvideo.ts deleted file mode 100644 index da368f70..00000000 --- a/src/apps/com.qiqi.hhvideo.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.qiqi.hhvideo', - name: '电影猎手', - groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: [ - { - matches: '[text="开启青少年模式"] + [text="我已知晓"]', - exampleUrls: - 'https://m.gkd.li/57941037/c50c5c8f-5fec-437e-908c-abc7b2cedee8', - snapshotUrls: 'https://i.gkd.li/i/14343546', - }, - ], - }, - ], -}); diff --git a/src/apps/com.qiyi.video.ts b/src/apps/com.qiyi.video.ts index 3e970ff3..a48ad805 100644 --- a/src/apps/com.qiyi.video.ts +++ b/src/apps/com.qiyi.video.ts @@ -18,21 +18,6 @@ export default defineGkdApp({ 'https://i.gkd.li/i/13379565', ], }, - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - matches: '[id="com.qiyi.video:id/confirm_btn"][text="我知道了"]', - exampleUrls: - 'https://m.gkd.li/6328439/d69e92f8-8304-4296-909a-11730e408a16', - snapshotUrls: 'https://i.gkd.li/i/13546555', - }, - ], - }, { key: 2, name: '局部广告-顶部卡片广告', diff --git a/src/apps/com.qq.ac.android.ts b/src/apps/com.qq.ac.android.ts index 656880e2..94204763 100644 --- a/src/apps/com.qq.ac.android.ts +++ b/src/apps/com.qq.ac.android.ts @@ -4,17 +4,6 @@ export default defineGkdApp({ id: 'com.qq.ac.android', name: '腾讯动漫', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - rules: '[text="青少年守护模式"] - [id="com.qq.ac.android:id/close_btn"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12707752', - 'https://i.gkd.li/i/13195636', - ], - }, { key: 2, name: '局部广告-漫画阅读页面-左侧悬浮广告', diff --git a/src/apps/com.qq.reader.ts b/src/apps/com.qq.reader.ts index ba755fcc..8a6df35a 100644 --- a/src/apps/com.qq.reader.ts +++ b/src/apps/com.qq.reader.ts @@ -28,15 +28,6 @@ export default defineGkdApp({ }, ], }, - { - key: 2, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: '[id="com.qq.reader:id/tv_i_know"]', - snapshotUrls: 'https://i.gkd.li/i/13194867', - }, { key: 3, name: '局部广告-右下角悬浮卡片广告', diff --git a/src/apps/com.smile.gifmaker.ts b/src/apps/com.smile.gifmaker.ts index abdf7cbd..22131423 100644 --- a/src/apps/com.smile.gifmaker.ts +++ b/src/apps/com.smile.gifmaker.ts @@ -4,22 +4,6 @@ export default defineGkdApp({ id: 'com.smile.gifmaker', name: '快手', groups: [ - { - key: 0, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - matches: ['[text="开启青少年模式"]', '[text="我知道了"]'], - snapshotUrls: [ - 'https://i.gkd.li/i/12708609', - 'https://i.gkd.li/i/14969798', - ], - }, - ], - }, { key: 10, name: '全屏广告-首页红包弹窗', diff --git a/src/apps/com.sohu.sohuvideo.ts b/src/apps/com.sohu.sohuvideo.ts index 282b8722..b4bf17ad 100644 --- a/src/apps/com.sohu.sohuvideo.ts +++ b/src/apps/com.sohu.sohuvideo.ts @@ -15,16 +15,5 @@ export default defineGkdApp({ '@[id="com.sohu.sohuvideo:id/ivClose"] + LinearLayout [text="新版本上线啦"]', snapshotUrls: 'https://i.gkd.li/i/13435504', }, - { - key: 2, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: - '@[id="com.sohu.sohuvideo:id/tv_ok"] -2 LinearLayout > [text="设置青少年模式"]', - snapshotUrls: 'https://i.gkd.li/i/13448876', - }, ], }); diff --git a/src/apps/com.ss.android.article.video.ts b/src/apps/com.ss.android.article.video.ts index 6d6cb32a..c01d6878 100644 --- a/src/apps/com.ss.android.article.video.ts +++ b/src/apps/com.ss.android.article.video.ts @@ -20,15 +20,6 @@ export default defineGkdApp({ }, ], }, - { - key: 0, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text$="青少年模式"] +n [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/12472628', - }, { key: 1, name: '更新提示', diff --git a/src/apps/com.ss.android.ugc.aweme.lite.ts b/src/apps/com.ss.android.ugc.aweme.lite.ts index 4d8d34be..76315dcf 100644 --- a/src/apps/com.ss.android.ugc.aweme.lite.ts +++ b/src/apps/com.ss.android.ugc.aweme.lite.ts @@ -4,29 +4,6 @@ export default defineGkdApp({ id: 'com.ss.android.ugc.aweme.lite', name: '抖音极速版', groups: [ - { - key: 1, - name: '青少年模式', - desc: '点击"我知道了"/"关闭"', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - key: 0, - matches: 'Button[desc="开启青少年模式"] + Button[text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13111607', - }, - { - actionMaximumKey: 0, - matches: - 'Button[text="开启青少年模式"] + LinearLayout > Button[text="关闭"]', - snapshotUrls: [ - 'https://i.gkd.li/i/13542867', //新版本 - ], - }, - ], - }, { key: 2, name: '功能类-功能体验邀请弹窗', diff --git a/src/apps/com.ss.android.ugc.aweme.mobile.ts b/src/apps/com.ss.android.ugc.aweme.mobile.ts index 40ac84bb..25901014 100644 --- a/src/apps/com.ss.android.ugc.aweme.mobile.ts +++ b/src/apps/com.ss.android.ugc.aweme.mobile.ts @@ -4,16 +4,6 @@ export default defineGkdApp({ id: 'com.ss.android.ugc.aweme.mobile', name: '抖音', groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - resetMatch: 'app', - rules: - '[id="com.ss.android.ugc.aweme.mobile:id/teen_mode_title"] +n [id="com.ss.android.ugc.aweme.mobile:id/bt_i_know"]', - snapshotUrls: 'https://i.gkd.li/i/13255513', - }, { key: 2, name: '功能类-发现通讯录好友弹窗', diff --git a/src/apps/com.ss.android.yumme.video.ts b/src/apps/com.ss.android.yumme.video.ts index 9ffaf2a4..16663c7c 100644 --- a/src/apps/com.ss.android.yumme.video.ts +++ b/src/apps/com.ss.android.yumme.video.ts @@ -4,21 +4,6 @@ export default defineGkdApp({ id: 'com.ss.android.yumme.video', name: '抖音精选', groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - action: 'back', - matches: 'Button[text="开启青少年模式"]', - snapshotUrls: 'https://i.gkd.li/i/15858125', - }, - ], - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.tencent.qqlive.ts b/src/apps/com.tencent.qqlive.ts index baa1d658..63b9fcf9 100644 --- a/src/apps/com.tencent.qqlive.ts +++ b/src/apps/com.tencent.qqlive.ts @@ -21,15 +21,6 @@ export default defineGkdApp({ }, ], }, - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: 'TextView[text*="青少年模式"] +n TextView[text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/12700145', - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.tencent.weishi.ts b/src/apps/com.tencent.weishi.ts deleted file mode 100644 index 0b2fcb38..00000000 --- a/src/apps/com.tencent.weishi.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.tencent.weishi', - name: '微视', - groups: [ - { - key: 3, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text="青少年保护功能提示"] +3 [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13448882', - }, - ], -}); diff --git a/src/apps/com.tencent.weread.ts b/src/apps/com.tencent.weread.ts index 392b89b5..e6deb1e1 100644 --- a/src/apps/com.tencent.weread.ts +++ b/src/apps/com.tencent.weread.ts @@ -28,15 +28,5 @@ export default defineGkdApp({ }, ], }, - { - key: 2, - name: '青少年模式', - fastQuery: true, - actionMaximum: 1, - matchTime: 30000, - resetMatch: 'app', - rules: '[text="设置青少年模式"] - LinearLayout >2 [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13233668', - }, ], }); diff --git a/src/apps/com.tvbc.maiduidui.ts b/src/apps/com.tvbc.maiduidui.ts deleted file mode 100644 index a5d14cc7..00000000 --- a/src/apps/com.tvbc.maiduidui.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'com.tvbc.maiduidui', - name: '埋堆堆', - groups: [ - { - key: 1, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - resetMatch: 'app', - actionMaximum: 1, - rules: '@[vid="tv_ok"] - [vid="tv_open_child_model"]', - snapshotUrls: 'https://i.gkd.li/i/13847804', - }, - ], -}); diff --git a/src/apps/com.ximalaya.ting.android.ts b/src/apps/com.ximalaya.ting.android.ts index 978aaa78..325dc3c4 100644 --- a/src/apps/com.ximalaya.ting.android.ts +++ b/src/apps/com.ximalaya.ting.android.ts @@ -160,13 +160,15 @@ export default defineGkdApp({ actionMaximum: 1, resetMatch: 'app', fastQuery: true, - snapshotUrls: 'https://i.gkd.li/i/12506209', - rules: { - matches: [ - '[text*="青少年模式"][id="com.ximalaya.ting.android:id/host_btn_set"]', - '[id="com.ximalaya.ting.android:id/host_dialog_close"]', - ], - }, + rules: [ + { + matches: [ + '[text*="青少年模式"][id="com.ximalaya.ting.android:id/host_btn_set"]', + '[id="com.ximalaya.ting.android:id/host_dialog_close"]', + ], + snapshotUrls: 'https://i.gkd.li/i/12506209', + }, + ], }, { key: 8, diff --git a/src/apps/com.xingye.app.ts b/src/apps/com.xingye.app.ts index 3d57c593..3a632719 100644 --- a/src/apps/com.xingye.app.ts +++ b/src/apps/com.xingye.app.ts @@ -4,15 +4,6 @@ export default defineGkdApp({ id: 'com.xingye.app', name: '星野', groups: [ - { - key: 1, - name: '青少年模式', - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[id="com.xingye.app:id/teenagerDialogConfirmTv"]', - snapshotUrls: 'https://i.gkd.li/i/13766001', - }, { key: 2, name: '更新提示', diff --git a/src/apps/com.youku.phone.ts b/src/apps/com.youku.phone.ts index 0ec46271..f8ec7e32 100644 --- a/src/apps/com.youku.phone.ts +++ b/src/apps/com.youku.phone.ts @@ -4,19 +4,6 @@ export default defineGkdApp({ id: 'com.youku.phone', name: '优酷视频', groups: [ - { - key: 2, - name: '青少年模式', - fastQuery: true, - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: '[text="青少年模式"] +(3) [text="我知道了"]', - snapshotUrls: [ - 'https://i.gkd.li/i/12701050', - 'https://i.gkd.li/i/13498556', - ], - }, { key: 3, name: '全屏广告-视频推荐弹窗', diff --git a/src/apps/tv.acfundanmaku.video.ts b/src/apps/tv.acfundanmaku.video.ts deleted file mode 100644 index 2db87465..00000000 --- a/src/apps/tv.acfundanmaku.video.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { defineGkdApp } from '@gkd-kit/define'; - -export default defineGkdApp({ - id: 'tv.acfundanmaku.video', - name: 'AcFun', - groups: [ - { - key: 2, - name: '青少年模式', - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: [ - { - matches: '[id="tv.acfundanmaku.video:id/btnSimpleDialogOne"]', - exampleUrls: - 'https://m.gkd.li/6328439/8229e6ec-f1d6-4162-96ad-c3a6b74877c7', - snapshotUrls: 'https://i.gkd.li/i/13518737', - }, - ], - }, - ], -}); diff --git a/src/apps/tv.danmaku.bilibilihd.ts b/src/apps/tv.danmaku.bilibilihd.ts index 5f176864..d16ca6d2 100644 --- a/src/apps/tv.danmaku.bilibilihd.ts +++ b/src/apps/tv.danmaku.bilibilihd.ts @@ -15,16 +15,6 @@ export default defineGkdApp({ rules: '[id="tv.danmaku.bilibilihd:id/count_down"]', snapshotUrls: 'https://i.gkd.li/i/13031261', }, - { - key: 1, - name: '青少年模式', - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - fastQuery: true, - rules: '[text*="青少年模式"] + [text="我知道了"]', - snapshotUrls: 'https://i.gkd.li/i/13166639', - }, { key: 2, name: '分段广告-首页、视频播放页广告',