feat(酷安):开屏广告 (#3695)

close #3691
This commit is contained in:
AIsouler 2024-01-04 21:19:13 +08:00 committed by GitHub
parent 53c5005757
commit f943e28cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,18 @@ export default defineAppConfig({
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0,
excludeActivityIds: [
'com.coolapk.market.view.search.',
'com.coolapk.market.view.feed.',
'com.coolapk.market.view.search.', // 在搜索页面禁用
'com.coolapk.market.view.feed.', // 在动态页面禁用
],
rules: [
{
quickFind: true,
key: 0,
matches: '[id$="tt_splash_skip_btn"]',
matches:
'[id$="tt_splash_skip_btn"] <<n [id="com.coolapk.market:id/ad_container"]',
snapshotUrls: [
'https://i.gkd.li/import/12503773',
'https://i.gkd.li/import/13247610',
@ -38,6 +42,16 @@ export default defineAppConfig({
'https://i.gkd.li/import/13296816', // snapshot of excludeMatches
],
},
{
key: 2,
quickFind: true,
matches:
'@View[clickable=true] <(2,3) FrameLayout <2 FrameLayout <<n FrameLayout[id="com.coolapk.market:id/ad_container"]',
snapshotUrls: [
'https://i.gkd.li/import/13826359',
'https://i.gkd.li/import/13827095',
],
},
],
},
{