mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat(微信读书) 通知提示(新增规则)
This commit is contained in:
@@ -6,29 +6,35 @@ export default defineAppConfig({
|
|||||||
groups: [
|
groups: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '通知提示-请求系统推送弹窗',
|
name: '通知提示-开启推送通知',
|
||||||
desc: '点击取消',
|
|
||||||
quickFind: true,
|
|
||||||
actionMaximum: 1,
|
|
||||||
matchTime: 30000,
|
|
||||||
resetMatch: 'app',
|
|
||||||
activityIds: [
|
|
||||||
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
|
|
||||||
'com.tencent.weread.WeReadFragmentActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '通知提示-开启推送通知提示弹窗',
|
||||||
|
quickFind: true,
|
||||||
|
actionMaximum: 1,
|
||||||
|
matchTime: 30000,
|
||||||
|
resetMatch: 'app',
|
||||||
matches: '[id="com.tencent.weread:id/open_notification_close"]',
|
matches: '[id="com.tencent.weread:id/open_notification_close"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12642247',
|
'https://i.gkd.li/import/12642247',
|
||||||
'https://i.gkd.li/import/13233735',
|
'https://i.gkd.li/import/13233735',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '通知提示-开启推送通知提示信息',
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
matches:
|
||||||
|
'[text="开启推送通知"] +3 [clickable=true][visibleToUser=true]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/14190089',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '青少年模式',
|
name: '青少年模式弹窗',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
matchTime: 30000,
|
matchTime: 30000,
|
||||||
|
|||||||
Reference in New Issue
Block a user