diff --git a/src/apps/com.reddit.frontpage.ts b/src/apps/com.reddit.frontpage.ts new file mode 100644 index 00000000..620d2053 --- /dev/null +++ b/src/apps/com.reddit.frontpage.ts @@ -0,0 +1,35 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.reddit.frontpage', + name: 'Reddit', + groups: [ + { + key: 3, + name: '社区消息-更新提示', + quickFind: true, + enable: false, + rules: [ + { + activityIds: 'com.reddit.launch.main.MainActivity', + matches: '[id="com.reddit.frontpage:id/cancel_button"]', + snapshotUrls: 'https://i.gkd.li/import/13649914', + }, + ], + }, + { + key: 4, + name: 'NSFW 内容提示', + desc: '自动点击 continue', + quickFind: true, + enable: false, + rules: [ + { + activityIds: 'com.reddit.launch.main.MainActivity', + matches: 'Button[text="Cancel"] + Button[text="Continue"]', + snapshotUrls: 'https://i.gkd.li/import/13649992', + }, + ], + }, + ], +});