Skip to content

Commit

Permalink
feat(星星充电): 跳过全局广告和签到提示 (#718)
Browse files Browse the repository at this point in the history
Co-authored-by: minglu7 <[email protected]>
Co-authored-by: AIsouler <[email protected]>
  • Loading branch information
3 people authored Jan 15, 2025
1 parent 9668d46 commit 7cf9d27
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/apps/com.wanbangauto.chargepile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { defineGkdApp } from '@gkd-kit/define';

export default defineGkdApp({
id: 'com.wanbangauto.chargepile',
name: '星星充电',
groups: [
{
key: 1,
name: '全屏广告-弹窗广告',
desc: '点击关闭',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: '.ui.newhome.MainActivity',
matches: '@[vid="image_close"][visibleToUser=true]',
exampleUrls: 'https://e.gkd.li/ce4838fb-0f0d-4b20-bab3-565bd80bbc93',
snapshotUrls: 'https://i.gkd.li/i/18421090',
},
],
},
{
key: 2,
name: '功能类-签到提示',
desc: '点击[忽略]',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: '.ui.newhome.MainActivity',
matches: [
'[text^="小星提醒您"][visibleToUser=true]',
'[text="忽略"][visibleToUser=true]',
],
exampleUrls: 'https://e.gkd.li/542507c4-57dd-46f5-b354-78cdbacb3191',
snapshotUrls: 'https://i.gkd.li/i/18421092',
},
],
},
],
});

0 comments on commit 7cf9d27

Please sign in to comment.