mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
feat(OMOFUN): 弹窗广告(优化规则)、开屏广告(优化规则) (#3293)
* feat 弹窗广告(优化规则) * feat 开屏广告(优化规则)
This commit is contained in:
@@ -7,12 +7,13 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
quickFind: true,
|
|
||||||
matchTime: 10000,
|
matchTime: 10000,
|
||||||
actionMaximum: 1,
|
actionMaximum: 1,
|
||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
key: 0,
|
||||||
|
quickFind: true,
|
||||||
matches: '[text*="跳过"][text.length<=10]',
|
matches: '[text*="跳过"][text.length<=10]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12775918',
|
'https://i.gkd.li/import/12775918',
|
||||||
@@ -23,6 +24,7 @@ export default defineAppConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
matches:
|
matches:
|
||||||
'[id="com.cyl.musiccy.ou:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]',
|
'[id="com.cyl.musiccy.ou:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]',
|
||||||
snapshotUrls: ['https://i.gkd.li/import/12775919'],
|
snapshotUrls: ['https://i.gkd.li/import/12775919'],
|
||||||
@@ -45,19 +47,18 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '插屏广告',
|
name: '弹窗广告',
|
||||||
matchLauncher: true,
|
|
||||||
actionDelay: 300,
|
actionDelay: 300,
|
||||||
activityIds: [
|
|
||||||
'com.cyl.musiccy.ou.MainActivity',
|
|
||||||
'com.sigmob.sdk.base.common.TransparentAdActivity',
|
|
||||||
'com.miui.wakepath.ui.ConfirmStartActivity',
|
|
||||||
],
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
quickFind: true,
|
activityIds: [
|
||||||
matches: '[id="com.cyl.musiccy.ou:id/ksad_container"] [text="跳过"]',
|
'com.cyl.musiccy.ou.MainActivity',
|
||||||
|
'com.ksf.yyx.MainActivity',
|
||||||
|
],
|
||||||
|
name: '快手广告-1',
|
||||||
|
matches:
|
||||||
|
'[id$="ksad_container"] >n @ViewGroup[clickable=true] > [text="跳过"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12775922',
|
'https://i.gkd.li/import/12775922',
|
||||||
'https://i.gkd.li/import/13063222',
|
'https://i.gkd.li/import/13063222',
|
||||||
@@ -65,21 +66,33 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
|
name: '快手广告-2',
|
||||||
|
activityIds: 'com.ksf.yyx.MainActivity',
|
||||||
matches:
|
matches:
|
||||||
'[id="com.cyl.musiccy.ou:id/ksad_container"] [text="广告"] <2 ViewGroup -2 ViewGroup > @ViewGroup[clickable=true][childCount=1] ImageView',
|
'[text="广告"] <2 ViewGroup -2 ViewGroup > @ViewGroup[clickable=true] > ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12775923',
|
snapshotUrls: 'https://i.gkd.li/import/12775923',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
quickFind: true,
|
name: 'Sigmob广告',
|
||||||
|
activityIds: [
|
||||||
|
'com.cyl.musiccy.ou.MainActivity',
|
||||||
|
'com.sigmob.sdk.base.common.TransparentAdActivity',
|
||||||
|
],
|
||||||
matches: '[id="ad_area"] [id="close_btn"][clickable=true]',
|
matches: '[id="ad_area"] [id="close_btn"][clickable=true]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/import/13759345',
|
||||||
'https://i.gkd.li/import/12775925',
|
'https://i.gkd.li/import/12775925',
|
||||||
'https://i.gkd.li/import/12775924',
|
'https://i.gkd.li/import/12775924',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
|
name: '腾讯广告-1',
|
||||||
|
activityIds: [
|
||||||
|
'com.ksf.yyx.MainActivity',
|
||||||
|
'com.android.internal.app.ResolverActivity',
|
||||||
|
],
|
||||||
matches:
|
matches:
|
||||||
'ImageView <n FrameLayout > FrameLayout[index=1] > FrameLayout[index=2] > ImageView',
|
'ImageView <n FrameLayout > FrameLayout[index=1] > FrameLayout[index=2] > ImageView',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
@@ -92,12 +105,16 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
|
name: '腾讯广告-2',
|
||||||
|
activityIds: 'com.cyl.musiccy.ou.MainActivity',
|
||||||
matches:
|
matches:
|
||||||
'ImageView <n FrameLayout - FrameLayout > FrameLayout[index=1] > ImageView',
|
'ImageView <n FrameLayout - FrameLayout > FrameLayout[index=1] > ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13063249',
|
snapshotUrls: 'https://i.gkd.li/import/13063249',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
|
name: '腾讯广告-3',
|
||||||
|
activityIds: 'com.cyl.musiccy.ou.MainActivity',
|
||||||
matches:
|
matches:
|
||||||
'ImageView <n FrameLayout > FrameLayout[index=0] > FrameLayout FrameLayout > ImageView',
|
'ImageView <n FrameLayout > FrameLayout[index=0] > FrameLayout FrameLayout > ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13422363',
|
snapshotUrls: 'https://i.gkd.li/import/13422363',
|
||||||
|
|||||||
Reference in New Issue
Block a user