feat(TeraBox): 开屏广告、广告弹窗 (#1616)

close #1592
This commit is contained in:
jiuqianyuan 2023-10-31 00:21:48 +08:00 committed by GitHub
parent d3c22e3376
commit d71c96b868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
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',
rules: 'TextView[id="com.dubox.drive:id/tv_skip"]',
snapshotUrls: 'https://i.gkd.li/import/13200574',
},
{
key: 1,
name: '广告弹窗',
quickFind: true,
activityIds: 'com.dubox.drive.ui.MainActivity',
rules: 'ImageView[id="com.dubox.drive:id/ivClose"]',
snapshotUrls: 'https://i.gkd.li/import/13200577',
},
],
});