feat(QQ浏览器): 开屏广告(优化规则) (#2039)

* feat 开屏广告(优化规则)

* feat(QQ浏览器): 开屏广告-规则优化

---------

Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
Kun Jinkao
2023-11-13 01:01:35 +08:00
committed by GitHub
parent 8b82a55a0f
commit eb1163c094

View File

@@ -7,13 +7,16 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.tencent.mtt.MainActivity', quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
'@View[id=null] + ImageView + FrameLayout TextView[text=`向上滑动或点击查看`]',
{ {
matches: '@LinearLayout[clickable=true] > TextView[text="跳过"]', matches: '@LinearLayout[clickable=true] > TextView[text="跳过"]',
snapshotUrls: ['https://i.gkd.li/import/12472630'], snapshotUrls: 'https://i.gkd.li/import/12472630',
}, },
'@View[id=null] + ImageView + FrameLayout TextView[text=`向上滑动或点击查看`]', // 缺少快照
], ],
}, },
{ {