Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(迅游手游加速器):开屏广告、分段广告 (#3866)
Browse files Browse the repository at this point in the history
close #3773
  • Loading branch information
AIsouler authored Jan 14, 2024
1 parent c7a67fc commit 3f95722
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/apps/cn.wsds.gamemaster.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import { defineAppConfig } from '../types';

export default defineAppConfig({
id: 'cn.wsds.gamemaster',
name: '迅游手游加速器',
groups: [
{
key: 1,
name: '开屏广告',
desc: '点击跳过',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
matches:
'@View <2 FrameLayout[childCount=3] <2 FrameLayout[childCount=2] < [vid="splash_container"]',
snapshotUrls: 'https://i.gkd.li/import/13930391',
},
],
},
{
key: 2,
name: '分段广告-卡片广告',
desc: '点击X-点击不感兴趣',
rules: [
{
key: 0,
activityIds: 'cn.wsds.gamemaster.ui.gamedetails.ActivityGameDetails',
matches:
'[id="cn.wsds.gamemaster:id/feed_ad"] [text="立即下载"] + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13930398',
},
{
preKeys: 0,
quickFind: true,
activityIds: 'cn.wsds.gamemaster.ui.gamedetails.ActivityGameDetails',
matches: '[text="不感兴趣"]',
snapshotUrls: 'https://i.gkd.li/import/13930399',
},
],
},
],
});

0 comments on commit 3f95722

Please sign in to comment.