mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.excean.gspace',
|
|
name: 'OurPlay',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: '[text^="跳过"][text.length<10]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13296144',
|
|
'https://i.gkd.li/import/13385318', // 无id
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '弹窗广告',
|
|
activityIds: [
|
|
'com.excelliance.kxqp.splash.SplashActivity',
|
|
'com.excelliance.kxqp.gs.main.MainActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
name: '类型1',
|
|
matches:
|
|
'FrameLayout[childCount=2] > LinearLayout[childCount=2] + FrameLayout[childCount=1] > ImageView',
|
|
snapshotUrls: 'https://i.gkd.li/import/13302890',
|
|
},
|
|
{
|
|
name: '类型2',
|
|
matches:
|
|
'ImageView - LinearLayout - FrameLayout > FrameLayout[childCount=1] > ImageView[width<80][height<80]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13447122',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|