Files
AIsouler-GKD_subscription/src/apps/com.mfcloudcalculate.networkdisk.ts
adproqwq 2dc41e927e feat(123云盘): 应用内广告弹窗 (#2834)
* feat(123云盘): 应用内广告弹窗

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-05 20:41:34 +08:00

44 lines
1.2 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.mfcloudcalculate.networkdisk',
name: '123云盘',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
matches:
'[id="com.mfcloudcalculate.networkdisk:id/frame_ad_splash_container"] >n [text^="跳过"][text.length<=4]',
snapshotUrls: [
'https://i.gkd.li/import/12846434',
'https://i.gkd.li/import/13059834',
],
},
{
key: 1,
matches: '[id="com.byted.pangle.m:id/tt_splash_skip_btn"]',
snapshotUrls: ['https://i.gkd.li/import/13259303'],
},
],
},
{
key: 1,
name: '应用内广告弹窗',
activityIds: 'com.mfcloudcalculate.networkdisk.activity.AdFreeActivity',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
quickFind: true,
rules:
'[text*="关闭"][id="com.mfcloudcalculate.networkdisk:id/tv_ad_free_colse"]',
snapshotUrls: 'https://i.gkd.li/import/13546173',
},
],
});