Skip to content

Commit 999b657

Browse files
committed
feat(推特): 功能类-自动点击翻译(优化规则)
1 parent 6949005 commit 999b657

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/apps/com.twitter.android.ts

+6-3
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,18 @@ export default defineAppConfig({
171171
},
172172
{
173173
key: 6,
174-
name: '功能类-自动点击"翻译帖子"',
174+
name: '功能类-自动点击翻译',
175175
rules: [
176176
{
177177
quickFind: true,
178178
activityIds: 'com.twitter.tweetdetail.TweetDetailActivity',
179-
matches: '[vid="translation_link"][text="翻译帖子"]',
179+
matches: '[vid="translation_link"][text^="翻译"]',
180180
exampleUrls:
181181
'https://m.gkd.li/57941037/40ece44f-883f-429a-aa0c-17dac15a50e4',
182-
snapshotUrls: 'https://i.gkd.li/i/14189817',
182+
snapshotUrls: [
183+
'https://i.gkd.li/i/14189817',
184+
'https://i.gkd.li/i/14615911',
185+
],
183186
},
184187
],
185188
},

0 commit comments

Comments
 (0)