diff --git a/src/apps/com.ss.android.article.news.ts b/src/apps/com.ss.android.article.news.ts index b80f1fb2..53bcf94e 100644 --- a/src/apps/com.ss.android.article.news.ts +++ b/src/apps/com.ss.android.article.news.ts @@ -65,6 +65,14 @@ export default defineAppConfig({ desc: '检测到广告时,点击右上角[更多]图标按钮,出现菜单,点击不感兴趣', activityIds: 'com.ss.android.ugc.detail.activity.TikTokActivity', rules: [ + { + key: -1, + preKeys: [0, 1, 2, 3], + name: '点击不感兴趣', + matches: + '@LinearLayout[clickable=true] > RelativeLayout + TextView[text="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12679277', + }, { key: 0, name: '点击右上角[更多]图标按钮', @@ -85,11 +93,18 @@ export default defineAppConfig({ snapshotUrls: ['https://gkd-kit.gitee.io/import/12733281'], }, { - preKeys: [0, 1], - name: '点击不感兴趣', + key: 2, + name: '第二种广告界面;点击右上角[更多]图标按钮', matches: - '@LinearLayout[clickable=true] > RelativeLayout + TextView[text="不感兴趣"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12679277', + '@ImageView[clickable=true][desc="更多"] n TextView[text$="广告"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13185633'], + }, + { + key: 3, + name: '第三种广告界面;点击右上角[更多]图标按钮', + matches: + '@ImageView[clickable=true][desc="更多"] TextView[text$="广告"]', + snapshotUrls: ['https://gkd-kit.gitee.io/import/13186082'], }, ], },