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

Commit

Permalink
feat(雪球): 开屏广告 (#2197)
Browse files Browse the repository at this point in the history
* 雪球app首页广告及评论区广告

* Update com.xueqiu.android.ts

---------

Co-authored-by: 二刺螈 <[email protected]>
  • Loading branch information
bleach2012 and lisonge authored Nov 20, 2023
1 parent ff0be17 commit c31f128
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions src/apps/com.xueqiu.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,41 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
activityIds: 'com.xueqiu.android.community.FakeAdActivity',
rules: '[id="com.xueqiu.android:id/tv_skip"][text^="跳过"]',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[id="com.xueqiu.android:id/tv_skip"]',
snapshotUrls: 'https://i.gkd.li/import/12776009',
},
{
key: 1,
name: '首页广告',
rules: [
{
quickFind: true,
activityIds:
'com.xueqiu.android.mainnesting.view.MainNestingActivity',
matches: '[id=`com.xueqiu.android:id/ad_close`]',
exampleUrls:
'https://m.gkd.li/33366298/d05d1eec-cda5-4d37-a494-8eef7b7871dd',
snapshotUrls: 'https://i.gkd.li/import/13388227',
},
],
},
{
key: 2,
name: '评论区广告',
rules: [
{
quickFind: true,
activityIds: 'com.xueqiu.android.community.StatusDetailActivity',
matches: '[id=`com.xueqiu.android:id/ad_card_close`]',
exampleUrls:
'https://m.gkd.li/33366298/b223cc74-fd4f-45a2-89ab-4a18ddffc01c',
snapshotUrls: 'https://i.gkd.li/import/13388361',
},
],
},
],
});

0 comments on commit c31f128

Please sign in to comment.