feat(智慧树): 开屏广告、弹窗广告 (#3566)

* feat 开屏广告

* feat 弹窗广告
This commit is contained in:
Kun Jinkao
2024-01-02 20:20:47 +08:00
committed by GitHub
parent 228bb0c8c8
commit 5daef343e5

View File

@@ -0,0 +1,32 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.hyww.wisdomtree',
name: '智慧树',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
quickFind: true,
rules: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13799839',
},
{
key: 1,
name: '弹窗广告',
rules: [
{
key: 0,
name: '百度广告',
activityIds: 'com.baidu.mobads.sdk.api.MobRewardVideoActivity',
matches:
'@ImageView[clickable=true] + RelativeLayout > RelativeLayout[childCount=6] > ImageView[childCount=0][index=5]',
snapshotUrls: 'https://i.gkd.li/import/13799876',
},
],
},
],
});