mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat(乐校通): 开屏广告(优化规则)、卡片式广告(补充规则) (#2468)
* feat 开屏广告(优化规则) * feat 卡片式广告(补充规则)
This commit is contained in:
@@ -7,10 +7,11 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
activityIds: 'client.android.yixiaotong.ui.WelcomeActivity',
|
||||
matchLauncher: true,
|
||||
rules:
|
||||
'[id="client.android.yixiaotong:id/rel_advlogo"] - * >n [text^="跳过"]',
|
||||
quickFind: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[text^="跳过"][text.length<=10]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13055542',
|
||||
},
|
||||
{
|
||||
@@ -40,11 +41,28 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '应用内广告卡片',
|
||||
name: '卡片式广告',
|
||||
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
name: '腾讯广告',
|
||||
activityIds:
|
||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||
rules: 'ImageView - FrameLayout - FrameLayout > ImageView',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13055542',
|
||||
matches:
|
||||
'ImageView - FrameLayout - FrameLayout[childCount=1] > ImageView[childCount=0]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13451010',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '快手广告',
|
||||
activityIds:
|
||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||
matches:
|
||||
'[id="client.android.yixiaotong:id/ksad_container"] >n @TextView + View > [text="广告"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13450887',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
|
||||
Reference in New Issue
Block a user