mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
35
src/apps/com.reddit.frontpage.ts
Normal file
35
src/apps/com.reddit.frontpage.ts
Normal 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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user