mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
59 lines
1.7 KiB
TypeScript
59 lines
1.7 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.netease.mobimail',
|
|
name: '网易邮箱',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告-0',
|
|
quickFind: true,
|
|
matches: '[text*="跳过"][text.length<=10][clickable=true]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12667519',
|
|
'https://i.gkd.li/import/13328425', // 限定 [clickable=true] 防止误触假的跳过按钮
|
|
'https://i.gkd.li/import/12686132',
|
|
'https://i.gkd.li/import/13328441',
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '开屏广告-1',
|
|
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12686093',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '邮件列表页面广告条目',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
|
|
matches: '[id="com.netease.mobimail:id/ad_vip"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12683488',
|
|
},
|
|
{
|
|
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
|
|
matches: '[id="com.netease.mobimail:id/ll_delete"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12683511',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '切回时的开屏广告',
|
|
activityIds: 'com.netease.mail.biz.main.MainITabActivity',
|
|
rules: '@LinearLayout > TextView[text^="跳过"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12685745',
|
|
},
|
|
],
|
|
});
|