feat(彩云天气): 开屏, 插页广告 (#3230)

close #3218
This commit is contained in:
walklty
2023-12-24 19:57:36 +08:00
committed by GitHub
parent 30b186b808
commit 9f52c80765

View File

@@ -4,6 +4,20 @@ export default defineAppConfig({
id: 'com.nowcasting.activity', id: 'com.nowcasting.activity',
name: '彩云天气', name: '彩云天气',
groups: [ groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[id="com.nowcasting.activity:id/cll_splash_ad_skip"]',
snapshotUrls: 'https://i.gkd.li/import/13690833',
},
],
},
{ {
key: 1, key: 1,
name: '弹窗广告_VIP', name: '弹窗广告_VIP',
@@ -32,5 +46,29 @@ export default defineAppConfig({
}, },
], ],
}, },
{
key: 3,
name: '插页广告',
quickFind: true,
activityIds: 'com.nowcasting.activity.WeatherActivity',
rules: [
{
key: 0,
matches: ['[id="com.nowcasting.activity:id/jad_feed_close"]'],
snapshotUrls: 'https://i.gkd.li/import/13690826',
},
{
key: 1,
matches: ['[id="com.nowcasting.activity:id/ll_close"]'],
snapshotUrls: 'https://i.gkd.li/import/13690822',
},
{
preKeys: 1,
key: 2,
matches: ['[id="com.nowcasting.activity:id/ll_uninterested"]'],
snapshotUrls: 'https://i.gkd.li/import/13690830',
},
],
},
], ],
}); });