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

Commit

Permalink
fix(抖音极速版): 新版青少年弹窗失效(补充规则) (#2820)
Browse files Browse the repository at this point in the history
* fix(抖音极速版): 新版青少年弹窗失效(补充规则)

* feat(抖音极速版): 青少年弹窗

---------

Co-authored-by: lisonge <[email protected]>
  • Loading branch information
adproqwq and lisonge authored Dec 5, 2023
1 parent 34a3d32 commit 3cb20e0
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/apps/com.ss.android.ugc.aweme.lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ export default defineAppConfig({
{
key: 1,
name: '青少年弹窗',
desc: '点击【我知道了】',
desc: '点击【我知道了】(旧版本)【关闭】(新版本)',
quickFind: true,
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
rules: 'Button[desc="开启青少年模式"] + Button[text="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/13111607',
actionMaximum: 1,
rules: [
{
key: 0,
matches: 'Button[desc="开启青少年模式"] + Button[text="我知道了"]',
snapshotUrls: 'https://i.gkd.li/import/13111607',
},
{
actionMaximumKey: 0,
matches:
'Button[text="开启青少年模式"] + LinearLayout > Button[text="关闭"]',
snapshotUrls: [
'https://i.gkd.li/import/13542867', //新版本
],
},
],
},
],
});

0 comments on commit 3cb20e0

Please sign in to comment.