mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(虎扑): 推荐流广告(优化规则) (#1840)
* feat 推荐流广告(优化规则) * chore 调整 key 上下文的顺序 * feat(虎扑): 推荐流广告-规则优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -19,27 +19,36 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
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: '推荐流广告',
|
name: '推荐流广告',
|
||||||
desc: '点击卡片右上角广告文字,出现广告反馈,点击屏蔽该广告',
|
desc: '点击卡片右上角广告文字,出现广告反馈,点击屏蔽该广告',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
activityIds: [
|
key: 0,
|
||||||
'com.google.android.material.bottomsheet.BottomSheetDialog',
|
matches:
|
||||||
'com.hupu.games.main.MainActivity',
|
'@[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:
|
matches:
|
||||||
'@[clickable=true] > [id="com.hupu.games:id/tv_title"][text="屏蔽该广告"]',
|
'@[clickable=true] > [id="com.hupu.games:id/tv_title"][text="屏蔽该广告"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12511010',
|
'https://gkd-kit.gitee.io/import/12511010',
|
||||||
'https://gkd-kit.gitee.io/import/12534848',
|
'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',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user