mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +08:00
78 lines
2.7 KiB
TypeScript
78 lines
2.7 KiB
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
|
|
|
export default defineGkdApp({
|
|
id: 'com.gentle.ppcat',
|
|
name: '皮皮喵',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
priorityTime: 10000,
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
fastQuery: true,
|
|
matches: '@FrameLayout - LinearLayout >2 [text$="惊喜奖励"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/12777048',
|
|
'https://i.gkd.li/i/12858015',
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
fastQuery: true,
|
|
matches: '[text="放弃奖励离开"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/15008493',
|
|
},
|
|
{
|
|
key: 2,
|
|
matches: '@ImageView - WebView > [text="优量汇-插屏视频endcard"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12777051',
|
|
},
|
|
{
|
|
key: 3,
|
|
matches: '[desc="关闭喵"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13797494',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '全屏广告-弹窗广告',
|
|
desc: '点击关闭',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
fastQuery: true,
|
|
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/68c0ad3a-0f25-43bb-a6d4-ab45d49e8db7',
|
|
snapshotUrls: 'https://i.gkd.li/i/20950433',
|
|
},
|
|
{
|
|
key: 1,
|
|
fastQuery: true,
|
|
activityIds: '.MainActivity',
|
|
matches:
|
|
'@ImageView[childCount=0][visibleToUser=true][width<100 && height<100] < FrameLayout[childCount=1] <2 FrameLayout[childCount=3] < FrameLayout < FrameLayout < FrameLayout < FrameLayout < [id="android:id/content"]',
|
|
exampleUrls: 'https://e.gkd.li/7002f432-f9cb-45c1-a120-5458b94782b3',
|
|
snapshotUrls: 'https://i.gkd.li/i/20950403',
|
|
},
|
|
{
|
|
key: 2,
|
|
activityIds:
|
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
matches:
|
|
'@Image[childCount=0][visibleToUser=true][width<80 && height<80] < View[childCount=1] < View[childCount=1] + View > [text="反馈"]',
|
|
exampleUrls: 'https://e.gkd.li/f3ad0b42-3c85-4742-9326-8a4b221fb433',
|
|
snapshotUrls: 'https://i.gkd.li/i/20960114',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|