mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-18 07:45:10 +08:00
68 lines
2.0 KiB
TypeScript
68 lines
2.0 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.tencent.androidqqmail',
|
|
name: 'QQ邮箱',
|
|
groups: [
|
|
{
|
|
key: -1,
|
|
name: '开屏广告',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules:
|
|
'RelativeLayout[childCount=3] > ImageView + @ImageView[clickable=true][visibleToUser=true] + FrameLayout[childCount>0]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12775855',
|
|
},
|
|
{
|
|
key: 0,
|
|
name: '分段广告-列表卡片广告',
|
|
quickFind: true,
|
|
activityIds: 'com.tencent.qqmail.fragment.base.MailFragmentActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '英文版邮箱广告-点击Ads',
|
|
matches: ['[id="com.tencent.androidqqmail:id/advertise_view_ad"]'],
|
|
snapshotUrls: 'https://i.gkd.li/i/12842757',
|
|
},
|
|
{
|
|
name: '英文版邮箱广告-点击Not interested',
|
|
preKeys: [0],
|
|
matches: '@FrameLayout > TextView[text="Not interested"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12842775',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '点击[广告]',
|
|
matches:
|
|
'LinearLayout > TextView + @LinearLayout[id!=null][clickable=true] > [text="广告"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12775857',
|
|
},
|
|
{
|
|
preKeys: [0, 1], // https://github.com/gkd-kit/subscription/issues/1776
|
|
key: 9,
|
|
name: '点击[不感兴趣]',
|
|
matches:
|
|
'[text="赞助商提供的广告"] < FrameLayout + @FrameLayout > [text="不感兴趣"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12775862',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '通知提示-开启通知提醒',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches: '[text="立刻开启"] - [text="以后再说"]',
|
|
snapshotUrls: ['https://i.gkd.li/i/13043069'],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|