mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat: 修改喜马拉雅通知匹配规则 (#703)
Signed-off-by: minglu7 <1347866672@qq.com> Co-authored-by: minglu7 <minglu7@kxdigit.com> Co-authored-by: Firefly <45487685+Snoopy1866@users.noreply.github.com> Co-authored-by: AIsouler <zy43220@gmail.com>
This commit is contained in:
@@ -221,15 +221,20 @@ export default defineGkdApp({
|
|||||||
name: '权限提示-通知权限',
|
name: '权限提示-通知权限',
|
||||||
desc: '取消推送通知',
|
desc: '取消推送通知',
|
||||||
fastQuery: true,
|
fastQuery: true,
|
||||||
matchTime: 10000,
|
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: '[id="com.ximalaya.ting.android:id/cancel_btn"]',
|
activityIds: '.host.activity.MainActivity',
|
||||||
exampleUrls:
|
matches: [
|
||||||
'https://m.gkd.li/33366298/f6ac028a-509b-49d8-959a-7da90fb4d9df',
|
'[text*="通知权限"][visibleToUser=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/13389145',
|
'[text="取消"][visibleToUser=true]',
|
||||||
|
],
|
||||||
|
exampleUrls: 'https://e.gkd.li/ab40c096-d024-4b7c-9c6f-245beafd373a',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/13389145',
|
||||||
|
'https://i.gkd.li/i/18391977',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user