mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
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:
@@ -182,17 +182,22 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 10,
|
||||
name: '弹窗',
|
||||
desc: '浏览详情时弹窗广告',
|
||||
name: '弹窗广告',
|
||||
desc: '浏览详情时弹窗广告,点击右上角x',
|
||||
matchLauncher: true,
|
||||
quickFind: true,
|
||||
rules: {
|
||||
activityIds: [
|
||||
'com.douban.frodo.subject.structure.activity.MovieActivity',
|
||||
],
|
||||
matches: [
|
||||
'[text="查看详情"]',
|
||||
'FrameLayout[childCount=5] > FrameLayout > ImageView',
|
||||
'[text*="看"][text="查看详情"||text^="去"&&text$="看看"]',
|
||||
'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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user