feat(子腾园): 开屏广告、弹窗广告 (#2830)

* feat 开屏广告

* feat 弹窗广告
This commit is contained in:
Kun Jinkao
2023-12-05 20:35:44 +08:00
committed by GitHub
parent f7748636f5
commit 2c813267de

View File

@@ -0,0 +1,33 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.zmsoft.forwatch',
name: '子腾园',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text^="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13546004',
},
{
key: 1,
name: '弹窗广告',
rules: [
{
key: 0,
name: '字节广告',
activityIds: 'com.zmapp.fwatch.activity.NativeAdActivity',
quickFind: true,
matches:
'@[id="com.zmsoft.forwatch:id/ad_close"] - * >n [text="广告"]',
snapshotUrls: 'https://i.gkd.li/import/13545995',
},
],
},
],
});