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,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
activityIds: 'client.android.yixiaotong.ui.WelcomeActivity',
|
quickFind: true,
|
||||||
matchLauncher: true,
|
matchTime: 10000,
|
||||||
rules:
|
actionMaximum: 1,
|
||||||
'[id="client.android.yixiaotong:id/rel_advlogo"] - * >n [text^="跳过"]',
|
resetMatch: 'app',
|
||||||
|
rules: '[text^="跳过"][text.length<=10]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13055542',
|
snapshotUrls: 'https://i.gkd.li/import/13055542',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -40,11 +41,28 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '应用内广告卡片',
|
name: '卡片式广告',
|
||||||
activityIds:
|
|
||||||
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
rules: [
|
||||||
rules: 'ImageView - FrameLayout - FrameLayout > ImageView',
|
{
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13055542',
|
key: 0,
|
||||||
|
name: '腾讯广告',
|
||||||
|
activityIds:
|
||||||
|
'client.android.yixiaotong.v3.ui.appcontrol.bath.BathDetailActivity',
|
||||||
|
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,
|
key: 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user