mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat(OMOFUN): 规则优化 (#1348)
* feat(OMOFUN): 规则优化 * 格式更正 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> close #1345
This commit is contained in:
@@ -7,6 +7,7 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
|
matchLauncher: true,
|
||||||
activityIds: ['com.cyl.musiccy.ou.MainActivity'],
|
activityIds: ['com.cyl.musiccy.ou.MainActivity'],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
@@ -31,6 +32,11 @@ export default defineAppConfig({
|
|||||||
matches: 'FrameLayout > LinearLayout > TextView[text^="跳过"]',
|
matches: 'FrameLayout > LinearLayout > TextView[text^="跳过"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13063246',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13063246',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
matches:
|
||||||
|
'[id="com.cyl.musiccy.ou:id/ksad_splash_root_container"] [text="跳过"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/13071599',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -51,11 +57,11 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '插屏广告',
|
name: '插屏广告',
|
||||||
|
matchLauncher: true,
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.cyl.musiccy.ou.MainActivity',
|
'com.cyl.musiccy.ou.MainActivity',
|
||||||
'com.sigmob.sdk.base.common.TransparentAdActivity',
|
'com.sigmob.sdk.base.common.TransparentAdActivity',
|
||||||
'com.miui.wakepath.ui.ConfirmStartActivity',
|
'com.miui.wakepath.ui.ConfirmStartActivity',
|
||||||
'com.miui.home.launcher.Launcher',
|
|
||||||
],
|
],
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
@@ -95,8 +101,11 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
action: 'clickCenter',
|
action: 'clickCenter',
|
||||||
matches:
|
matches:
|
||||||
'TextView[text="立即下载"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout[childCount=1] > ImageView',
|
'TextView[text="立即下载" || text="查看详情"] < FrameLayout <2 FrameLayout[childCount=2] -n FrameLayout[childCount=1] > ImageView',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12789928',
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12789928',
|
||||||
|
'https://gkd-kit.gitee.io/import/13071595',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
action: 'click',
|
action: 'click',
|
||||||
|
|||||||
Reference in New Issue
Block a user