mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
60 lines
1.8 KiB
TypeScript
60 lines
1.8 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.guwendao.gwd',
|
|
name: '古文岛',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '更新提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: '[text="应用升级提醒"] +n LinearLayout > [text="取消"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12776605',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '全屏广告-弹窗广告',
|
|
activityIds: 'com.guwendao.gwd.MainActivity',
|
|
rules: [
|
|
// 腾讯广告
|
|
{
|
|
key: 0,
|
|
matches: 'ImageView - FrameLayout > FrameLayout > ImageView[id=null]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12776607',
|
|
},
|
|
{
|
|
activityIds:
|
|
'com.android.systemui.media.MediaProjectionPermissionActivity', // 疑似设置权限后activityId更新不及时产生的bug
|
|
key: 1,
|
|
matches:
|
|
'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView[id=null]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12777151',
|
|
},
|
|
{
|
|
key: 2,
|
|
matches:
|
|
'[id="com.byted.pangle.m:id/tt_reward_full_count_down_after"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12781344',
|
|
},
|
|
{
|
|
key: 3,
|
|
matches:
|
|
'ImageView < FrameLayout + FrameLayout > FrameLayout > ImageView[id=null]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12924728',
|
|
},
|
|
|
|
// 字节广告
|
|
{
|
|
activityIds:
|
|
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
|
|
key: 10,
|
|
matches: '@Image[id=null] < View + View + TextView[text="反馈"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12781327',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|