Skip to content

Commit

Permalink
perf(主题壁纸): 分段广告-主题页广告
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Sep 26, 2024
1 parent cbd4dd8 commit 2471d79
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions src/apps/com.android.thememanager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,22 @@ export default defineGkdApp({
groups: [
{
key: 1,
name: '局部广告-主题详情底部广告',
desc: '注意如果使用ADB禁用了MIUI广告组件,点击此按钮会无反应,可关闭此规则,避免过多相同点击记录',
name: '分段广告-主题页广告',
desc: '该广告的第二段需开启[智能服务]的对应规则才能关闭',
fastQuery: true,
rules:
'[id="com.android.thememanager:id/ad_close_btn"][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/13227330',
rules: [
{
activityIds: [
'.ThemeResourceProxyTabActivity',
'.module.detail.view.ThemeDetailActivity',
],
matches: '[vid="ad_close_btn"][visibleToUser=true]',
snapshotUrls: [
'https://i.gkd.li/i/17143445',
'https://i.gkd.li/i/17143447',
],
},
],
},
{
key: 2,
Expand Down
2 changes: 1 addition & 1 deletion src/apps/com.miui.video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineGkdApp({
{
key: 1,
name: '分段广告-卡片广告',
desc: '该广告的第二段需开启智能服务的对应规则才能关闭',
desc: '该广告的第二段需开启[智能服务]的对应规则才能关闭',
fastQuery: true,
rules: [
{
Expand Down

0 comments on commit 2471d79

Please sign in to comment.