feat(囧次元): 开屏广告,更新弹窗,广告弹窗 (#995)

* test

* Update com.viva.note.ts

* Update com.viva.note.ts

* chore(actions): check_format_lint

* Update com.viva.note.ts

* chore(actions): check_format_lint

* feat(囧次元): 规则优化

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
walklty 2023-10-14 01:13:28 +08:00 committed by GitHub
parent 13df822b99
commit 49a822da75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

68
src/apps/com.viva.note.ts Normal file
View File

@ -0,0 +1,68 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.viva.note',
name: '囧次元',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchLauncher: true,
rules: [
{
matches: 'TextView[text^="跳过"][text.length<=4]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12888429',
'https://gkd-kit.gitee.io/import/12888730',
'https://gkd-kit.gitee.io/import/12888762',
],
},
],
},
{
key: 1,
name: '应用内通知',
activityIds: [
'com.baidu.mobads.sdk.api.MobRewardVideoActivity',
'com.maoyun.guoguo.MainActivity',
],
matchLauncher: true,
rules: [
{
matches:
'View[desc^="APP最新版本"] > Button[desc="关闭"][clickable=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12888361',
'https://gkd-kit.gitee.io/import/12888389',
],
},
],
},
{
key: 2,
name: '应用内弹窗',
activityIds: [
'com.sigmob.sdk.base.common.TransparentAdActivity',
'com.baidu.mobads.sdk.api.MobRewardVideoActivity',
],
matchLauncher: true,
rules: [
{
matches: '[id="ad_area"] [id="close_btn"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12888388',
'https://gkd-kit.gitee.io/import/12888419',
'https://gkd-kit.gitee.io/import/12888578',
'https://gkd-kit.gitee.io/import/12888647',
],
},
{
matches:
'TextView[text="反馈"] + @ImageView[clickable=true] + TextView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12888945',
},
],
},
],
});