mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
189 lines
5.6 KiB
TypeScript
189 lines
5.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.copymanga.app',
|
|
name: '拷貝漫畫',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchTime: 30000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches: '[text^="跳过"][text.length<6]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12504489',
|
|
'https://i.gkd.li/import/12504507',
|
|
'https://i.gkd.li/import/12852509',
|
|
'https://i.gkd.li/import/12504492',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '弹窗广告',
|
|
matchLauncher: true,
|
|
activityIds: [
|
|
'com.copymanga.app.MainActivity',
|
|
'com.reaper.flutter.reaper_flutter_plugin.activity.ReaperSplashActivity',
|
|
],
|
|
delay: 400,
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '快手广告-1',
|
|
matches: [
|
|
'ViewGroup > [text="广告"]',
|
|
'ViewGroup[childCount=3] > TextView + TextView + ImageView[clickable=true]',
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/import/13259085',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '快手广告-2',
|
|
activityIds: [
|
|
'com.copymanga.app.MainActivity',
|
|
'com.kwad.components.ad.interstitial',
|
|
],
|
|
matches:
|
|
'[text="广告"] <2 ViewGroup -(2,3) ViewGroup > ViewGroup[clickable=true][visibleToUser=true]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13625486',
|
|
'https://i.gkd.li/import/12504486',
|
|
'https://i.gkd.li/import/12504488',
|
|
'https://i.gkd.li/import/13344156',
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '腾讯广告-1',
|
|
activityIds: 'com.copymanga.app.MainActivity',
|
|
matches:
|
|
'ImageView -(1,2) FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12504520',
|
|
'https://i.gkd.li/import/12661019',
|
|
'https://i.gkd.li/import/13193877',
|
|
'https://i.gkd.li/import/12892156',
|
|
'https://i.gkd.li/import/12504501',
|
|
'https://i.gkd.li/import/13259082',
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '腾讯广告-2',
|
|
matches:
|
|
'ImageView <2 FrameLayout - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13246786',
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '腾讯广告-3',
|
|
matches:
|
|
'[id="com.copymanga.app:id/interact_ad_root"] > [id="com.copymanga.app:id/iv_close"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13521801',
|
|
'https://i.gkd.li/import/13332719',
|
|
],
|
|
},
|
|
{
|
|
key: 5,
|
|
name: '腾讯广告-4',
|
|
matches:
|
|
'ImageView - ImageView - FrameLayout > FrameLayout > FrameLayout > FrameLayout > ImageView',
|
|
snapshotUrls: 'https://i.gkd.li/import/13233178',
|
|
},
|
|
{
|
|
key: 6,
|
|
name: '字节广告-1',
|
|
activityIds:
|
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
matches: [
|
|
'[desc^="logoad"] > [text="广告"]',
|
|
'[desc^="webview-close"] > View[clickable=true]',
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/import/13372542',
|
|
},
|
|
{
|
|
key: 7,
|
|
name: '字节广告-2',
|
|
activityIds:
|
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
matches: '[text="反馈"] -2 @View - Image',
|
|
snapshotUrls: 'https://i.gkd.li/import/12925052',
|
|
},
|
|
{
|
|
key: 8,
|
|
name: '字节广告-3',
|
|
activityIds:
|
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
matches: '[text="反馈"] -4 @View < View[childCount=7]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12925095',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '加入书架按钮下面的广告',
|
|
activityIds: 'com.copymanga.app.MainActivity',
|
|
rules: [
|
|
{
|
|
name: '点击右上角x',
|
|
matches: 'ImageView[id="com.copymanga.app:id/close"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12504525',
|
|
},
|
|
{
|
|
name: '点击右下角x',
|
|
matches:
|
|
'FrameLayout[childCount=3] > LinearLayout + FrameLayout[childCount=1] > ImageView[id=null]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12851671',
|
|
'https://i.gkd.li/import/12909005',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '关闭赞助提示',
|
|
activityIds: 'com.copymanga.app.MainActivity',
|
|
rules: [
|
|
{
|
|
matches: '@[desc="就这样吧"] + [desc^="赞助免广告"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12851627',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '自动确认线路',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
matches: '[desc="进入拷贝漫画"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13233179',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 5,
|
|
name: '关闭提示',
|
|
matchTime: 30000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
matches: '[desc="系统提示"] +n [desc="确定"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13233180',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|