fix(Instagram): 功能类-自动点击[查看翻译]误触

This commit is contained in:
AIsouler
2024-08-28 13:42:11 +08:00
parent 7d1d082888
commit 2fd2192ea0

View File

@@ -54,18 +54,22 @@ export default defineGkdApp({
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '[text="查看翻译"]', matches: '[text="查看翻译"][clickable=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/e92702d8-8349-4718-aa4d-664bf3d2f6e5', 'https://m.gkd.li/57941037/e92702d8-8349-4718-aa4d-664bf3d2f6e5',
snapshotUrls: 'https://i.gkd.li/i/14093211', snapshotUrls: 'https://i.gkd.li/i/14093211',
}, },
{ {
key: 1, key: 1,
excludeMatches: '[text="查看翻译"]', excludeMatches: '[text="查看翻译"][clickable=true]',
matches: '[text$="查看翻译"][desc!=null]', matches:
'[text$="查看翻译"][clickable=false][desc!=null][visibleToUser=true]',
exampleUrls: exampleUrls:
'https://m.gkd.li/57941037/7d6da15b-1c3f-4160-a2d3-d8223bc55132', 'https://m.gkd.li/57941037/7d6da15b-1c3f-4160-a2d3-d8223bc55132',
snapshotUrls: 'https://i.gkd.li/i/14784095', snapshotUrls: [
'https://i.gkd.li/i/14784095',
'https://i.gkd.li/i/16776676', // 避免误触
],
}, },
], ],
}, },