mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat(微信读书): 少年模式弹窗、系统推送弹窗(补充 activityId) (#1742)
* feat 少年模式弹窗 * feat 系统推送弹窗(补充 activityId) * feat(微信读书): 规则优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -8,15 +8,34 @@ export default defineAppConfig({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '系统推送弹窗',
|
name: '系统推送弹窗',
|
||||||
desc: '系统推送弹窗-点击取消',
|
desc: '系统推送弹窗-点击取消',
|
||||||
activityIds:
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
matchTime: 30000,
|
||||||
|
resetMatch: 'app',
|
||||||
|
activityIds: [
|
||||||
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
|
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
|
||||||
|
'com.tencent.weread.WeReadFragmentActivity',
|
||||||
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches:
|
matches: '[id="com.tencent.weread:id/open_notification_close"]',
|
||||||
'[id="com.tencent.weread:id/open_notification_title"] +(n) [id="com.tencent.weread:id/open_notification_close"]',
|
snapshotUrls: [
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642247'],
|
'https://gkd-kit.gitee.io/import/12642247',
|
||||||
|
'https://i.gkd.li/import/13233735',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: '青少年模式弹窗',
|
||||||
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
matchTime: 30000,
|
||||||
|
resetMatch: 'app',
|
||||||
|
activityIds: 'com.tencent.weread.WeReadFragmentActivity',
|
||||||
|
rules: '[text="设置青少年模式"] - LinearLayout >2 [text="我知道了"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13233668',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user