feat(酷安): 开屏广告,规则优化 (#1152)

close #1144
This commit is contained in:
aoguai 2023-10-17 00:30:44 +08:00 committed by GitHub
parent e8ea4aa8e2
commit 11aa82dbcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,20 +7,23 @@ export default defineAppConfig({
{
key: -1,
name: '开屏广告',
quickFind: true,
activityIds: [
'com.coolapk.market.view.splash.SplashActivity',
'com.coolapk.market.view.main.MainActivity',
],
rules: '[id$=":id/tt_splash_skip_btn"]',
rules: ['[id$=":id/tt_splash_skip_btn"]', 'TextView[text^="跳过"]'],
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12472612',
'https://gkd-kit.gitee.io/import/12503773',
'https://gkd-kit.gitee.io/import/12917990', // TextView
],
},
{
key: 0,
name: '卡片广告',
desc: '点击卡片右上角按钮->免广告-点击不感兴趣->选择关闭原因-点击不感兴趣',
quickFind: true,
activityIds: [
'com.coolapk.market.view.main.MainActivity', // 缺少快照
'com.coolapk.market.view.base.SimpleAlphaActivity', // 缺少快照
@ -70,6 +73,7 @@ export default defineAppConfig({
},
{
key: 1,
quickFind: true,
name: '关闭升级弹窗',
activityIds: 'com.coolapk.market.view.main.MainActivity',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12503762',