feat(Reddit): 社区消息-更新提示、NSFW 内容提示(gkd-kit#3121) (#3289)

close #3121
This commit is contained in:
aoguai
2023-12-24 20:25:23 +08:00
committed by GitHub
parent 6557e35053
commit 353784e879

View File

@@ -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',
},
],
},
],
});