mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(一刻相册): 开屏广告(优化规则)、请求开启通知权限弹窗 (#2317)
* feat 开屏广告(优化规则) * feat 请求开启通知权限弹窗 * fix 调整顺序
This commit is contained in:
@@ -7,14 +7,23 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
activityIds: ['com.baidu.youavideo.app.ui.SplashActivity'],
|
matchTime: 10000,
|
||||||
|
resetMatch: 'app',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"||text="跳过"]',
|
key: 0,
|
||||||
snapshotUrls: [
|
name: '百青藤广告',
|
||||||
'https://i.gkd.li/import/12597925',
|
actionMaximum: 1,
|
||||||
'https://i.gkd.li/import/12598507',
|
quickFind: true,
|
||||||
],
|
matches: '[text="跳过"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/12598507',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '字节广告',
|
||||||
|
actionMaximumKey: 0,
|
||||||
|
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/12597925',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -85,5 +94,14 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: '请求开启通知权限弹窗',
|
||||||
|
activityIds: 'com.baidu.youavideo.app.ui.HomeActivity',
|
||||||
|
quickFind: true,
|
||||||
|
rules:
|
||||||
|
'[id="com.baidu.youavideo:id/dialog_open_guide_notification_root"] > [id="com.baidu.youavideo:id/img_close"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13413819',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user