diff --git a/src/apps/com.android.thememanager.ts b/src/apps/com.android.thememanager.ts index 2164a00f..7322312a 100644 --- a/src/apps/com.android.thememanager.ts +++ b/src/apps/com.android.thememanager.ts @@ -8,6 +8,7 @@ export default defineAppConfig({ key: 1, name: '局部广告-主题详情底部广告', desc: '注意如果使用ADB禁用了MIUI广告组件,点击此按钮会无反应,可关闭此规则,避免过多相同点击记录', + quickFind: true, rules: '[id="com.android.thememanager:id/ad_close_btn"][visibleToUser=true]', snapshotUrls: 'https://i.gkd.li/i/13227330', diff --git a/src/apps/com.miui.systemAdSolution.ts b/src/apps/com.miui.systemAdSolution.ts index 09aa1e2a..ab603c33 100644 --- a/src/apps/com.miui.systemAdSolution.ts +++ b/src/apps/com.miui.systemAdSolution.ts @@ -20,5 +20,26 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '分段广告-为什么不希望看到这条推广', + desc: '点击"不感兴趣"', + activityIds: [ + 'com.xiaomi.ad.feedback', + 'com.android.thememanager.module.detail.view.ThemeDetailActivity', + 'com.android.thememanager.ThemeResourceProxyTabActivity', + ], + rules: [ + { + quickFind: true, + matches: '[text="不感兴趣"]', + snapshotUrls: [ + 'https://i.gkd.li/i/13227328', + 'https://i.gkd.li/i/13255751', + 'https://i.gkd.li/i/14946925', + ], + }, + ], + }, ], });