mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(迅雷): 弹窗广告-规则优化 (#1042)
* feat(迅雷) * feat 应用内广告弹窗 * feat 视频详情页广告(完善规则) * feat 搜索页面-顶部banner广告 * feat 会员续费广告(完善规则) * chore 传输界面-广告弹窗(删除冗余字段) * feat 应用内广告弹窗(完善规则) * feat(迅雷): 规则优化 * feat 应用内广告弹窗(优化规则) * feat 下载页面-广告卡片(完善规则) * feat 应用内广告弹窗(完善 activityId) * feat 下载页面-广告卡片(增加 activityId) * Revert "feat 应用内广告弹窗(增加 activityId)" This reverts commit d3c7e385c188db4fab80bd4e8cd77ba7e05c972a. * Revert "Revert "feat 应用内广告弹窗(增加 activityId)"" This reverts commit 9da0ffb37fff3ba518b34ec5acc5fb0794b9663e. * feat 应用内广告弹窗(优化规则、增加提示说明) * fix 删除冗余规则 --------- Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
@@ -65,8 +65,10 @@ export default defineAppConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
enable: false,
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '应用内广告弹窗',
|
name: '应用内广告弹窗',
|
||||||
|
desc: '⚠ 此规则容易误触,因此默认关闭。',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
@@ -87,7 +89,8 @@ export default defineAppConfig({
|
|||||||
activityIds:
|
activityIds:
|
||||||
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
||||||
matches:
|
matches:
|
||||||
'@Image[text=""] < View + View +n View > View > TextView[text="广告"]',
|
'Image[text=""] < @View + View +n View > View > TextView[text="广告"]',
|
||||||
|
delay: 1000,
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.songe.li/import/12868667',
|
'https://gkd-kit.songe.li/import/12868667',
|
||||||
'https://gkd-kit.songe.li/import/12881946',
|
'https://gkd-kit.songe.li/import/12881946',
|
||||||
@@ -97,9 +100,15 @@ export default defineAppConfig({
|
|||||||
// 腾讯广告
|
// 腾讯广告
|
||||||
{
|
{
|
||||||
key: 20,
|
key: 20,
|
||||||
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
activityIds: [
|
||||||
|
'com.xunlei.downloadprovider.frame.MainTabActivity',
|
||||||
|
'com.xunlei.downloadprovider.launch.LaunchActivity',
|
||||||
|
],
|
||||||
matches: 'ImageView - FrameLayout > FrameLayout > ImageView',
|
matches: 'ImageView - FrameLayout > FrameLayout > ImageView',
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12882132',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.songe.li/import/12882132',
|
||||||
|
'https://gkd-kit.songe.li/import/12901374',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 21,
|
key: 21,
|
||||||
@@ -158,9 +167,15 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
activityIds: 'com.xunlei.downloadprovider.frame.MainTabActivity',
|
activityIds: [
|
||||||
|
'com.xunlei.downloadprovider.frame.MainTabActivity',
|
||||||
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
||||||
|
],
|
||||||
matches: '[id="com.xunlei.downloadprovider:id/btn_ad_feedback"]',
|
matches: '[id="com.xunlei.downloadprovider:id/btn_ad_feedback"]',
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12892893',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.songe.li/import/12892893',
|
||||||
|
'https://gkd-kit.songe.li/import/12901395',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: [0, 1],
|
preKeys: [0, 1],
|
||||||
@@ -205,14 +220,6 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
// key = 11 已被使用,后续不可再使用
|
||||||
key: 11,
|
|
||||||
name: '传输界面-广告弹窗',
|
|
||||||
desc: '自动点击 右上角x 关闭',
|
|
||||||
activityIds:
|
|
||||||
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
||||||
rules: '@View +4 TextView[text="反馈"] + View TextView[text="广告"]',
|
|
||||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12865892',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user