mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
58 lines
1.5 KiB
TypeScript
58 lines
1.5 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.realtech.xiaocan',
|
|
name: '小蚕霸王餐',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
quickFind: true,
|
|
matches: '[text^="跳过"][text.length<=10]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12843368',
|
|
'https://i.gkd.li/import/13363222',
|
|
'https://i.gkd.li/import/13363246',
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
quickFind: true,
|
|
matches:
|
|
'@[id$="tt_splash_skip_btn"] <<n [id="com.realtech.xiaocan:id/splash_ad_container"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12854728',
|
|
},
|
|
{
|
|
key: 3,
|
|
quickFind: true,
|
|
matches:
|
|
'@View[visibleToUser=true][clickable=true] <n FrameLayout[childCount=4||childCount=3] <<n [id="com.realtech.xiaocan:id/splash_ad_container"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13694858',
|
|
'https://i.gkd.li/import/13794403',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '弹窗广告',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.realtech.xiaocan.MainActivity',
|
|
matches:
|
|
'View[childCount=3] > View + ImageView + ImageView[clickable=true][childCount=0]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13694864',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|