feat(JavDB): 通知提示(优化规则)

This commit is contained in:
AIsouler
2024-03-11 22:31:36 +08:00
parent bb97696f7e
commit 893a153c32
2 changed files with 12 additions and 3 deletions

View File

@@ -7,11 +7,20 @@ export default defineAppConfig({
{ {
key: 1, key: 1,
name: '通知提示-公告弹窗', name: '通知提示-公告弹窗',
desc: '点击[知道了]',
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: '[desc="公告"] + * + [desc="知道了"]', rules: [
snapshotUrls: 'https://i.gkd.li/i/13334608', {
quickFind: true,
matches:
'[desc="公告"] + * + @[desc="知道了"] <<n [id="android:id/content"]',
exampleUrls:
'https://m.gkd.li/57941037/ae1792dd-210b-4ac2-bfce-c2081ed03498',
snapshotUrls: 'https://i.gkd.li/i/14559882',
},
],
}, },
], ],
}); });

View File

@@ -55,7 +55,6 @@ const diabledAppIds: string[] = [
'app.eleven.com.fastfiletransfer', // 文件闪传 'app.eleven.com.fastfiletransfer', // 文件闪传
'com.idaodan.clean.master', // 雪豹速清 'com.idaodan.clean.master', // 雪豹速清
'com.samsung.agc.gcam84', // 相机 'com.samsung.agc.gcam84', // 相机
'xxx.pornhub.fuck', // JavDB
'com.wsw.cospa', // 异次元 'com.wsw.cospa', // 异次元
'app.mihon', // Mihon 'app.mihon', // Mihon
@@ -91,6 +90,7 @@ const uniqueAppIdsUP = new Set([
]); ]);
const uniqueAppIdsYM = new Set([ const uniqueAppIdsYM = new Set([
...diabledAppIds, ...diabledAppIds,
'xxx.pornhub.fuck', // JavDB
...filterAppsByGroup(apps, '青少年模式'), ...filterAppsByGroup(apps, '青少年模式'),
]); ]);