mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
* feat 少年模式弹窗 * feat 系统推送弹窗(补充 activityId) * feat(微信读书): 规则优化 --------- Co-authored-by: lisonge <i@songe.li>
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.tencent.weread',
|
|
name: '微信读书',
|
|
groups: [
|
|
{
|
|
key: 1,
|
|
name: '系统推送弹窗',
|
|
desc: '系统推送弹窗-点击取消',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
matchTime: 30000,
|
|
resetMatch: 'app',
|
|
activityIds: [
|
|
'com.tencent.weread.module.bottomSheet.BottomSheetForFragment',
|
|
'com.tencent.weread.WeReadFragmentActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
matches: '[id="com.tencent.weread:id/open_notification_close"]',
|
|
snapshotUrls: [
|
|
'https://gkd-kit.gitee.io/import/12642247',
|
|
'https://i.gkd.li/import/13233735',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '青少年模式弹窗',
|
|
quickFind: true,
|
|
actionMaximum: 1,
|
|
matchTime: 30000,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.tencent.weread.WeReadFragmentActivity',
|
|
rules: '[text="设置青少年模式"] - LinearLayout >2 [text="我知道了"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13233668',
|
|
},
|
|
],
|
|
});
|