feat(豆瓣): 详情页广告弹窗(补充 activityId) (#1954)

* Create com.ikang.official.ts

* Delete src/apps/com.ikang.official.ts

* feat(豆瓣): 详情页广告弹窗(补充 activityId)

* feat(豆瓣): 规则优化

* feat(豆瓣): 规则优化

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
yanyu2023
2023-11-10 00:15:52 +08:00
committed by GitHub
parent bcbb1d4172
commit 229c5ad3d7

View File

@@ -182,17 +182,22 @@ export default defineAppConfig({
}, },
{ {
key: 10, key: 10,
name: '弹窗', name: '弹窗广告',
desc: '浏览详情时弹窗广告', desc: '浏览详情时弹窗广告,点击右上角x',
matchLauncher: true,
quickFind: true,
rules: { rules: {
activityIds: [ activityIds: [
'com.douban.frodo.subject.structure.activity.MovieActivity', 'com.douban.frodo.subject.structure.activity.MovieActivity',
], ],
matches: [ matches: [
'[text="查看详情"]', '[text*="看"][text="查看详情"||text^="去"&&text$="看看"]',
'FrameLayout[childCount=5] > FrameLayout > ImageView', 'FrameLayout[childCount=5] > FrameLayout[childCount=1] > ImageView',
],
snapshotUrls: [
'https://i.gkd.li/import/13195565',
'https://gkd-kit.gitee.io/import/13296656', //新增ids对应快照
], ],
snapshotUrls: 'https://i.gkd.li/import/13195565',
}, },
}, },
{ {
@@ -209,5 +214,19 @@ export default defineAppConfig({
}, },
], ],
}, },
{
key: 12,
name: '新版试用弹窗',
quickFind: true,
actionMaximum: 1,
rules: [
{
key: 0,
activityIds: 'com.douban.frodo.activity.BetaApkDialogActivity',
matches: ['[text="新版试用邀请"]', '@[text="取消"] + [text="下载"]'],
snapshotUrls: 'https://i.gkd.li/import/13228832',
},
],
},
], ],
}); });