Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 修改喜马拉雅通知匹配规则 #703

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/apps/com.ximalaya.ting.android.ts
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*=通知权限 这个规则有问题 另外一个是"推送通知", 匹配不到。

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

能匹配到的
image

Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,20 @@ export default defineGkdApp({
name: '权限提示-通知权限',
desc: '取消推送通知',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches: '[id="com.ximalaya.ting.android:id/cancel_btn"]',
exampleUrls:
matches:
'@[id="com.ximalaya.ting.android:id/cancel_btn"] + [id="com.ximalaya.ting.android:id/btn_separator_border_1"] + [id="com.ximalaya.ting.android:id/ok_btn"]',
minglu7 marked this conversation as resolved.
Show resolved Hide resolved
exampleUrls: [
'https://m.gkd.li/33366298/f6ac028a-509b-49d8-959a-7da90fb4d9df',
snapshotUrls: 'https://i.gkd.li/i/13389145',
'https://e.gkd.li/ab40c096-d024-4b7c-9c6f-245beafd373a',
],
snapshotUrls: [
'https://i.gkd.li/i/13389145',
'https://i.gkd.li/i/18391977',
],
},
],
},
Expand Down
Loading