feat(小蚕霸王餐): 开屏广告(补充规则)、弹窗广告 (#3247)

* feat 开屏广告(补充规则)

* feat 弹窗广告
This commit is contained in:
Kun Jinkao
2023-12-24 20:04:52 +08:00
committed by GitHub
parent d9855f9704
commit 0b28bda292

View File

@@ -13,7 +13,6 @@ export default defineAppConfig({
rules: [
{
key: 1,
name: '开屏广告-1',
quickFind: true,
matches: '[text^="跳过"][text.length<=10]',
snapshotUrls: [
@@ -24,10 +23,28 @@ export default defineAppConfig({
},
{
key: 2,
name: '开屏广告-2',
matches: '[id = "com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/12854728',
},
{
key: 3,
matches:
'[id="com.realtech.xiaocan:id/splash_ad_container"] >n FrameLayout[childCount=3] > FrameLayout + @View[clickable=true] + TextView',
snapshotUrls: 'https://i.gkd.li/import/13694858',
},
],
},
{
key: 1,
name: '弹窗广告',
rules: [
{
key: 0,
activityIds: 'com.realtech.xiaocan.MainActivity',
matches:
'View[childCount=3] > View + ImageView + ImageView[clickable=true][childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/13694864',
},
],
},
],