mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
feat(抖音): 请求开启通知提示信息(默认关闭), 关闭用户推荐 (#224)
* feat(抖音) * 修改描述 * feat(抖音): 规则优化 --------- Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
@@ -24,7 +24,26 @@ export default defineAppConfig({
|
|||||||
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||||
matches:
|
matches:
|
||||||
'[text="换一个"] - FrameLayout[clickable=true] > ImageView[clickable=true]',
|
'[text="换一个"] - FrameLayout[clickable=true] > ImageView[clickable=true]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12520943',
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12520943'],
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||||
|
matches:
|
||||||
|
'[text="你可能感兴趣"] < LinearLayout + [text="隐藏"][clickable=true]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12675396'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||||
|
matches: '[text="朋友推荐"] +(2) FrameLayout > [desc="不感兴趣"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
activityIds:
|
||||||
|
'com.ss.android.ugc.aweme.friends.ui.RawAddFriendsActivity',
|
||||||
|
matches:
|
||||||
|
'[text="朋友推荐"] < LinearLayout + FrameLayout > [desc="关闭"][clickable=true]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675245',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -48,5 +67,15 @@ export default defineAppConfig({
|
|||||||
rules: '@[text="以后再说"] +2 [text="立即升级"]',
|
rules: '@[text="以后再说"] +2 [text="立即升级"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12534016',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12534016',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
enable: false,
|
||||||
|
key: 10,
|
||||||
|
name: '请求开启通知提示信息',
|
||||||
|
desc: '自动点击“暂不”',
|
||||||
|
activityIds: 'com.ss.android.ugc.aweme.main.MainActivity',
|
||||||
|
rules:
|
||||||
|
'@[text="暂不"][focusable=true] < LinearLayout - LinearLayout >(2) [text="开启朋友通知"]',
|
||||||
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12675129',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user