mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 08:42:21 +08:00
feat(虎扑): 推荐流广告(优化规则) (#1840)
* feat 推荐流广告(优化规则) * chore 调整 key 上下文的顺序 * feat(虎扑): 推荐流广告-规则优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
parent
0188fd7eba
commit
a2ac032d6a
|
@ -19,27 +19,36 @@ export default defineAppConfig({
|
|||
},
|
||||
{
|
||||
key: 1,
|
||||
activityIds: 'com.hupu.games.main.MainActivity',
|
||||
activityIds: [
|
||||
'com.hupu.games.main.MainActivity',
|
||||
'com.hupu.android.bbs.detail.PostDetailActivity',
|
||||
'com.hupu.topic.TopicActivity',
|
||||
],
|
||||
quickFind: true,
|
||||
name: '推荐流广告',
|
||||
desc: '点击卡片右上角广告文字,出现广告反馈,点击屏蔽该广告',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'com.google.android.material.bottomsheet.BottomSheetDialog',
|
||||
'com.hupu.games.main.MainActivity',
|
||||
key: 0,
|
||||
matches:
|
||||
'@[id="com.hupu.games:id/shield_view"] >2 [id="com.hupu.games:id/tv_tag"][text="广告"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12511005',
|
||||
'https://i.gkd.li/import/13258026',
|
||||
'https://i.gkd.li/import/13259692',
|
||||
],
|
||||
},
|
||||
{
|
||||
preKeys: 0,
|
||||
key: 1,
|
||||
matches:
|
||||
'@[clickable=true] > [id="com.hupu.games:id/tv_title"][text="屏蔽该广告"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12511010',
|
||||
'https://gkd-kit.gitee.io/import/12534848',
|
||||
'https://i.gkd.li/import/13259699',
|
||||
],
|
||||
},
|
||||
{
|
||||
matches:
|
||||
'@[id="com.hupu.games:id/shield_view"] >2 [id="com.hupu.games:id/tv_tag"][text="广告"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12511005',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue
Block a user