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