mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(Soul): 开屏广告-规则优化 (#1522)
* feat(Soul):开屏广告-规则优化 * Fix(Soul): 开屏广告 * chore(actions): check_format_lint * 注释更正 * Update cn.soulapp.android.ts * feat(Soul): 规则优化 --------- 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:
@@ -7,20 +7,28 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
activityIds: [
|
||||
'cn.soulapp.android.ad.ui.HotAdActivity',
|
||||
'cn.soulapp.android.component.startup.main.MainActivity',
|
||||
],
|
||||
rules: '[id="cn.soulapp.android:id/c_ad_skip_view_btn"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12833280',
|
||||
'https://i.gkd.li/import/12850094',
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
action: 'clickCenter', // 在极少数情况下, 即使节点是 clickable 的, APP 也不会响应节点点击事件, 此时需要手动设置 `clickCenter`
|
||||
matches: '[id="cn.soulapp.android:id/c_ad_skip_view_btn"]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12833280',
|
||||
'https://gkd-kit.gitee.io/import/12850094',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '青少年模式弹窗',
|
||||
activityIds: ['cn.soulapp.android.component.square.widget.dialog.d'],
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
matches: '[id="cn.soulapp.android:id/btn_sure"]',
|
||||
@@ -31,6 +39,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 2,
|
||||
name: '广场页卡片广告',
|
||||
quickFind: true,
|
||||
activityIds: ['cn.soulapp.android.component.startup.main.MainActivity'],
|
||||
rules: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user