Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
feat(PU口袋校园): 开屏广告、全屏广告(补充规则)
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Mar 11, 2024
1 parent 893a153 commit 0028b5f
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion src/apps/com.xyhui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,41 @@ export default defineAppConfig({
name: 'PU口袋校园',
deprecatedKeys: [4],
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
quickFind: true,
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true] + TextView <<n [id="android:id/content"]',
exampleUrls:
'https://m.gkd.li/57941037/2285d166-e042-4217-8e78-9b58414d16aa',
snapshotUrls: [
'https://i.gkd.li/i/14560058',
'https://i.gkd.li/i/14560214',
],
},
],
},
{
key: 1,
name: '全屏广告-弹窗广告',
rules: [
{
key: 1,
name: '腾讯广告-1',
quickFind: true,
activityIds: [
'com.xyhui.start.PUMainActivity',
'com.xyhui.start.LoadingActivity',
'com.huawei.permissioncontroller.hwcust.appjump.AppJumpActivity',
],
matches:
'[id="android:id/content"] >(4,5) FrameLayout[index=1] > ImageView',
' [id="android:id/content"] >(4,5) FrameLayout[index=1] > @ImageView <<n [id="android:id/content"]',
snapshotUrls: [
'https://i.gkd.li/i/14472097',
'https://i.gkd.li/i/14472098',
Expand Down Expand Up @@ -55,6 +76,15 @@ export default defineAppConfig({
matches: '[id="com.xyhui:id/ms_activity_sdk_interstitial_cacel"]',
snapshotUrls: 'https://i.gkd.li/i/13458692',
},
{
key: 5,
quickFind: true,
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
matches:
'[text="反馈"] + @View[visibleToUser=true] > Image <<n [id="android:id/content"]',
snapshotUrls: 'https://i.gkd.li/i/14560546',
},
],
},
{
Expand Down

0 comments on commit 0028b5f

Please sign in to comment.