mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
perf: 移除部分应用青少年模式规则,改用全局规则
This commit is contained in:
@@ -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<string, number[]> = new Map();
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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: '局部广告-广场页卡片广告',
|
||||
|
||||
@@ -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: '分段广告-评论区卡片广告',
|
||||
|
||||
@@ -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: '分段广告-信息流广告',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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',
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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: '局部广告-右下角小广告',
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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: '局部广告-直播间悬浮广告',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -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: '全屏广告-首页弹窗广告',
|
||||
|
||||
@@ -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: '功能类-应用更新页面-点击[查看更多]',
|
||||
|
||||
@@ -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: '分段广告-首页推荐广告',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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: '局部广告-漫画界面底部弹窗广告',
|
||||
|
||||
@@ -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: '全屏广告-朋友推荐弹窗',
|
||||
|
||||
@@ -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弹窗',
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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',
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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: '局部广告-顶部卡片广告',
|
||||
|
||||
@@ -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: '局部广告-漫画阅读页面-左侧悬浮广告',
|
||||
|
||||
@@ -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: '局部广告-右下角悬浮卡片广告',
|
||||
|
||||
@@ -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: '全屏广告-首页红包弹窗',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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: '功能类-功能体验邀请弹窗',
|
||||
|
||||
@@ -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: '功能类-发现通讯录好友弹窗',
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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,
|
||||
|
||||
@@ -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: '更新提示',
|
||||
|
||||
@@ -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: '全屏广告-视频推荐弹窗',
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -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: '分段广告-首页、视频播放页广告',
|
||||
|
||||
Reference in New Issue
Block a user