mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.dubox.drive',
|
|
name: 'TeraBox',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
actionMaximumKey: 0,
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: 'TextView[id="com.dubox.drive:id/tv_skip"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13200574',
|
|
},
|
|
{
|
|
key: 1,
|
|
matches: '@[id="com.dubox.drive:id/ivClose"] - * >2 [id="inmobi-ad"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13688384',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '全屏广告-弹窗广告',
|
|
quickFind: true,
|
|
activityIds: 'com.dubox.drive.ui.MainActivity',
|
|
rules: 'ImageView[id="com.dubox.drive:id/ivClose"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13200577',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '通知提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules:
|
|
'[text="Authorize"] - [id="com.dubox.drive:id/dialog_button_cancel"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13688406',
|
|
},
|
|
],
|
|
});
|