import { defineGkdApp } from '@gkd-kit/define'; export default defineGkdApp({ id: 'com.mfcloudcalculate.networkdisk', name: '123云盘', groups: [ { key: 2, name: '开屏广告', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', actionMaximumKey: 0, priorityTime: 10000, rules: [ { key: 0, matches: 'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]', snapshotUrls: [ 'https://i.gkd.li/i/14018247', 'https://i.gkd.li/i/13259303', 'https://i.gkd.li/i/13695497', ], }, { key: 1, matches: '[text^="跳过"][text.length<=4]', snapshotUrls: [ 'https://i.gkd.li/i/12846434', 'https://i.gkd.li/i/13059834', ], }, ], }, { key: 1, name: '全屏广告-弹窗广告', rules: [ { key: 0, fastQuery: true, activityIds: [ 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', 'com.mfcloudcalculate.networkdisk.activity.AdFreeActivity', ], matches: '[id$="iv_ad_free_gif"] + * > [text="关闭"]', exampleUrls: 'https://m.gkd.li/57941037/4cafd5fd-b5ed-4df1-b9f2-f443f53a7166', snapshotUrls: [ 'https://i.gkd.li/i/13546173', 'https://i.gkd.li/i/14696860', ], }, { key: 1, fastQuery: true, activityIds: 'com.mfcloudcalculate.networkdisk.activity.EmptyActivity', matches: 'ImageView < @ViewGroup[clickable=true] < ViewGroup <7 ViewGroup + ViewGroup [text="广告"]', exampleUrls: 'https://m.gkd.li/57941037/cf43eaec-45f8-4e1a-bd3b-6a88fd055d29', snapshotUrls: 'https://i.gkd.li/i/16154340', }, { key: 2, activityIds: 'com.bytedance.sdk.openadsdk.core.component.reward.activity.TTFullScreenVideoActivity', matches: '[text="反馈"] -4 View[childCount=1] > Image[childCount=0][text=""]', exampleUrls: 'https://e.gkd.li/2ec6e71f-93b4-4ac4-a464-26d2a859445f', snapshotUrls: 'https://i.gkd.li/i/17247801', }, { key: 3, fastQuery: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', activityIds: '.MainActivity', matches: '@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null][parent.childCount>3] +n FrameLayout >(1,2) [text^="立即" || text="查看详情" || text="了解更多" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]', exampleUrls: 'https://e.gkd.li/49cef679-3efb-4719-9af9-8f3a4c311191', snapshotUrls: 'https://i.gkd.li/i/17306992', }, { key: 4, fastQuery: true, activityIds: 'com.baidu.mobads.sdk.api.MobRewardVideoActivity', matches: '@ImageView[clickable=true] - [text="反馈"]', exampleUrls: 'https://e.gkd.li/af430910-56e0-4b19-b23f-b120ce19fdc0', snapshotUrls: 'https://i.gkd.li/i/17456625', }, { key: 5, fastQuery: true, activityIds: '.MainActivity', matches: '@ImageView[childCount=0][text=null][visibleToUser=true] < FrameLayout[childCount=1] <2 FrameLayout[childCount=2] <2 FrameLayout[childCount=2] <2 FrameLayout[childCount=2] - FrameLayout > [text^="扭动或点击"]', exampleUrls: 'https://e.gkd.li/069fb571-ab57-42a7-a360-79b44efc2790', snapshotUrls: 'https://i.gkd.li/i/18032004', }, ], }, { key: 3, name: '更新提示', matchTime: 10000, actionMaximum: 1, resetMatch: 'app', rules: [ { activityIds: '.MainActivity', matches: '@View[clickable=true] - [desc="立即更新"]', exampleUrls: 'https://e.gkd.li/02cf5d37-8808-4abb-abf9-81f7ba8a8375', snapshotUrls: 'https://i.gkd.li/i/17456852', }, ], }, ], });