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

Commit

Permalink
feat(苏打校园): 开屏广告、弹窗广告 (#2249)
Browse files Browse the repository at this point in the history
* feat 开屏广告

* feat 弹窗广告

* Update com.sodalife.sodax.ts

---------

Co-authored-by: 二刺螈 <[email protected]>
  • Loading branch information
Snoopy1866 and lisonge authored Nov 18, 2023
1 parent 2eaac97 commit 3a046f9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/apps/com.sodalife.sodax.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { defineAppConfig } from '../types';

export default defineAppConfig({
id: 'com.sodalife.sodax',
name: '苏打校园',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.byted.pangle.m:id/tt_splash_skip_btn"]',
snapshotUrls: 'https://i.gkd.li/import/13400628',
},
{
key: 1,
name: '弹窗广告',
rules: [
{
key: 1,
name: '字节广告',
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches: '@Image < View +3 View > View > TextView[text$="广告"]',
snapshotUrls: 'https://i.gkd.li/import/13400643',
},
{
key: 10,
name: '双十一广告',
activityIds:
'com.sodalife.sodax.libraries.ads.gromore.GroMoreSplashActivity',
matches:
'ViewGroup[childCount=2] > ViewGroup + ViewGroup[clickable=true][childCount=1]',
snapshotUrls: 'https://i.gkd.li/import/13400653',
},
],
},
],
});

0 comments on commit 3a046f9

Please sign in to comment.