feat(Terabox): 开屏广告, 通知权限 (#3229)

close #3214
close #3213
This commit is contained in:
walklty 2023-12-24 19:57:13 +08:00 committed by GitHub
parent 5618fe2b90
commit 30b186b808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,16 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: 'TextView[id="com.dubox.drive:id/tv_skip"]',
snapshotUrls: 'https://i.gkd.li/import/13200574',
rules: [
{
matches: 'TextView[id="com.dubox.drive:id/tv_skip"]',
snapshotUrls: 'https://i.gkd.li/import/13200574',
},
{
matches: ['[id="inmobi-ad"]', '[id="com.dubox.drive:id/ivClose"]'],
snapshotUrls: 'https://i.gkd.li/import/13688384',
},
],
},
{
key: 1,
@ -22,5 +30,14 @@ export default defineAppConfig({
rules: 'ImageView[id="com.dubox.drive:id/ivClose"]',
snapshotUrls: 'https://i.gkd.li/import/13200577',
},
{
key: 2,
name: '通知权限',
quickFind: true,
activityIds: 'com.dubox.drive.permission.view.PermissionDialogActivity',
rules:
'[text="Authorize"] - [id="com.dubox.drive:id/dialog_button_cancel"]',
snapshotUrls: 'https://i.gkd.li/import/13688406',
},
],
});