perf: some rules

This commit is contained in:
AIsouler
2024-12-05 23:25:12 +08:00
parent 1c66e5c486
commit ec8cfa20a2
216 changed files with 2473 additions and 1654 deletions

View File

@@ -11,9 +11,19 @@ export default defineGkdApp({
matchTime: 10000,
resetMatch: 'app',
actionMaximum: 1,
activityIds: '.xiao.MainActivity',
rules: [
{
matches: ['[text="下一条"]', '[vid="iv_close"]'],
key: 0,
matches: '[vid="cb_ignore"][checked=false]',
exampleUrls: 'https://e.gkd.li/b92e4e94-fafc-47b1-9774-3126cfaed981',
snapshotUrls: 'https://i.gkd.li/i/14141561',
},
{
preKeys: [0],
key: 1,
matches: '[vid="iv_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/b92e4e94-fafc-47b1-9774-3126cfaed981',
snapshotUrls: 'https://i.gkd.li/i/14141561',
},
],