Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(X): 信息流广告-规则优化
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Oct 6, 2023
1 parent 1b0a826 commit 176754a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/apps/com.twitter.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,21 @@ export default defineAppConfig({
preKeys: [0, 1, 2],
key: 10,
name: '点击屏蔽',
activityIds: [
'com.twitter.app.main.MainActivity',
'com.twitter.tweetdetail.TweetDetailActivity',
],
matches:
'@ViewGroup > [id="com.twitter.android:id/action_sheet_item_title"][text^="屏蔽"]', // 点击“我不喜欢”会返回主页,应当点击“屏蔽”。https://github.com/gkd-kit/subscription/issues/609#issuecomment-1745172531
snapshotUrls: 'https://gkd-kit.songe.li/import/12798810',
},
{
preKeys: 10,
key: 11,
activityIds: [
'com.twitter.app.main.MainActivity',
'com.twitter.tweetdetail.TweetDetailActivity',
],
name: '二次确认-点击屏蔽',
matches: '[text="取消"] + [text="屏蔽"]',
snapshotUrls: 'https://gkd-kit.songe.li/import/12825947',
Expand Down

0 comments on commit 176754a

Please sign in to comment.