feat(UC浏览器): 开屏广告-规则优化 (#1563)

* feat(UC浏览器): 开屏广告

* feat(UC浏览器): 开屏广告

---------

Co-authored-by: lisonge <i@songe.li>

close #1556
This commit is contained in:
jiuqianyuan
2023-10-30 00:40:24 +08:00
committed by GitHub
parent 55deaf6de6
commit a27956ddfa

View File

@@ -7,11 +7,22 @@ export default defineAppConfig({
{ {
key: -1, key: -1,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.uc.browser.InnerUCMobile', matchTime: 10000,
matchLauncher: true, actionMaximum: 1,
rules: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', resetMatch: 'app',
quickFind: true,
rules: [
{
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13188653', snapshotUrls: 'https://i.gkd.li/import/13188653',
}, },
{
matches:
'@View[clickable=true] < RelativeLayout <2 FrameLayout < FrameLayout < FrameLayout <4 FrameLayout < [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/import/13197655',
},
],
},
{ {
key: 0, key: 0,
name: '信息流广告', name: '信息流广告',