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

Commit

Permalink
feat(大师兄影视): 开屏广告(优化规则)、弹窗广告(优化、补充 activityId) (#2250)
Browse files Browse the repository at this point in the history
* feat 开屏广告(优化规则)

* feat 弹窗广告(优化、补充 activityId)
  • Loading branch information
Snoopy1866 authored Nov 18, 2023
1 parent ea8d87f commit 0e2a0a6
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/apps/com.zhiyin.qingdan.dashixiong.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,51 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.zhiyin.qingdan.dashixiong.MainActivity',
matchLauncher: true,
quickFind: true,
rules: [
{
key: 0,
matches: 'ImageView -n LinearLayout > [text^="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12843284',
},
{
key: 1,
matches:
'[id="com.zhiyin.qingdan.dashixiong:id/ksad_splash_circle_skip_view"] > [text="跳过"]',
snapshotUrls: 'https://i.gkd.li/import/12843283',
},
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text^="跳过"][text.length<=10]',
snapshotUrls: [
'https://i.gkd.li/import/12843284',
'https://i.gkd.li/import/12843283',
],
},
{
key: 1,
name: '应用内广告弹窗',
name: '弹窗广告',
activityIds: 'com.zhiyin.qingdan.dashixiong.MainActivity',
rules: [
{
key: 0,
name: '快手广告',
quickFind: true,
matches:
'@ImageView <n ViewGroup -2 ViewGroup > ViewGroup > [text="广告"]',
snapshotUrls: 'https://i.gkd.li/import/12843281',
},
{
key: 1,
name: '腾讯广告-1',
matches:
'ImageView - LinearLayout - FrameLayout > FrameLayout > ImageView',
'ImageView - LinearLayout - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/12843282',
},
{
key: 2,
matches: 'ImageView - FrameLayout > FrameLayout > ImageView',
name: '腾讯广告-2',
activityIds: 'com.qq.e.ads.ADActivity',
matches:
'ImageView - FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: [
'https://i.gkd.li/import/12843345',
'https://i.gkd.li/import/12843333',
'https://i.gkd.li/import/13400656', // com.qq.e.ads.ADActivity
],
},
{
key: 3,
name: '字节广告',
quickFind: true,
matches: '@Image < View +n View > View > View > [text="广告"]',
snapshotUrls: 'https://i.gkd.li/import/12843323',
Expand Down

0 comments on commit 0e2a0a6

Please sign in to comment.