mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat(迅雷): 应用内广告弹窗-规则优化,下载页面-广告卡片-规则优化 (#1011)
* feat(迅雷) * feat 应用内广告弹窗 * feat 视频详情页广告(完善规则) * feat 搜索页面-顶部banner广告 * feat 会员续费广告(完善规则) * chore 传输界面-广告弹窗(删除冗余字段) * feat 应用内广告弹窗(完善规则) * feat(迅雷): 规则优化 * feat 应用内广告弹窗(优化规则) * feat 下载页面-广告卡片(完善规则) --------- Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
@@ -72,11 +72,12 @@ export default defineAppConfig({
|
|||||||
key: 0,
|
key: 0,
|
||||||
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
||||||
matchLauncher: true,
|
matchLauncher: true,
|
||||||
matches: '@[text="关闭"] +n * > [text*="广告"]',
|
matches: '@[text="关闭"] +n * >n [text*="广告"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.songe.li/import/12868648',
|
'https://gkd-kit.songe.li/import/12868648',
|
||||||
'https://gkd-kit.gitee.io/import/12879372',
|
'https://gkd-kit.gitee.io/import/12879372',
|
||||||
'https://gkd-kit.songe.li/import/12882366',
|
'https://gkd-kit.songe.li/import/12882366',
|
||||||
|
'https://gkd-kit.songe.li/import/12892871',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -121,10 +122,11 @@ export default defineAppConfig({
|
|||||||
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
||||||
matchLauncher: true,
|
matchLauncher: true,
|
||||||
matches:
|
matches:
|
||||||
'@ImageView[visibleToUser=true] < ViewGroup < ViewGroup +n ViewGroup > [text="广告"]',
|
'ImageView < @ViewGroup[visibleToUser=true] < ViewGroup +n ViewGroup > [text="广告"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.songe.li/import/12882199', // n = 1
|
'https://gkd-kit.songe.li/import/12882199', // n = 1
|
||||||
'https://gkd-kit.songe.li/import/12881911', // n = 2
|
'https://gkd-kit.songe.li/import/12881911', // n = 2
|
||||||
|
'https://gkd-kit.songe.li/import/12892912', // 点击目标为具备 clickable=true 的 ViewGroup,防止在这个快照中点击到下落的礼物
|
||||||
'https://gkd-kit.songe.li/import/12881976', // 限定 visibleToUser=true,防止在这个快照中误触
|
'https://gkd-kit.songe.li/import/12881976', // 限定 visibleToUser=true,防止在这个快照中误触
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -155,8 +157,14 @@ export default defineAppConfig({
|
|||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12881865',
|
snapshotUrls: 'https://gkd-kit.songe.li/import/12881865',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: [0],
|
|
||||||
key: 1,
|
key: 1,
|
||||||
|
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
||||||
|
matches: '[id="com.xunlei.downloadprovider:id/btn_ad_feedback"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.songe.li/import/12892893',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
preKeys: [0, 1],
|
||||||
|
key: 2,
|
||||||
activityIds: 'com.xunlei.downloadprovider.download.center.newcenter',
|
activityIds: 'com.xunlei.downloadprovider.download.center.newcenter',
|
||||||
matches: '[id="com.xunlei.downloadprovider:id/close_ad"]',
|
matches: '[id="com.xunlei.downloadprovider:id/close_ad"]',
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/128818775',
|
snapshotUrls: 'https://gkd-kit.songe.li/import/128818775',
|
||||||
|
|||||||
Reference in New Issue
Block a user