Files
AIsouler-GKD_subscription/src/apps/com.copymanga.app.ts
2023-09-19 21:53:21 +08:00

72 lines
2.1 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.copymanga.app',
name: '拷貝漫畫',
groups: [
{
key: 0,
name: '开屏广告',
activityIds: [
'com.copymanga.app.MainActivity',
'com.miui.home.launcher.Launcher',
'com.reaper.flutter.reaper_flutter_plugin.activity.ReaperSplashActivity',
],
rules: [
{
matches: 'TextView[text!=null] - TextView[text^="跳过"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12504489',
'https://gkd-kit.gitee.io/import/12504507',
],
},
{
matches: 'ImageView + ViewGroup > TextView[text="跳过"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504492',
},
],
},
{
key: 1,
name: '内部弹窗广告',
activityIds: [
'com.copymanga.app.MainActivity',
'com.miui.home.launcher.Launcher',
],
rules: [
{
activityIds: 'com.kwad.components.ad.interstitial',
matches: 'TextView[text="跳过"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504486',
},
{
activityIds: 'com.kwad.components.ad.interstitial',
matches: 'ViewGroup[clickable=true] > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504488',
},
{
matches:
'ImageView < FrameLayout < FrameLayout +2 FrameLayout > ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504501',
},
{
matches: 'ImageView + FrameLayout + FrameLayout > ImageView',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12504520',
'https://gkd-kit.gitee.io/import/12661019',
],
},
],
},
{
key: 2,
name: '加入书架按钮下面的广告',
activityIds: 'com.copymanga.app.MainActivity',
rules: {
matches: 'ImageView[id="com.copymanga.app:id/close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12504525',
},
},
],
});