feat(墨迹天气): 开屏广告规则适配 (#3312)

Co-authored-by: dlh <du__th@163.com>
This commit is contained in:
dlh
2023-12-24 20:32:08 +08:00
committed by GitHub
parent 7eb3d3d4aa
commit 97619954a2

View File

@@ -0,0 +1,31 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.moji.mjweather',
name: '墨迹天气',
groups: [
{
key: 0,
name: '开屏广告',
actionMaximum: 1,
resetMatch: 'app',
matchTime: 10000,
rules: [
{
name: '字节SDK',
quickFind: true,
activityIds: 'com.moji.mjweather.MainActivity',
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13544242',
},
{
name: '情况2',
quickFind: true,
activityIds: 'com.moji.mjad.splash.activity.SplashVideoActivity',
matches: '[text$="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13709986',
},
],
},
],
});