mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
64 lines
1.8 KiB
TypeScript
64 lines
1.8 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.tima.carnet.m.main',
|
|
name: '钛马星',
|
|
groups: [
|
|
{
|
|
key: 2,
|
|
name: '全屏广告-每日弹窗广告',
|
|
activityIds: [
|
|
'com.tima.carnet.m.main.lib.common.dialog.TimaLoadingDialog',
|
|
'com.tima.carnet.m.main.app.main.NoticeActivity',
|
|
'com.tima.carnet.m.main.app.main.MainActivity',
|
|
'com.tima.carnet.m.main.LaunchActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
matches: [
|
|
'CheckBox[id$="today_will_not_shown"] + ImageButton[clickable=true]',
|
|
],
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/12654432',
|
|
'https://i.gkd.li/i/13507746',
|
|
'https://i.gkd.li/i/13508074',
|
|
'https://i.gkd.li/i/13508041',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '分段广告-设备界面顶部广告',
|
|
activityIds: ['com.tima.carnet.m.main.app.main.MainActivity'],
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches:
|
|
'[id="com.tima.carnet.m.main:id/fl_ad_banner"] >n Image[text!=null&&text!=""] < View +n View > Image',
|
|
snapshotUrls: ['https://i.gkd.li/i/13508030'],
|
|
},
|
|
{
|
|
key: 2,
|
|
matches:
|
|
'[id="com.tima.carnet.m.main:id/fl_ad_banner"] >n Image[text!=null&&text!=""] + View > Image',
|
|
snapshotUrls: ['https://i.gkd.li/i/13508115'],
|
|
},
|
|
{
|
|
key: 3,
|
|
preKeys: [1, 2],
|
|
matches: '[text="不感兴趣"]',
|
|
snapshotUrls: ['https://i.gkd.li/i/13508102'],
|
|
},
|
|
{
|
|
key: 4, //有时存在加载不出来的情况
|
|
preKeys: [1, 2],
|
|
action: 'back',
|
|
matches: 'ListView[childCount=0]',
|
|
snapshotUrls: ['https://i.gkd.li/i/13508072'],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|