feat(小熊油耗): 开屏广告 (#3878)

close #3858
This commit is contained in:
jiuqianyuan 2024-01-14 22:45:13 +08:00 committed by GitHub
parent a65aad90d9
commit 538b3ef192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,35 @@ export default defineAppConfig({
id: 'com.firebear.androil',
name: '小熊油耗',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
actionCdKey: 0,
actionMaximumKey: 0,
quickFind: true,
rules: [
{
key: 0,
matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/12712742',
},
{
matches:
'@View <2 * <2 * < [id="com.firebear.androil:id/adContainerLay"]',
snapshotUrls: [
'https://i.gkd.li/import/13088169',
'https://i.gkd.li/import/12855707',
'https://i.gkd.li/import/13927561',
],
},
],
},
{
key: 1,
name: '广告弹窗',
name: '全屏广告',
desc: '来自第三方SDK【穿山甲】',
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
@ -36,7 +62,7 @@ export default defineAppConfig({
},
{
key: 2,
name: '升级弹窗',
name: '更新提示',
activityIds: 'com.firebear.androil.app.home.MainActivity',
rules:
'@[id="com.firebear.androil:id/dismissNtfImgView"] < RelativeLayout - [id="com.firebear.androil:id/contentLay"] >3 TextView[text^="升级"]',