mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 02:05:06 +08:00
perf: 弹窗广告 (适配fastQuery)
This commit is contained in:
@@ -17,40 +17,32 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 0,
|
||||
name: '全屏广告-弹窗广告',
|
||||
desc: '点击右上角x按钮',
|
||||
desc: '点击关闭',
|
||||
actionDelay: 750,
|
||||
activityIds: [
|
||||
'com.miaoying.appmy.cs.MainActivity',
|
||||
'com.miui.home.launcher.Launcher',
|
||||
],
|
||||
activityIds: 'com.miaoying.appmy.cs.MainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
fastQuery: true,
|
||||
matches:
|
||||
'@ImageView < FrameLayout -2 ImageView < FrameLayout + FrameLayout > FrameLayout > TextView[text.length=4]',
|
||||
snapshotUrls: ['https://i.gkd.li/i/12565637'],
|
||||
},
|
||||
{
|
||||
matches:
|
||||
'@ImageView[desc=null&&id=null] < FrameLayout[childCount=1] +n FrameLayout[childCount<=1] + FrameLayout > FrameLayout > TextView[text.length=4]',
|
||||
'@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="跳转微信"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/12565637',
|
||||
'https://i.gkd.li/i/12522881',
|
||||
'https://i.gkd.li/i/12565480',
|
||||
'https://i.gkd.li/i/12565507',
|
||||
'https://i.gkd.li/i/12565510',
|
||||
],
|
||||
},
|
||||
{
|
||||
matches: [
|
||||
'@ImageView < FrameLayout - ImageView < FrameLayout + FrameLayout > TextView[text.length=4]',
|
||||
],
|
||||
key: 1,
|
||||
fastQuery: true,
|
||||
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] <2 FrameLayout[childCount=5] + FrameLayout[childCount=2] > [text^="立即" || text="查看详情" || text="了解更多" || text="去逛逛" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/12565475',
|
||||
},
|
||||
{
|
||||
matches: [
|
||||
'@ImageView < FrameLayout + FrameLayout + ImageView + FrameLayout + FrameLayout > TextView[text.length=4]',
|
||||
],
|
||||
snapshotUrls: 'https://i.gkd.li/i/12565510',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
matches:
|
||||
'TextView[text=null] - FrameLayout > ImageView + FrameLayout > ImageView',
|
||||
snapshotUrls: 'https://i.gkd.li/i/12565522',
|
||||
|
||||
Reference in New Issue
Block a user