mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
216 lines
6.7 KiB
TypeScript
216 lines
6.7 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.dragon.read',
|
|
name: '番茄免费小说',
|
|
deprecatedKeys: [-1, 11, 13],
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '局部广告-阅读页面广告',
|
|
activityIds: [
|
|
'com.dragon.read.ad.banner.ui',
|
|
'com.dragon.read.reader.ReaderActivity',
|
|
'com.dragon.read.reader.ui.ReaderActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches: '@ImageView - LinearLayout TextView[text="广告"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12908734',
|
|
},
|
|
{
|
|
key: 2,
|
|
matches:
|
|
'HorizontalAndVerticalScrollView > FrameLayout[childCount=14] > [index=9] >5 ImageView[clickable=true]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/d2f7c62c-be88-4668-b276-68bb53edfaad',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/14193836',
|
|
'https://i.gkd.li/i/13520314',
|
|
'https://i.gkd.li/i/12908734',
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
quickFind: true,
|
|
matches: '[text="关闭此条广告"]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/cf9d0574-dc89-4f03-ba01-eb9bcc97925f',
|
|
snapshotUrls: 'https://i.gkd.li/i/14540281',
|
|
},
|
|
{
|
|
key: 4,
|
|
matches:
|
|
'HorizontalAndVerticalScrollView > FrameLayout[childCount>=13] >(7,8,9) @FrameLayout[index=2][clickable=true] > ImageView',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/0129e5a7-ead1-4b92-a008-708632e5a927',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/14548657',
|
|
'https://i.gkd.li/i/14622531',
|
|
'https://i.gkd.li/i/14810480',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: '@[text="以后再说"] + [text="优先体验"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12716477',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '局部广告-首页右侧悬浮广告',
|
|
activityIds: [
|
|
'com.dragon.read.pages.main.MainFragmentActivity',
|
|
'com.dragon.read.ad.openingscreenad.OpeningScreenADActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[id="android:id/content"] > FrameLayout[childCount=1] > RelativeLayout[childCount=1] >2 ImageView[id!=null][clickable=true]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/12716506', //relativeLayout和ImageView之间是RelativeLayoutRelativeLayout
|
|
'https://i.gkd.li/i/13318796', //relativeLayout和ImageView之间是ViewGroup
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '全屏广告-弹窗广告',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '电商惊喜券',
|
|
activityIds: 'com.dragon.read.pages.main.MainFragmentActivity',
|
|
quickFind: true,
|
|
matches:
|
|
'@LynxFlattenUI[id=null][text=""][clickable=true] - [text="去逛商城"] -4 [text$="电商惊喜券"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12910159',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '爆款好物一分购',
|
|
quickFind: true,
|
|
activityIds: 'com.dragon.read.pages.main.MainFragmentActivity',
|
|
matches:
|
|
'@ImageView[clickable=true] <2 LinearLayout[childCount=2] < [id="android:id/content"][childCount=1]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12878266',
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '抽奖赢好礼',
|
|
quickFind: true,
|
|
activityIds: 'com.dragon.read.pages.main.MainFragmentActivity',
|
|
matches: '@LynxFlattenUI[clickable=true] - [text="前往抽奖"]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/77c4098a-818f-4d0f-8492-e98818d0da27',
|
|
snapshotUrls: 'https://i.gkd.li/i/14292475',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '功能类-阅读页面关注作者弹窗',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.dragon.read.reader.ui.ReaderActivity',
|
|
matches: '@ImageView +2 FrameLayout >3 [text="关注"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13399505',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 5,
|
|
name: '分段广告-阅读页面广告',
|
|
quickFind: true,
|
|
activityIds: 'com.dragon.read.reader.ui.ReaderActivity',
|
|
rules: [
|
|
{
|
|
key: 2,
|
|
name: '点击[继续阅读下一页]',
|
|
order: -1,
|
|
matches: '[text="继续阅读下一页"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13674556',
|
|
'https://i.gkd.li/i/13843155',
|
|
],
|
|
},
|
|
{
|
|
key: 0,
|
|
name: '点击[反馈]按钮',
|
|
matches: '[text="反馈"][visibleToUser=true][name$="UIText"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13520160',
|
|
'https://i.gkd.li/i/13816453',
|
|
],
|
|
},
|
|
{
|
|
preKeys: 0,
|
|
key: 1,
|
|
name: '点击[不感兴趣]',
|
|
matches: '[text="不感兴趣"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13520219',
|
|
'https://i.gkd.li/i/13674550',
|
|
'https://i.gkd.li/i/13816454',
|
|
'https://i.gkd.li/i/14913207',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 6,
|
|
name: '评价提示-请求好评弹窗',
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: '@ImageView[clickable=true] +3 * > [text="五星好评"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/14395093',
|
|
},
|
|
{
|
|
key: 10,
|
|
name: '通知提示-请求通知权限弹窗',
|
|
desc: '自动点击"取消"',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: '@[text="取消"] < * -2 * > [text="开启推送提醒"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12716592',
|
|
},
|
|
{
|
|
key: 12,
|
|
name: '全屏广告',
|
|
desc: '点击右上角"关闭"',
|
|
quickFind: true,
|
|
activityIds: 'com.dragon.read.reader.ui.ReaderActivity',
|
|
rules: 'TextView[text="广告"] +2 Button[id="com.dragon.read:id/close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13191156',
|
|
},
|
|
{
|
|
key: 14,
|
|
name: '全屏广告-会员福利弹窗',
|
|
desc: '点击关闭',
|
|
rules: [
|
|
{
|
|
quickFind: true,
|
|
activityIds: 'com.dragon.read.reader.ui.ReaderActivity',
|
|
matches:
|
|
'@ImageView[clickable=true] +2 [text="恭喜获得限时会员福利"]',
|
|
exampleUrls:
|
|
'https://m.gkd.li/57941037/00f23cee-4271-45fc-9a45-988ae20d0dde',
|
|
snapshotUrls: 'https://i.gkd.li/i/14430326',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|