mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(中国电信): 开屏广告
This commit is contained in:
@@ -4,13 +4,30 @@ export default defineGkdApp({
|
|||||||
id: 'com.ct.client',
|
id: 'com.ct.client',
|
||||||
name: '中国电信',
|
name: '中国电信',
|
||||||
groups: [
|
groups: [
|
||||||
|
{
|
||||||
|
key: -1,
|
||||||
|
name: '开屏广告',
|
||||||
|
quickFind: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/i/15084759',
|
||||||
|
'https://i.gkd.li/i/15079224', // 全局规则在此页面误触
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '功能类-软件更新/安装后的用户引导',
|
name: '功能类-软件更新/安装后的用户引导',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: 'com.ct.client.activity.UserGuideActivity',
|
activityIds: 'com.ct.client.activity.UserGuideActivity',
|
||||||
rules: '[id="com.ct.client:id/tvSkip"]',
|
rules: '[id="com.ct.client:id/tvSkip"]',
|
||||||
snapshotUrls: ['https://i.gkd.li/i/12508971'],
|
snapshotUrls: 'https://i.gkd.li/i/12508971',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
@@ -31,11 +48,11 @@ export default defineGkdApp({
|
|||||||
name: '全屏广告-浮窗广告',
|
name: '全屏广告-浮窗广告',
|
||||||
desc: '会出现在首页、查询办理页面',
|
desc: '会出现在首页、查询办理页面',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: ['com.ct.client.common.ConfirmDialogActivity'],
|
activityIds: 'com.ct.client.common.ConfirmDialogActivity',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: 'ImageView[id="com.ct.client:id/close"]',
|
matches: 'ImageView[id="com.ct.client:id/close"]',
|
||||||
snapshotUrls: ['https://i.gkd.li/i/12819676'],
|
snapshotUrls: 'https://i.gkd.li/i/12819676',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -43,11 +60,9 @@ export default defineGkdApp({
|
|||||||
key: 4,
|
key: 4,
|
||||||
name: '全屏广告-弹窗广告',
|
name: '全屏广告-弹窗广告',
|
||||||
// quickFind: true, 实机测试使用无法跳过
|
// quickFind: true, 实机测试使用无法跳过
|
||||||
activityIds: [
|
activityIds: 'com.ct.client.common.webview.OnlineBusinessWebkitActivity',
|
||||||
'com.ct.client.common.webview.OnlineBusinessWebkitActivity',
|
|
||||||
],
|
|
||||||
rules: 'Image[text="tishi-close"]',
|
rules: 'Image[text="tishi-close"]',
|
||||||
snapshotUrls: ['https://i.gkd.li/i/12913804'],
|
snapshotUrls: 'https://i.gkd.li/i/12913804',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
|
|||||||
Reference in New Issue
Block a user