This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(OmoFun): 开屏广告,首页通知,插屏广告 * feat(OmoFun): 开屏广告,首页通知,插屏广告 合并规则 * feat(OmoFun): 开屏广告,首页通知,插屏广告 * feat(OMOFUN): 规则优化 --------- Co-authored-by: lisonge <[email protected]>
- Loading branch information
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
import { defineAppConfig } from '../types'; | ||
|
||
export default defineAppConfig({ | ||
id: 'com.ksf.yyx', | ||
name: 'OMOFUN', | ||
groups: [ | ||
{ | ||
key: 0, | ||
name: '开屏广告', | ||
activityIds: ['com.ksf.yyx.MainActivity'], | ||
rules: [ | ||
{ | ||
matches: '[id="com.ksf.yyx:id/ksad_splash_circle_skip_view"]', | ||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12775918', | ||
}, | ||
{ | ||
matches: | ||
'[id="com.ksf.yyx:id/ksad_splash_root_container"] [childCount=3] > @ImageView[clickable=true] - [text="|"]', | ||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12775919'], | ||
}, | ||
{ | ||
matches: | ||
'FrameLayout > FrameLayout > [text^="跳过 "][text.length<=4][clickable=true]', | ||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12775926', | ||
}, | ||
], | ||
}, | ||
{ | ||
key: 1, | ||
name: '首页通知', | ||
activityIds: ['com.ksf.yyx.MainActivity'], | ||
rules: [ | ||
{ | ||
matches: '[desc="了解更多"] - [desc="我知道了"]', | ||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12775920', | ||
}, | ||
], | ||
}, | ||
{ | ||
key: 2, | ||
name: '插屏广告', | ||
activityIds: [ | ||
'com.ksf.yyx.MainActivity', | ||
'com.sigmob.sdk.base.common.TransparentAdActivity', | ||
], | ||
rules: [ | ||
{ | ||
matches: '[id="com.ksf.yyx:id/ksad_container"] [text="跳过"]', | ||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12775922', | ||
}, | ||
{ | ||
matches: | ||
'[id="com.ksf.yyx:id/ksad_container"] [text="广告"] <2 ViewGroup -2 ViewGroup > @ViewGroup[clickable=true][childCount=1] ImageView', | ||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12775923', | ||
}, | ||
{ | ||
matches: '[id="ad_area"] [id="close_btn"][clickable=true]', | ||
snapshotUrls: [ | ||
'https://gkd-kit.gitee.io/import/12775925', | ||
'https://gkd-kit.gitee.io/import/12775924', | ||
], | ||
}, | ||
{ | ||
action: 'clickCenter', | ||
matches: | ||
'[text^="去"][text$="看看"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout[childCount=1] > ImageView', | ||
snapshotUrls: [ | ||
'https://gkd-kit.gitee.io/import/12775921', | ||
'https://gkd-kit.gitee.io/import/12776903', | ||
], | ||
}, | ||
], | ||
}, | ||
], | ||
}); |