mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 19:22:22 +08:00
feat(古文岛): 更新弹窗,第三方 SDK 广告弹窗 (#564)
* 新创建 App 规则 * 新创建 App 规则 * feat 【第三方 SDK 广告弹窗】新增两条规则
This commit is contained in:
parent
54f58dcf4b
commit
413adcafc7
49
src/apps/com.guwendao.gwd.ts
Normal file
49
src/apps/com.guwendao.gwd.ts
Normal file
|
@ -0,0 +1,49 @@
|
|||
import { machine } from 'os';
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
id: 'com.guwendao.gwd',
|
||||
name: '古文岛',
|
||||
groups: [
|
||||
{
|
||||
key: 1,
|
||||
name: '更新弹窗',
|
||||
activityIds: 'com.guwendao.gwd.MainActivity',
|
||||
rules: '[text="应用升级提醒"] +n LinearLayout > [text="取消"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12776605',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '第三方 SDK 广告弹窗',
|
||||
activityIds: 'com.guwendao.gwd.MainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
matches: 'ImageView - FrameLayout > FrameLayout > ImageView[id=null]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12776607',
|
||||
},
|
||||
{
|
||||
activityIds:
|
||||
'com.android.systemui.media.MediaProjectionPermissionActivity', // 疑似设置权限后activityId更新不及时产生的bug
|
||||
key: 1,
|
||||
matches:
|
||||
'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView[id=null]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12777151',
|
||||
},
|
||||
{
|
||||
activityIds:
|
||||
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
||||
key: 2,
|
||||
matches: '@Image[id=null] < View + View + TextView[text="反馈"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12781327',
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
matches:
|
||||
'[id="com.byted.pangle.m:id/tt_reward_full_count_down_after"]',
|
||||
snapshotUrls: 'https://gkd-kit.songe.li/import/12781344',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
Loading…
Reference in New Issue
Block a user