feat(NGA玩家社区): 调整开屏规则, 新的卡片广告 (#1973)

close #1964
This commit is contained in:
walklty 2023-11-10 00:42:45 +08:00 committed by GitHub
parent b652f4759b
commit 5df28b0282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,9 @@ export default defineAppConfig({
key: 0,
name: '开屏广告',
quickFind: true,
matchLauncher: true,
activityIds: [
'gov.pianzong.androidnga.activity.LoadingActivity',
'gov.pianzong.androidnga.activity.WarmstartActivity',
],
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
'[id="gov.pianzong.androidnga:id/iv_tg_ad"]',
'[id="gov.pianzong.androidnga:id/ksad_splash_circle_skip_view"]',
@ -34,7 +32,7 @@ export default defineAppConfig({
{
key: 2,
name: '话题-帖子列表广告',
desc: '点击卡片右下角x按钮关闭广告',
desc: '点击卡片x按钮关闭广告',
activityIds:
'gov.pianzong.androidnga.activity.forumdetail.ForumDetailActivity',
rules: [
@ -47,6 +45,11 @@ export default defineAppConfig({
'TextView[text!=null] - ImageView < LinearLayout[childCount=2] + FrameLayout[childCount=1] > ImageView[id=null]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12706140'],
},
{
matches:
'[text="广告"] - [id="gov.pianzong.androidnga:id/iv_information_ad_close"]',
snapshotUrls: ['https://i.gkd.li/import/13303236'],
},
],
},
{