mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(摩托范): 广告弹窗-完善规则 (#954)
* improvement 【第三方 SDK 广告弹窗】 * feat 【第三方 SDK 广告弹窗】增加activityid * feat 第三方 SDK 广告弹窗(完善规则)
This commit is contained in:
@@ -7,24 +7,29 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 1,
|
||||
name: '第三方 SDK 广告弹窗',
|
||||
matchLauncher: true,
|
||||
activityIds: [
|
||||
'com.jdd.motorfans.MTMainActivity',
|
||||
'com.jdd.motorfans.modules.detail.DetailActivity2',
|
||||
'com.jdd.motorfans.search.SearchMainActivity',
|
||||
'com.miui.home.launcher.Launcher',
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches:
|
||||
'[id="com.jdd.motorfans:id/ad_content"] >n [id="com.jdd.motorfans:id/iv_close"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12733646',
|
||||
'https://gkd-kit.songe.li/import/12798654',
|
||||
'https://gkd-kit.songe.li/import/12878843',
|
||||
'https://gkd-kit.songe.li/import/12840710',
|
||||
],
|
||||
exampleUrls:
|
||||
'https://user-images.githubusercontent.com/44717382/270852019-b0296eaa-a378-49b3-877b-acefca2a7d58.gif',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
matches: '@ImageView -n RelativeLayout > TextView[text*="广告"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12826288'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user