mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
74 lines
2.3 KiB
TypeScript
74 lines
2.3 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.gamersky',
|
|
name: '游民星空',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '局部广告-卡片式广告',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '首页卡片广告',
|
|
activityIds: 'com.gamersky.main.activity.LibMainActivity',
|
|
matches: '[text="广告"] < * + [id="com.gamersky:id/delete"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13451220',
|
|
'https://i.gkd.li/i/13635580',
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '正文底部卡片广告',
|
|
activityIds:
|
|
'com.gamersky.common.activity.LibDetailContentDetailActivity',
|
|
matches:
|
|
'WebView >2 View[childCount=2] > View[index=1] > @View[clickable=true][visibleToUser=true][childCount=0] <<n [vid="contentWebView"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13451258',
|
|
'https://i.gkd.li/i/14622935',
|
|
'https://i.gkd.li/i/14892583', // 避免误触
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
activityIds:
|
|
'com.gamersky.common.activity.LibDetailContentDetailActivity',
|
|
matches:
|
|
'View[childCount=2] > [text="广告"] + @View[clickable=true] <<n [id="com.gamersky:id/contentWebView"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13635579',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '评论区卡片广告',
|
|
activityIds:
|
|
'com.gamersky.common.activity.LibDetailContentDetailActivity',
|
|
matches:
|
|
'@[id="com.gamersky:id/close"][clickable=true][visibleToUser=true] - * > [id="com.gamersky:id/badge"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13759484',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '功能类-签到成功弹窗',
|
|
desc: '点击[确定]',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
quickFind: true,
|
|
activityIds: 'com.gamersky.main.activity.LibMainActivity',
|
|
matches: '[text="签到成功!"] < * > [text="确定"]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/696e417a-3100-43a2-a401-f4f80dfa9f47',
|
|
snapshotUrls: 'https://i.gkd.li/i/14761502',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|