perf: 优化开屏广告

This commit is contained in:
AIsouler
2024-03-11 15:13:27 +08:00
parent 7e3c531ded
commit e56d12c81d
97 changed files with 323 additions and 411 deletions

View File

@@ -10,18 +10,19 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d', 'https://m.gkd.li/57941037/fe2a046b-1abe-4aba-a0df-8d9568211e0d',
snapshotUrls: 'https://i.gkd.li/i/14189313', snapshotUrls: 'https://i.gkd.li/i/14189313',
}, },
{ {
key: 1, key: 1,
actionCdKey: 0,
matches: matches:
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]', '[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
}, },

View File

@@ -7,28 +7,28 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
matchTime: 10000, actionMaximumKey: 0,
quickFind: true,
rules: [ rules: [
{ {
key: 0,
name: '字节SDK', name: '字节SDK',
matches: matches:
'@[id="com.byted.pangle:id/tt_splash_skip_btn"] <<n [id="cn.lezhi.speedtest:id/fl_splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13544242', snapshotUrls: [
'https://i.gkd.li/i/13544242',
'https://i.gkd.li/i/13885906',
],
}, },
{ {
key: 1,
name: '腾讯SDK', name: '腾讯SDK',
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/13626049', snapshotUrls: 'https://i.gkd.li/i/13626049',
}, },
{
name: '腾讯SDK',
matches:
'@View <3 FrameLayout[childCount=4] <2 FrameLayout[childCount=2] < [vid="fl_splash_container"]',
snapshotUrls: 'https://i.gkd.li/i/13885906',
},
], ],
}, },
{ {

View File

@@ -9,8 +9,8 @@ export default defineAppConfig({
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app',
rules: '[vid="splash_adv_ship"]', rules: '[vid="splash_adv_ship"]',
snapshotUrls: 'https://i.gkd.li/i/13806892', snapshotUrls: 'https://i.gkd.li/i/13806892',
}, },

View File

@@ -7,9 +7,9 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
actionMaximum: 1,
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {

View File

@@ -7,14 +7,14 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '开屏广告', name: '开屏广告',
desc: '点击跳过',
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: matches:
'@View <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] < [vid="splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13930391', snapshotUrls: 'https://i.gkd.li/i/13930391',
}, },
], ],

View File

@@ -12,17 +12,14 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: 'https://i.gkd.li/i/14546304',
'https://i.gkd.li/i/12745084',
'https://i.gkd.li/i/14546304',
],
}, },
{ {
key: 1, key: 1,

View File

@@ -7,16 +7,20 @@ export default defineAppConfig({
{ {
key: -1, key: -1,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', key: 0,
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13188653', snapshotUrls: 'https://i.gkd.li/i/13188653',
}, },
{ {
quickFind: true, key: 1,
matches: matches:
'@View[clickable=true] < RelativeLayout <2 FrameLayout < FrameLayout < FrameLayout <4 FrameLayout < [id="android:id/content"]', '@View[clickable=true] < RelativeLayout <2 FrameLayout < FrameLayout < FrameLayout <4 FrameLayout < [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13197655', snapshotUrls: 'https://i.gkd.li/i/13197655',

View File

@@ -7,11 +7,11 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '开屏广告', name: '开屏广告',
desc: '点击跳过',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
@@ -22,7 +22,6 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
actionCdKey: 0,
matches: matches:
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]', '[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳过"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
}, },

View File

@@ -7,10 +7,10 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
resetMatch: 'app',
actionMaximum: 1,
matchTime: 10000,
quickFind: true, quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: rules:
'@View[clickable=true] <2 [id="com.antfortune.wealth:id/welcome_page"]', '@View[clickable=true] <2 [id="com.antfortune.wealth:id/welcome_page"]',
snapshotUrls: 'https://i.gkd.li/i/12776577', snapshotUrls: 'https://i.gkd.li/i/12776577',

View File

@@ -7,13 +7,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: '[text*="跳过"][text.length<10][clickable=true]', matches: '[text*="跳过"][text.length<10][clickable=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/017edf59-e705-4f92-9726-af7fec5aaf41', 'https://m.gkd.li/57941037/017edf59-e705-4f92-9726-af7fec5aaf41',
@@ -21,9 +22,8 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
actionCdKey: 0,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/7d338956-f006-4775-a418-2ae6dc21ef9a', 'https://m.gkd.li/57941037/7d338956-f006-4775-a418-2ae6dc21ef9a',
snapshotUrls: 'https://i.gkd.li/i/14204175', snapshotUrls: 'https://i.gkd.li/i/14204175',

View File

@@ -6,13 +6,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/1cddb43c-9ddc-4fb0-a781-66f167035d2b', 'https://m.gkd.li/57941037/1cddb43c-9ddc-4fb0-a781-66f167035d2b',
snapshotUrls: 'https://i.gkd.li/i/14406395', snapshotUrls: 'https://i.gkd.li/i/14406395',

View File

@@ -8,14 +8,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
name: '"跳过+倒计时"型',
matches: 'TextView[text^="跳过"][text.length<=10]', matches: 'TextView[text^="跳过"][text.length<=10]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12775906', 'https://i.gkd.li/i/12775906',
@@ -26,14 +26,12 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
name: '"圆圈跳过"型-来自穿山甲SDK', matches:
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13322227', snapshotUrls: 'https://i.gkd.li/i/13322227',
}, },
{ {
key: 2, key: 2,
quickFind: true,
name: '"x+关闭"型',
matches: matches:
'TextView[text="广告"] - @LinearLayout[clickable=true] > [text="关闭"]', 'TextView[text="广告"] - @LinearLayout[clickable=true] > [text="关闭"]',
snapshotUrls: 'https://i.gkd.li/i/13168386', snapshotUrls: 'https://i.gkd.li/i/13168386',

View File

@@ -20,16 +20,14 @@ export default defineAppConfig({
{ {
key: 2, key: 2,
name: '开屏广告', name: '开屏广告',
desc: '点击跳过',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
activityIds: 'com.black.unique.feature.home.HomeActivity',
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/63a72bd6-72be-410c-86ab-09ba7a4fa318', 'https://m.gkd.li/57941037/63a72bd6-72be-410c-86ab-09ba7a4fa318',
snapshotUrls: 'https://i.gkd.li/i/14167393', snapshotUrls: 'https://i.gkd.li/i/14167393',

View File

@@ -24,7 +24,6 @@ export default defineAppConfig({
snapshotUrls: 'https://i.gkd.li/i/12716970', snapshotUrls: 'https://i.gkd.li/i/12716970',
}, },
{ {
enable: true,
key: 10, key: 10,
name: '通知提示-请求开启通知权限弹窗', name: '通知提示-请求开启通知权限弹窗',
desc: '自动点击x按钮', desc: '自动点击x按钮',

View File

@@ -7,6 +7,7 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@@ -14,7 +15,7 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13298944', 'https://i.gkd.li/i/13298944',
'https://i.gkd.li/i/13800021', 'https://i.gkd.li/i/13800021',

View File

@@ -7,12 +7,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: '[text^="跳过"][text.length<10]', matches: '[text^="跳过"][text.length<10]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13264387', 'https://i.gkd.li/i/13264387',
@@ -20,6 +22,7 @@ export default defineAppConfig({
], ],
}, },
{ {
key: 1,
matches: '@ImageView - [text="|"]', matches: '@ImageView - [text="|"]',
snapshotUrls: 'https://i.gkd.li/i/13264377', snapshotUrls: 'https://i.gkd.li/i/13264377',
}, },

View File

@@ -7,30 +7,34 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.citiccard.mobilebankapp.WelcomeActivity'],
quickFind: true, quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: '[id="com.citiccard.mobilebank:id/btn_skip"]', matches: '[id="com.citiccard.mobilebank:id/btn_skip"]',
snapshotUrls: ['https://i.gkd.li/i/12684908'], snapshotUrls: 'https://i.gkd.li/i/12684908',
}, },
{ {
key: 1,
matches: '[id="com.citiccard.mobilebank:id/jump"]', matches: '[id="com.citiccard.mobilebank:id/jump"]',
snapshotUrls: ['https://i.gkd.li/i/13049013'], snapshotUrls: 'https://i.gkd.li/i/13049013',
}, },
], ],
}, },
{ {
key: 1, key: 1,
name: '全屏广告-弹窗广告', name: '全屏广告-弹窗广告',
activityIds: [
'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity',
],
quickFind: true, quickFind: true,
rules: [ rules: [
{ {
activityIds:
'com.citiccard.mobilebank.card.activity.BillDetailHomeActivity',
matches: '[id="com.citiccard.mobilebank:id/iv_bill_home_cancel"]', matches: '[id="com.citiccard.mobilebank:id/iv_bill_home_cancel"]',
snapshotUrls: ['https://i.gkd.li/i/13049284'], snapshotUrls: 'https://i.gkd.li/i/13049284',
}, },
], ],
}, },
@@ -46,7 +50,7 @@ export default defineAppConfig({
{ {
matches: matches:
'[id="com.citiccard.mobilebank:id/ll_app_upgrade_content"] + [id="com.citiccard.mobilebank:id/iv_close"]', '[id="com.citiccard.mobilebank:id/ll_app_upgrade_content"] + [id="com.citiccard.mobilebank:id/iv_close"]',
snapshotUrls: ['https://i.gkd.li/i/13049283'], snapshotUrls: 'https://i.gkd.li/i/13049283',
}, },
], ],
}, },

View File

@@ -8,8 +8,8 @@ export default defineAppConfig({
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
actionMaximum: 1,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: '[id="com.cmstop.shaoxing:id/roundProgressBar"]', rules: '[id="com.cmstop.shaoxing:id/roundProgressBar"]',
snapshotUrls: 'https://i.gkd.li/i/13611775', snapshotUrls: 'https://i.gkd.li/i/13611775',

View File

@@ -8,10 +8,10 @@ export default defineAppConfig({
{ {
key: -1, key: -1,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
excludeActivityIds: [ excludeActivityIds: [
'com.coolapk.market.view.search.', // 在搜索页面禁用 'com.coolapk.market.view.search.', // 在搜索页面禁用
@@ -21,7 +21,7 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12503773', 'https://i.gkd.li/i/12503773',
'https://i.gkd.li/i/13247610', 'https://i.gkd.li/i/13247610',
@@ -31,7 +31,6 @@ export default defineAppConfig({
], ],
}, },
{ {
quickFind: true,
key: 1, key: 1,
matches: '[text^="跳过"][text.length<=4]', matches: '[text^="跳过"][text.length<=4]',
excludeMatches: '[id="com.coolapk.market:id/item_view"]', excludeMatches: '[id="com.coolapk.market:id/item_view"]',

View File

@@ -7,10 +7,9 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '开屏广告', name: '开屏广告',
desc: '点击X',
quickFind: true, quickFind: true,
actionMaximum: 1,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {

View File

@@ -6,11 +6,10 @@ export default defineAppConfig({
deprecatedKeys: [3], deprecatedKeys: [3],
groups: [ groups: [
{ {
name: '开屏广告',
key: 1, key: 1,
enable: true, name: '开屏广告',
matchTime: 10000,
quickFind: true, quickFind: true,
matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [

View File

@@ -10,6 +10,7 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
@@ -27,7 +28,7 @@ export default defineAppConfig({
key: 1, key: 1,
matches: matches:
'[id="com.cyl.musiccy.ou:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]', '[id="com.cyl.musiccy.ou:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]',
snapshotUrls: ['https://i.gkd.li/i/12775919'], snapshotUrls: 'https://i.gkd.li/i/12775919',
}, },
], ],
}, },

View File

@@ -23,7 +23,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [vid="splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13840775', 'https://i.gkd.li/i/13840775',
'https://i.gkd.li/i/13944086', 'https://i.gkd.li/i/13944086',

View File

@@ -10,7 +10,6 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true,
rules: [ rules: [
{ {
matches: matches:

View File

@@ -7,10 +7,18 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.dianxinai.mobile.MainActivity'], matchTime: 10000,
rules: actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches:
'@ViewGroup[clickable=true] > TextView[text$="s" && text.length=2]', '@ViewGroup[clickable=true] > TextView[text$="s" && text.length=2]',
exampleUrls:
'https://m.gkd.li/57941037/a4b9c558-1d1f-4964-9545-95533253c9d1',
snapshotUrls: 'https://i.gkd.li/i/12847518', snapshotUrls: 'https://i.gkd.li/i/12847518',
}, },
], ],
},
],
}); });

View File

@@ -13,7 +13,8 @@ export default defineAppConfig({
rules: [ rules: [
{ {
quickFind: true, quickFind: true,
matches: '@View[clickable=true] <n * <2 * < [vid="flCSJAdContainer"]', matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13988957', 'https://i.gkd.li/i/13988957',
'https://i.gkd.li/i/13989178', 'https://i.gkd.li/i/13989178',

View File

@@ -7,14 +7,16 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '@[id$="tt_splash_skip_btn"] <<n [vid="containerV"]', matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13378853', 'https://i.gkd.li/i/13378853',
'https://i.gkd.li/i/13546165', 'https://i.gkd.li/i/13546165',
@@ -25,12 +27,6 @@ export default defineAppConfig({
matches: '[text="跳过"]', matches: '[text="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/13538207', snapshotUrls: 'https://i.gkd.li/i/13538207',
}, },
{
key: 2,
matches:
'@View <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] < [vid="containerV"]',
snapshotUrls: 'https://i.gkd.li/i/13857307',
},
], ],
}, },
{ {

View File

@@ -7,21 +7,23 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: matches:
'[id="com.byted.pangle:id/tt_splash_skip_btn"||text^="跳过"&&id=null]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12620568', 'https://i.gkd.li/i/12620568',
'https://i.gkd.li/i/12620577',
'https://i.gkd.li/i/12621997', 'https://i.gkd.li/i/12621997',
], ],
}, },
{ {
quickFind: true, key: 1,
name: '另一种倒计时广告', // 此广告要点击文字相邻的图片,如果直接点击文字会无反应或者触发广告跳转 name: '另一种倒计时广告', // 此广告要点击文字相邻的图片,如果直接点击文字会无反应或者触发广告跳转
matches: matches:
'[id="com.dongqiudi.news:id/ad_skip_time"] + [id="com.dongqiudi.news:id/scale_iv"]', '[id="com.dongqiudi.news:id/ad_skip_time"] + [id="com.dongqiudi.news:id/scale_iv"]',
@@ -30,6 +32,13 @@ export default defineAppConfig({
'https://i.gkd.li/i/12621953', 'https://i.gkd.li/i/12621953',
], ],
}, },
{
key: 2,
matches: '[text^="跳过"][childCount=0][text.length<10]',
exampleUrls:
'https://m.gkd.li/57941037/de316c34-dac0-4ee6-91e7-164432e49a1f',
snapshotUrls: 'https://i.gkd.li/i/12620577',
},
], ],
}, },
{ {

View File

@@ -11,13 +11,16 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: 'TextView[id="com.dubox.drive:id/tv_skip"]', matches: 'TextView[id="com.dubox.drive:id/tv_skip"]',
snapshotUrls: 'https://i.gkd.li/i/13200574', snapshotUrls: 'https://i.gkd.li/i/13200574',
}, },
{ {
matches: ['[id="inmobi-ad"]', '[id="com.dubox.drive:id/ivClose"]'], key: 1,
matches: '@[id="com.dubox.drive:id/ivClose"] - * >2 [id="inmobi-ad"]',
snapshotUrls: 'https://i.gkd.li/i/13688384', snapshotUrls: 'https://i.gkd.li/i/13688384',
}, },
], ],

View File

@@ -18,7 +18,6 @@ export default defineAppConfig({
], ],
}, },
{ {
enable: true,
key: 10, key: 10,
name: '通知提示-请求通知权限提示信息', name: '通知提示-请求通知权限提示信息',
matchTime: 10000, matchTime: 10000,

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1,
quickFind: true, quickFind: true,
rules: 'View[clickable=true] <<n [vid="splash_container"]', matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14039510', snapshotUrls: 'https://i.gkd.li/i/14039510',
}, },
], ],

View File

@@ -7,15 +7,15 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
actionMaximum: 1,
matchTime: 10000,
quickFind: true, quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: matches:
'[id="com.example.maintenancemaster:id/advertisement_countdown_ccd"]', '[id="com.example.maintenancemaster:id/advertisement_countdown_ccd"]',
snapshotUrls: ['https://i.gkd.li/i/12903877'], snapshotUrls: 'https://i.gkd.li/i/12903877',
}, },
], ],
}, },

View File

@@ -11,6 +11,7 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,

View File

@@ -8,14 +8,14 @@ export default defineAppConfig({
key: 1, key: 1,
name: '开屏广告', name: '开屏广告',
desc: '点击跳过', desc: '点击跳过',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true,
rules: [ rules: [
{ {
matches: matches:
'@View <3 FrameLayout[childCount=4] <2 FrameLayout[childCount=2] < FrameLayout < [vid="splashAdContainer"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13926823', snapshotUrls: 'https://i.gkd.li/i/13926823',
}, },
], ],

View File

@@ -7,12 +7,11 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
quickFind: true,
rules: [ rules: [
{ {
key: 0, key: 0,
@@ -20,8 +19,9 @@ export default defineAppConfig({
snapshotUrls: 'https://i.gkd.li/i/12712742', snapshotUrls: 'https://i.gkd.li/i/12712742',
}, },
{ {
key: 1,
matches: matches:
'@View <2 * <2 * < [id="com.firebear.androil:id/adContainerLay"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13088169', 'https://i.gkd.li/i/13088169',
'https://i.gkd.li/i/12855707', 'https://i.gkd.li/i/12855707',

View File

@@ -26,7 +26,7 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionCd: 100, actionCd: 100,
resetMatch: 'app', resetMatch: 'app',
activityIds: ['com.example.flutter3_frame.MainActivity'], activityIds: 'com.example.flutter3_frame.MainActivity',
rules: [ rules: [
{ {
action: 'back', action: 'back',
@@ -41,7 +41,7 @@ export default defineAppConfig({
name: '全屏广告-公告弹窗', name: '全屏广告-公告弹窗',
matchTime: 10000, matchTime: 10000,
resetMatch: 'app', resetMatch: 'app',
activityIds: ['com.example.flutter3_frame.MainActivity'], activityIds: 'com.example.flutter3_frame.MainActivity',
rules: [ rules: [
{ {
action: 'back', action: 'back',
@@ -50,17 +50,5 @@ export default defineAppConfig({
}, },
], ],
}, },
{
// key1、2的延迟工具matchDelay如在key1、2有时候开屏广告时切了后台
// 后台恢复时界面上的弹窗就得等6.5s了
key: 3,
name: '全屏广告-延迟工具(协助key1、2)',
desc: '5s开屏广告后主动触发匹配',
matchDelay: 6500, // 时间太小会导致低性能手机赶不上
matchTime: 10000,
resetMatch: 'app',
quickFind: true,
rules: 'TextView[text="xxxxx"]',
},
], ],
}); });

View File

@@ -11,17 +11,17 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: matches: '[text^="跳过"][text.length<=3]',
'[id="com.flyersoft.seekbooks:id/splash_container1"] >5 [text^="跳过"][text.length<=3]',
snapshotUrls: 'https://i.gkd.li/i/12857275', snapshotUrls: 'https://i.gkd.li/i/12857275',
}, },
{ {
key: 1, key: 1,
matches: matches:
'FrameLayout > TextView[text=null] - View[visibleToUser=true]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13797352', snapshotUrls: 'https://i.gkd.li/i/13797352',
}, },
], ],

View File

@@ -7,13 +7,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/15464fe7-8f80-468d-8972-011cab0ec377', 'https://m.gkd.li/57941037/15464fe7-8f80-468d-8972-011cab0ec377',
snapshotUrls: 'https://i.gkd.li/i/14228338', snapshotUrls: 'https://i.gkd.li/i/14228338',

View File

@@ -7,13 +7,13 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
activityIds: [
'com.qq.e.ads.PortraitADActivity',
'com.qq.e.ads.LandscapeADActivity',
],
matches: '@FrameLayout - LinearLayout [text$="惊喜奖励"]', matches: '@FrameLayout - LinearLayout [text$="惊喜奖励"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12777048', 'https://i.gkd.li/i/12777048',
@@ -22,23 +22,16 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
activityIds: 'com.qq.e.ads.PortraitADActivity',
matches: '[text="放弃奖励离开"]', matches: '[text="放弃奖励离开"]',
snapshotUrls: 'https://i.gkd.li/i/12777058', snapshotUrls: 'https://i.gkd.li/i/12777058',
}, },
{ {
key: 2, key: 2,
activityIds: 'com.qq.e.ads.PortraitADActivity',
matches: '@ImageView - WebView > [text="优量汇-插屏视频endcard"]', matches: '@ImageView - WebView > [text="优量汇-插屏视频endcard"]',
snapshotUrls: 'https://i.gkd.li/i/12777051', snapshotUrls: 'https://i.gkd.li/i/12777051',
}, },
{ {
key: 3, key: 3,
activityIds: [
'com.qq.e.ads.PortraitADActivity',
'com.gentle.ppcat.MainActivity',
'com.hihonor.android.launcher.drawer.DrawerLauncher',
],
matches: '[desc="关闭喵"]', matches: '[desc="关闭喵"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12777059', 'https://i.gkd.li/i/12777059',

View File

@@ -3,16 +3,8 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({ export default defineAppConfig({
id: 'com.handsgo.jiakao.android', id: 'com.handsgo.jiakao.android',
name: '驾考宝典', name: '驾考宝典',
deprecatedKeys: [0],
groups: [ groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id=`com.handsgo.jiakao.android:id/closeLayout`]', // 缺少快照
},
{ {
key: 1, key: 1,
name: '局部广告-悬浮广告', name: '局部广告-悬浮广告',

View File

@@ -12,12 +12,8 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: [
'[id="com.huawei.android.totemweather:id/rl_splash_container"]',
'[text.length<=4][text^="跳过"]', // 无法使用 quickFind
],
action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。 action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12928975', 'https://i.gkd.li/i/12928975',
'https://i.gkd.li/i/13226636', 'https://i.gkd.li/i/13226636',

View File

@@ -10,14 +10,18 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: { rules: [
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', {
action: 'clickCenter', action: 'clickCenter',
}, matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
exampleUrls:
'https://m.gkd.li/57941037/0fdba1cd-ea19-4e7e-9a1e-14781fdb5242',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12814007', 'https://i.gkd.li/i/12814007',
'https://i.gkd.li/i/12819351', 'https://i.gkd.li/i/12819351',
], ],
}, },
], ],
},
],
}); });

View File

@@ -12,9 +12,9 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
action: 'clickCenter', action: 'clickCenter',
snapshotUrls: ['https://i.gkd.li/i/12745222'], matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
snapshotUrls: 'https://i.gkd.li/i/12745222',
}, },
], ],
}, },
@@ -41,7 +41,7 @@ export default defineAppConfig({
key: 2, key: 2,
name: '分段广告-广告反馈下拉窗', name: '分段广告-广告反馈下拉窗',
quickFind: true, quickFind: true,
activityIds: ['com.huawei.openalliance.ad.activity.FeedbackActivity'], activityIds: 'com.huawei.openalliance.ad.activity.FeedbackActivity',
rules: [ rules: [
{ {
matches: matches:
@@ -61,12 +61,12 @@ export default defineAppConfig({
key: 3, key: 3,
name: '局部广告-播放界面直播浮窗', name: '局部广告-播放界面直播浮窗',
quickFind: true, quickFind: true,
activityIds: ['com.android.mediacenter.MainActivity'], activityIds: 'com.android.mediacenter.MainActivity',
rules: [ rules: [
{ {
matches: matches:
'TextView[id="com.huawei.music:id/live_info"] < LinearLayout -2 [id="com.huawei.music:id/close_button"]', 'TextView[id="com.huawei.music:id/live_info"] < LinearLayout -2 [id="com.huawei.music:id/close_button"]',
snapshotUrls: ['https://i.gkd.li/i/13067649'], snapshotUrls: 'https://i.gkd.li/i/13067649',
}, },
], ],
}, },
@@ -74,7 +74,7 @@ export default defineAppConfig({
key: 4, key: 4,
name: '局部广告-播放(音乐、视频)页面广告', name: '局部广告-播放(音乐、视频)页面广告',
quickFind: true, quickFind: true,
activityIds: ['com.android.mediacenter.MainActivity'], activityIds: 'com.android.mediacenter.MainActivity',
rules: [ rules: [
{ {
matches: matches:
@@ -91,13 +91,11 @@ export default defineAppConfig({
key: 5, key: 5,
name: '局部广告-评论区广告', name: '局部广告-评论区广告',
quickFind: true, quickFind: true,
activityIds: [ activityIds: 'com.android.mediacenter.comment.ui.CommentListMainActivity',
'com.android.mediacenter.comment.ui.CommentListMainActivity',
],
rules: [ rules: [
{ {
matches: '[id="com.huawei.music:id/ad_icon"]', matches: '[id="com.huawei.music:id/ad_icon"]',
snapshotUrls: ['https://i.gkd.li/i/13067937'], snapshotUrls: 'https://i.gkd.li/i/13067937',
}, },
], ],
}, },
@@ -105,7 +103,7 @@ export default defineAppConfig({
key: 6, key: 6,
name: '分段广告-视频播放页广告反馈', name: '分段广告-视频播放页广告反馈',
quickFind: true, quickFind: true,
activityIds: ['com.android.mediacenter.MainActivity'], activityIds: 'com.android.mediacenter.MainActivity',
rules: [ rules: [
{ {
matches: 'TextView[text="不感兴趣"][id$="title"][visibleToUser=true]', matches: 'TextView[text="不感兴趣"][id$="title"][visibleToUser=true]',
@@ -120,7 +118,7 @@ export default defineAppConfig({
key: 7, key: 7,
name: '局部广告-播放器上滑广告', name: '局部广告-播放器上滑广告',
quickFind: true, quickFind: true,
activityIds: ['com.android.mediacenter.MainActivity'], activityIds: 'com.android.mediacenter.MainActivity',
rules: [ rules: [
{ {
matches: matches:

View File

@@ -1,16 +0,0 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.hxak.liangongbao',
name: '链工宝',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id=`com.hxak.liangongbao:id/time_down`]',
},
],
});

View File

@@ -49,7 +49,6 @@ export default defineAppConfig({
], ],
}, },
{ {
enable: true,
key: 10, key: 10,
name: '定位提示-请求位置权限弹窗', name: '定位提示-请求位置权限弹窗',
desc: '自动点击取消', desc: '自动点击取消',

View File

@@ -10,13 +10,13 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/6f4561e5-b998-43f9-8848-b6b43d045a3d', 'https://m.gkd.li/57941037/6f4561e5-b998-43f9-8848-b6b43d045a3d',
snapshotUrls: 'https://i.gkd.li/i/14189228', snapshotUrls: 'https://i.gkd.li/i/14189228',

View File

@@ -7,20 +7,26 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: ['com.ksf.yyx.MainActivity'], quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: '[id="com.ksf.yyx:id/ksad_splash_circle_skip_view"]', matches: '[id="com.ksf.yyx:id/ksad_splash_circle_skip_view"]',
snapshotUrls: 'https://i.gkd.li/i/12775918', snapshotUrls: 'https://i.gkd.li/i/12775918',
}, },
{ {
key: 1,
matches: matches:
'[id="com.ksf.yyx:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]', '[id="com.ksf.yyx:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]',
snapshotUrls: ['https://i.gkd.li/i/12775919'], snapshotUrls: 'https://i.gkd.li/i/12775919',
}, },
{ {
matches: key: 2,
'FrameLayout > FrameLayout > [text^="跳过 "][text.length<=4][clickable=true]', matches: '[text^="跳过 "][text.length<=4][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/12775926', snapshotUrls: 'https://i.gkd.li/i/12775926',
}, },
], ],

View File

@@ -12,8 +12,9 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/b390043b-3d13-451e-b8aa-15c2a0157071', 'https://m.gkd.li/57941037/b390043b-3d13-451e-b8aa-15c2a0157071',
snapshotUrls: 'https://i.gkd.li/i/14325697', snapshotUrls: 'https://i.gkd.li/i/14325697',

View File

@@ -14,7 +14,7 @@ export default defineAppConfig({
{ {
quickFind: true, quickFind: true,
matches: matches:
'@View[clickable=true] <<n [id="com.leixun.taofen8:id/fl_advert_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13937324', snapshotUrls: 'https://i.gkd.li/i/13937324',
}, },
], ],

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14204158', snapshotUrls: 'https://i.gkd.li/i/14204158',
}, },
], ],

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14232395', snapshotUrls: 'https://i.gkd.li/i/14232395',
}, },
{ {

View File

@@ -7,10 +7,10 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true,
rules: [ rules: [
{ {
matches: '[text^="关闭"][text.length=4]', matches: '[text^="关闭"][text.length=4]',

View File

@@ -19,36 +19,28 @@ export default defineAppConfig({
{ {
key: 2, key: 2,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14018247',
},
// 该应用存在特殊开屏广告,被全局规则排除,以下为之前的开屏广告规则
{
key: 1,
quickFind: true,
matches:
'[id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"] >n [text^="跳过"][text.length<=4]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12846434', 'https://i.gkd.li/i/14018247',
'https://i.gkd.li/i/13059834', 'https://i.gkd.li/i/13259303',
'https://i.gkd.li/i/13695497',
], ],
}, },
{ {
key: 2, key: 1,
quickFind: true, matches: '[text^="跳过"][text.length<=4]',
matches:
'[id$="tt_splash_skip_btn"] <<n [id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13259303', 'https://i.gkd.li/i/12846434',
'https://i.gkd.li/i/13695497', 'https://i.gkd.li/i/13059834',
], ],
}, },
], ],

View File

@@ -1,18 +0,0 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.midea.vm.washer',
name: 'U净',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/13407199',
},
],
});

View File

@@ -7,10 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
resetMatch: 'app', resetMatch: 'app',
actionMaximum: 1, actionMaximum: 1,
rules: '[id="android:id/content"] >n FrameLayout[childCount=4] > View', rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13832104', snapshotUrls: 'https://i.gkd.li/i/13832104',
}, },
], ],

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: rules:
'@View[clickable=true] <3 * <2 * < [vid="splash_container_half_size"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13849831', snapshotUrls: 'https://i.gkd.li/i/13849831',
}, },
], ],

View File

@@ -7,6 +7,7 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@@ -14,7 +15,6 @@ export default defineAppConfig({
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: '[text*="跳过"][text.length<10][visibleToUser=true]', matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/f1099ff6-38aa-4393-8cf5-418ab8ffd20e', 'https://m.gkd.li/57941037/f1099ff6-38aa-4393-8cf5-418ab8ffd20e',
@@ -23,7 +23,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/8b0c3f96-ae36-4799-87c2-1ea37c3d2d4c', 'https://m.gkd.li/57941037/8b0c3f96-ae36-4799-87c2-1ea37c3d2d4c',
snapshotUrls: [ snapshotUrls: [

View File

@@ -12,15 +12,16 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: matches:
'@View[clickable=true] <3 * <2 * < FrameLayout[id="com.mymoney:id/external_ad_content"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13855760', snapshotUrls: 'https://i.gkd.li/i/13855760',
}, },
{ {
key: 1, //全局规则将该应用排除 key: 1,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13939216', 'https://i.gkd.li/i/13939216',

View File

@@ -7,15 +7,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
excludeMatches: '[id="com.netease.mail:id/ad_skip"][clickable=false]', excludeMatches: '[id="com.netease.mail:id/ad_skip"][clickable=false]',
snapshotUrls: [ snapshotUrls: [
@@ -28,18 +27,12 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
matches: '[id$="tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/i/12999739',
},
{
key: 2,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14046124', snapshotUrls: 'https://i.gkd.li/i/14046124',
}, },
{ {
key: 3, key: 2,
quickFind: true,
position: { position: {
left: 'width * 0.9016', left: 'width * 0.9016',
top: 'width * 0.1557', top: 'width * 0.1557',

View File

@@ -3,17 +3,19 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({ export default defineAppConfig({
id: 'com.netease.mobimail', id: 'com.netease.mobimail',
name: '网易邮箱', name: '网易邮箱',
deprecatedKeys: [2],
groups: [ groups: [
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'[text*="跳过"][text.length<=10][id!="com.netease.mobimail:id/ad_skip"]', '[text*="跳过"][text.length<=10][id!="com.netease.mobimail:id/ad_skip"]',
snapshotUrls: [ snapshotUrls: [
@@ -24,7 +26,8 @@ export default defineAppConfig({
}, },
{ {
key: 1, key: 1,
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/12686093', snapshotUrls: 'https://i.gkd.li/i/12686093',
}, },
{ {
@@ -53,12 +56,5 @@ export default defineAppConfig({
}, },
], ],
}, },
{
key: 2,
name: '开屏广告-切回时的开屏广告',
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
rules: '@LinearLayout > TextView[text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/12685745',
},
], ],
}); });

View File

@@ -11,18 +11,19 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/5c2f4dfe-d7ff-415d-81f0-bca6b5b628cb', 'https://m.gkd.li/57941037/5c2f4dfe-d7ff-415d-81f0-bca6b5b628cb',
snapshotUrls: 'https://i.gkd.li/i/14214392', snapshotUrls: 'https://i.gkd.li/i/14214392',
}, },
{ {
key: 1, key: 1,
actionCdKey: 0,
matches: matches:
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]', '[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
}, },

View File

@@ -10,13 +10,12 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: matches:
'@View <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] < FrameLayout[childCount=1] < [vid="fl_splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13855443', snapshotUrls: 'https://i.gkd.li/i/13855443',
}, },
], ],

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
resetMatch: 'app', resetMatch: 'app',
actionMaximum: 1, actionMaximum: 1,
rules: rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/14031922', 'https://i.gkd.li/i/14031922',
'https://i.gkd.li/i/14322264', 'https://i.gkd.li/i/14322264',

View File

@@ -14,10 +14,9 @@ export default defineAppConfig({
rules: [ rules: [
{ {
matches: '[id="com.picacomic.fregata:id/imageButton_popup_close"]', matches: '[id="com.picacomic.fregata:id/imageButton_popup_close"]',
exampleUrls: [ exampleUrls:
'https://m.gkd.li/83610194/2a9a1179-3a50-4317-900a-42c8197517ed', 'https://m.gkd.li/83610194/2a9a1179-3a50-4317-900a-42c8197517ed',
], snapshotUrls: 'https://i.gkd.li/i/13422624',
snapshotUrls: ['https://i.gkd.li/i/13422624'],
}, },
], ],
}, },
@@ -33,10 +32,9 @@ export default defineAppConfig({
{ {
matches: matches:
'[id="com.picacomic.fregata:id/button_dialog_announcement_negative"][text="確定"]', '[id="com.picacomic.fregata:id/button_dialog_announcement_negative"][text="確定"]',
exampleUrls: [ exampleUrls:
'https://m.gkd.li/83610194/a5cbd7ce-79b4-49da-ba01-2b7db907d1f1', 'https://m.gkd.li/83610194/a5cbd7ce-79b4-49da-ba01-2b7db907d1f1',
], snapshotUrls: 'https://i.gkd.li/i/13422767',
snapshotUrls: ['https://i.gkd.li/i/13422767'],
}, },
], ],
}, },
@@ -52,10 +50,9 @@ export default defineAppConfig({
rules: [ rules: [
{ {
matches: '[id="com.picacomic.fregata:id/imageButton_banner_close"]', matches: '[id="com.picacomic.fregata:id/imageButton_banner_close"]',
exampleUrls: [ exampleUrls:
'https://m.gkd.li/83610194/92feb979-d75a-4ee5-a880-da2e4250d1e3', 'https://m.gkd.li/83610194/92feb979-d75a-4ee5-a880-da2e4250d1e3',
], snapshotUrls: 'https://i.gkd.li/i/13423009',
snapshotUrls: ['https://i.gkd.li/i/13423009'],
}, },
], ],
}, },
@@ -72,18 +69,16 @@ export default defineAppConfig({
{ {
matches: matches:
'[id="com.picacomic.fregata:id/textView_profile_punch_in"][text="打嗶卡"]', '[id="com.picacomic.fregata:id/textView_profile_punch_in"][text="打嗶卡"]',
exampleUrls: [ exampleUrls:
'https://m.gkd.li/83610194/d53cc0cb-2a3e-4398-a415-3b8083edd328', 'https://m.gkd.li/83610194/d53cc0cb-2a3e-4398-a415-3b8083edd328',
], snapshotUrls: 'https://i.gkd.li/i/13422844',
snapshotUrls: ['https://i.gkd.li/i/13422844'],
}, },
{ {
matches: matches:
'[id="com.picacomic.fregata:id/button_dialog_custom_positive"][text="確定"]', '[id="com.picacomic.fregata:id/button_dialog_custom_positive"][text="確定"]',
exampleUrls: [ exampleUrls:
'https://m.gkd.li/83610194/90048fce-fe89-4ac7-9ae6-fe3d7b99aeaf', 'https://m.gkd.li/83610194/90048fce-fe89-4ac7-9ae6-fe3d7b99aeaf',
], snapshotUrls: 'https://i.gkd.li/i/13422874',
snapshotUrls: ['https://i.gkd.li/i/13422874'],
}, },
], ],
}, },

View File

@@ -7,7 +7,11 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.qiekj.user.MainActivity', quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,

View File

@@ -10,6 +10,7 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,

View File

@@ -7,13 +7,14 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 1,
rules: [ rules: [
{ {
key: 1, key: 1,
quickFind: true,
matches: '[text^="跳过"][text.length<=10]', matches: '[text^="跳过"][text.length<=10]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12843368', 'https://i.gkd.li/i/12843368',
@@ -24,7 +25,7 @@ export default defineAppConfig({
{ {
key: 2, key: 2,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13694858', 'https://i.gkd.li/i/13694858',
'https://i.gkd.li/i/13794403', 'https://i.gkd.li/i/13794403',

View File

@@ -5,25 +5,24 @@ export default defineAppConfig({
name: '软件包安装程序', name: '软件包安装程序',
groups: [ groups: [
{ {
name: '功能类-跳过安全使用协议',
key: 2, key: 2,
name: '功能类-跳过安全使用协议',
desc: '自动点击略过并关闭反恶意软件协议', desc: '自动点击略过并关闭反恶意软件协议',
enable: true,
rules: [ rules: [
{ {
key: 1, key: 1,
matches: ['[text *="略过"]'], matches: '[text *="略过"]',
snapshotUrls: ['https://i.gkd.li/i/13255641'], snapshotUrls: 'https://i.gkd.li/i/13255641',
}, },
{ {
key: 0, key: 0,
matches: ['[text^="是否打开反恶意软件"]', '[text="取消"]'], matches: ['[text^="是否打开反恶意软件"]', '[text="取消"]'],
snapshotUrls: ['https://i.gkd.li/i/13233686'], snapshotUrls: 'https://i.gkd.li/i/13233686',
}, },
{ {
key: 2, key: 2,
matches: ['[text^="打开应用程序保护?"]', '[text="取消"]'], matches: ['[text^="打开应用程序保护?"]', '[text="取消"]'],
snapshotUrls: ['https://i.gkd.li/i/13650528'], snapshotUrls: 'https://i.gkd.li/i/13650528',
}, },
], ],
}, },

View File

@@ -7,6 +7,7 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@@ -14,7 +15,6 @@ export default defineAppConfig({
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/07c9f980-aa0f-4044-a58d-299a2a358857', 'https://m.gkd.li/57941037/07c9f980-aa0f-4044-a58d-299a2a358857',
@@ -23,7 +23,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/3b5cba55-7024-4d3e-a21c-7b1d540515bc', 'https://m.gkd.li/57941037/3b5cba55-7024-4d3e-a21c-7b1d540515bc',
snapshotUrls: 'https://i.gkd.li/i/14511463', snapshotUrls: 'https://i.gkd.li/i/14511463',

View File

@@ -11,11 +11,10 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
desc: '点击跳过',
rules: [ rules: [
{ {
matches: matches:
'@View[clickable=true] <3 * <2 * < FrameLayout[id="com.superrhino.rarering:id/fl_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13853858', snapshotUrls: 'https://i.gkd.li/i/13853858',
}, },
], ],

View File

@@ -7,7 +7,9 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.taobao.ltao.maintab.MainFrameActivity', matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: rules:
'[id="com.taobao.litetao:id/root_layout"] > TextView[text^="还剩"&&text$="秒"]', '[id="com.taobao.litetao:id/root_layout"] > TextView[text^="还剩"&&text$="秒"]',
snapshotUrls: 'https://i.gkd.li/i/12774851', snapshotUrls: 'https://i.gkd.li/i/12774851',

View File

@@ -3,16 +3,8 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({ export default defineAppConfig({
id: 'com.taobao.taobao', id: 'com.taobao.taobao',
name: '淘宝', name: '淘宝',
deprecatedKeys: [0],
groups: [ groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.taobao.taobao:id/close"]',
},
{ {
key: 1, key: 1,
name: '全屏广告-限时福利弹窗', name: '全屏广告-限时福利弹窗',

View File

@@ -3,17 +3,8 @@ import { defineAppConfig } from '../types';
export default defineAppConfig({ export default defineAppConfig({
id: 'com.taptap', id: 'com.taptap',
name: 'TapTap', name: 'TapTap',
deprecatedKeys: [1],
groups: [ groups: [
{
key: 1,
name: '开屏广告', //占位,避免和全局开屏广告规则误触
rules: [
{
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
snapshotUrls: ['https://i.gkd.li/i/13946250'],
},
],
},
{ {
key: 2, key: 2,
name: '局部广告-游戏浏览页面推荐广告', name: '局部广告-游戏浏览页面推荐广告',

View File

@@ -16,7 +16,6 @@ export default defineAppConfig({
matches: '@LinearLayout[clickable=true] > TextView[text="跳过"]', matches: '@LinearLayout[clickable=true] > TextView[text="跳过"]',
snapshotUrls: 'https://i.gkd.li/i/12472630', snapshotUrls: 'https://i.gkd.li/i/12472630',
}, },
'@View[id=null] + ImageView + FrameLayout TextView[text=`向上滑动或点击查看`]', // 缺少快照
], ],
}, },
{ {

View File

@@ -14,15 +14,7 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: 'TextView[text*="跳过"][text.length<=10]', key: 0,
snapshotUrls: [
'https://i.gkd.li/i/12700227',
'https://i.gkd.li/i/12700122',
'https://i.gkd.li/i/12700541',
'https://i.gkd.li/i/12910953',
],
},
{
action: 'clickCenter', action: 'clickCenter',
matches: 'TextView[text*="跳过"][text.length<=10]', matches: 'TextView[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/14049316', snapshotUrls: 'https://i.gkd.li/i/14049316',

View File

@@ -8,13 +8,13 @@ export default defineAppConfig({
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
matchTime: 15000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: '[id="com.tencent.ysdkcore:id/com_tencent_ysdk_icon_h5_xx"]', matches: '[id="com.tencent.ysdkcore:id/com_tencent_ysdk_icon_h5_xx"]',
snapshotUrls: ['https://i.gkd.li/i/13276317'], snapshotUrls: 'https://i.gkd.li/i/13276317',
}, },
], ],
}, },

View File

@@ -12,8 +12,9 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/d0f2f014-49e7-4f00-b207-c90e870693ea', 'https://m.gkd.li/57941037/d0f2f014-49e7-4f00-b207-c90e870693ea',
snapshotUrls: 'https://i.gkd.li/i/14511621', snapshotUrls: 'https://i.gkd.li/i/14511621',

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
resetMatch: 'app', resetMatch: 'app',
actionMaximum: 1, actionMaximum: 1,
rules: rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13830230', 'https://i.gkd.li/i/13830230',
'https://i.gkd.li/i/14052232', 'https://i.gkd.li/i/14052232',

View File

@@ -12,8 +12,9 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/722ac7cf-f0ef-4cae-9351-60150b5425d9', 'https://m.gkd.li/57941037/722ac7cf-f0ef-4cae-9351-60150b5425d9',
snapshotUrls: 'https://i.gkd.li/i/14446438', snapshotUrls: 'https://i.gkd.li/i/14446438',

View File

@@ -30,19 +30,19 @@ export default defineAppConfig({
{ {
key: 3, key: 3,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true,
matches: '@View[clickable=true] <2 * <2 * < [vid="flTTContainer"]', matches: '@View[clickable=true] <2 * <2 * < [vid="flTTContainer"]',
snapshotUrls: 'https://i.gkd.li/i/14021540', snapshotUrls: 'https://i.gkd.li/i/14021540',
}, },
{ {
key: 3, key: 1,
quickFind: true,
matches: '[text^="跳过"][text.length<=6]', matches: '[text^="跳过"][text.length<=6]',
snapshotUrls: 'https://i.gkd.li/i/13399124', snapshotUrls: 'https://i.gkd.li/i/13399124',
}, },

View File

@@ -7,34 +7,26 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
name: '"跳过+倒计时"型',
quickFind: true,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/13346166', snapshotUrls: 'https://i.gkd.li/i/13346166',
}, },
{ {
key: 1, key: 1,
name: '"圆圈跳过"型-穿山甲SDK',
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/i/13346451',
},
{
key: 2,
matches: matches:
'[id="com.waimaiii.waimaiii:id/flContainer"] >n FrameLayout[childCount=3] > FrameLayout + @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13694837', snapshotUrls: [
}, 'https://i.gkd.li/i/13346451',
{ 'https://i.gkd.li/i/13694837',
key: 3, 'https://i.gkd.li/i/13930573',
matches: ],
'[id="android:id/content"] >9 FrameLayout + View[clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/13930573',
}, },
], ],
}, },

View File

@@ -7,18 +7,22 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
desc: '字节广告SDK',
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
'[id$="tt_splash_skip_btn"]', {
'@View[clickable=true][id=null][visibleToUser=true] +n TextView[clickable=true]', quickFind: true,
], matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls:
'https://m.gkd.li/57941037/5f7651a1-de68-4ca2-bbb6-b42b6b7e73f1',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/13239194', 'https://i.gkd.li/i/13239194',
'https://i.gkd.li/i/13723967', 'https://i.gkd.li/i/13723967',
], ],
}, },
], ],
},
],
}); });

View File

@@ -6,7 +6,7 @@ export default defineAppConfig({
groups: [ groups: [
{ {
key: 1, key: 1,
name: '全屏广告-开屏广告弹窗', name: '全屏广告-广告弹窗',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
resetMatch: 'app', resetMatch: 'app',

View File

@@ -7,18 +7,21 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/13727905', snapshotUrls: 'https://i.gkd.li/i/13727905',
}, },
{ {
key: 1,
matches: matches:
'@View <3 FrameLayout[childCount=4] <2 FrameLayout[childCount=2] < [vid="ad_view"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13867880', snapshotUrls: 'https://i.gkd.li/i/13867880',
}, },
], ],

View File

@@ -8,16 +8,14 @@ export default defineAppConfig({
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true, quickFind: true,
actionMaximum: 1,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: matches:
'@View <2 FrameLayout <2 FrameLayout < [vid="splash_container"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13827755', snapshotUrls: 'https://i.gkd.li/i/13827755',
}, },
], ],

View File

@@ -1,16 +0,0 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.yek.android.kfc.activitys',
name: '肯德基',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id=`com.yek.android.kfc.activitys:id/splash_tv_3`]',
},
],
});

View File

@@ -12,8 +12,9 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
quickFind: true,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/6df5defd-2455-4c58-ad9a-a6ccab1c5e96', 'https://m.gkd.li/57941037/6df5defd-2455-4c58-ad9a-a6ccab1c5e96',
snapshotUrls: 'https://i.gkd.li/i/14429559', snapshotUrls: 'https://i.gkd.li/i/14429559',

View File

@@ -13,7 +13,7 @@ export default defineAppConfig({
rules: [ rules: [
{ {
matches: 'TextView[id$="tv_close_time"&&text^="关闭"]', matches: 'TextView[id$="tv_close_time"&&text^="关闭"]',
snapshotUrls: ['https://i.gkd.li/i/12644260'], snapshotUrls: 'https://i.gkd.li/i/12644260',
}, },
], ],
}, },
@@ -24,7 +24,7 @@ export default defineAppConfig({
{ {
matches: matches:
'[text*="确定要退出"] < LinearLayout +n LinearLayout > TextView[id$="tv_exit_sure"]', '[text*="确定要退出"] < LinearLayout +n LinearLayout > TextView[id$="tv_exit_sure"]',
snapshotUrls: ['https://i.gkd.li/i/12645513'], snapshotUrls: 'https://i.gkd.li/i/12645513',
}, },
], ],
}, },

View File

@@ -13,7 +13,8 @@ export default defineAppConfig({
rules: [ rules: [
{ {
quickFind: true, quickFind: true,
matches: '@View[clickable=true] <<n [vid="splash_container"]', matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13960341', snapshotUrls: 'https://i.gkd.li/i/13960341',
}, },
], ],

View File

@@ -11,7 +11,6 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {

View File

@@ -7,14 +7,16 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [ snapshotUrls: [
'https://i.gkd.li/i/12683145', 'https://i.gkd.li/i/12683145',
'https://i.gkd.li/i/12683173', 'https://i.gkd.li/i/12683173',
@@ -27,11 +29,7 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: [ snapshotUrls: 'https://i.gkd.li/i/14553551',
'https://i.gkd.li/i/12683168',
'https://i.gkd.li/i/12683211',
'https://i.gkd.li/i/12748893',
],
}, },
], ],
}, },

View File

@@ -7,11 +7,12 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: rules:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14204126', snapshotUrls: 'https://i.gkd.li/i/14204126',
}, },
{ {

View File

@@ -10,26 +10,23 @@ export default defineAppConfig({
resetMatch: 'app', resetMatch: 'app',
actionMaximum: 1, actionMaximum: 1,
matchTime: 10000, matchTime: 10000,
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
quickFind: true, quickFind: true,
name: '全局规则-1',
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/i/13987038', snapshotUrls: 'https://i.gkd.li/i/13987038',
}, },
{ {
key: 1, key: 1,
name: '字节广告SDK', quickFind: true,
matches: matches:
'TextView - @View[clickable=true] <n FrameLayout <2 FrameLayout[childCount=2]', // 字节开屏通用规则 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]', // 字节开屏通用规则
snapshotUrls: 'https://i.gkd.li/i/13978978', snapshotUrls: 'https://i.gkd.li/i/13978978',
}, },
{ {
key: 2, key: 2,
name: '全局规则-2',
matches: matches:
'[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]', '[childCount=0][visibleToUser=true][(text.length<10&&(text*="跳过"||text*="跳過"||text*="skip"||text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || (vid*="count" && vid*="down" && vid!*="download") || desc*="跳过" || desc*="skip"]',
}, },

View File

@@ -10,15 +10,23 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
'[id="me.zhouzhuo810.zznote:id/native_ad_container"] + [id^="me.zhouzhuo810.zznote:id/btn_next"]', {
'@LinearLayout > [text*="跳过"]', key: 0,
], matches: '[id="me.zhouzhuo810.zznote:id/btn_next_2"]',
snapshotUrls: [ exampleUrls:
'https://i.gkd.li/i/12798528', 'https://m.gkd.li/57941037/b20641b8-e7c6-44d6-82b4-5e501e8a491d',
'https://i.gkd.li/i/12912217', snapshotUrls: 'https://i.gkd.li/i/12798528',
'https://i.gkd.li/i/13059838', },
'https://i.gkd.li/i/13800235', //@LinearLayout > [text*="跳过"] {
key: 1,
quickFind: true,
matches: '@LinearLayout > [text*="跳过"]',
exampleUrls:
'https://m.gkd.li/57941037/c23cca9b-b4fa-4533-9a1d-4bb4bc9e4b86',
snapshotUrls: 'https://i.gkd.li/i/13800235',
},
], ],
}, },
], ],

View File

@@ -7,29 +7,26 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
quickFind: true,
actionCdKey: 0,
actionMaximumKey: 0, actionMaximumKey: 0,
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '[id$="tt_splash_skip_btn"] <<n [vid="adsFl"]', matches:
snapshotUrls: 'https://i.gkd.li/i/13476862', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: [
'https://i.gkd.li/i/13476862',
'https://i.gkd.li/i/13820450',
],
}, },
{ {
key: 1, key: 1,
matches: ['[vid="adsFl"]', '[text^="跳过"][text.length<=10]'], matches: '[text^="跳过"][text.length<=10][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/13625367', snapshotUrls: 'https://i.gkd.li/i/13625367',
}, },
{
key: 2,
matches:
'@View <3 FrameLayout <2 FrameLayout < FrameLayout < FrameLayout < [vid="adsFl"]',
snapshotUrls: 'https://i.gkd.li/i/13820450',
},
], ],
}, },
], ],

View File

@@ -7,25 +7,25 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
actionMaximumKey: 0,
rules: [ rules: [
{ {
quickFind: true, key: 0,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: ['https://i.gkd.li/i/12673680'], snapshotUrls: 'https://i.gkd.li/i/12673680',
}, },
{ {
quickFind: true, key: 1,
matches: matches:
'@View <3 FrameLayout <2 FrameLayout < FrameLayout < [vid="fl_third_ad"]', 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/13826577', snapshotUrls: [
}, 'https://i.gkd.li/i/13826577',
{ 'https://i.gkd.li/i/13224627',
// 无法使用 quickFind ],
matches: '[id$="tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/i/13224627',
}, },
], ],
}, },

View File

@@ -8,7 +8,6 @@ export default defineAppConfig({
{ {
key: -1, key: -1,
name: '开屏广告', name: '开屏广告',
desc: '开屏广告,任意界面切回APP开屏广告',
quickFind: true, quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,