mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
61 lines
1.8 KiB
TypeScript
61 lines
1.8 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.nowcasting.activity',
|
|
name: '彩云天气',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '全屏广告-VIP弹窗广告',
|
|
quickFind: true,
|
|
activityIds: 'com.nowcasting.activity.WeatherActivity',
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[text="开心收下"] + [id="com.nowcasting.activity:id/iv_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13405130',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '全屏广告-弹窗广告',
|
|
quickFind: true,
|
|
activityIds: 'com.nowcasting.activity.WeatherActivity',
|
|
rules: [
|
|
{
|
|
matches: [
|
|
'[id=null][text^="立即" || text^="领取" || text^="了解"][text.length=4]',
|
|
'[id="android:id/content"] >2 FrameLayout[childCount=3||childCount=2||childCount=4] > FrameLayout[childCount=5||childCount=6||childCount=8] > FrameLayout[childCount=1] > ImageView[text=null][visibleToUser=true]',
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/i/13405131',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '分段广告-卡片广告',
|
|
quickFind: true,
|
|
activityIds: 'com.nowcasting.activity.WeatherActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: ['[id="com.nowcasting.activity:id/jad_feed_close"]'],
|
|
snapshotUrls: 'https://i.gkd.li/i/13690826',
|
|
},
|
|
{
|
|
key: 1,
|
|
matches: ['[id="com.nowcasting.activity:id/ll_close"]'],
|
|
snapshotUrls: 'https://i.gkd.li/i/13690822',
|
|
},
|
|
{
|
|
preKeys: 1,
|
|
key: 2,
|
|
matches: ['[id="com.nowcasting.activity:id/ll_uninterested"]'],
|
|
snapshotUrls: 'https://i.gkd.li/i/13690830',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|