From 95f5194a208b5a6e90d3d8fcd30b7323b0ad84bb Mon Sep 17 00:00:00 2001 From: DeepChirp <66902050+DeepChirp@users.noreply.github.com> Date: Sun, 6 Oct 2024 18:50:50 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E7=9F=A5=E4=B9=8E):=20=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=20(#390)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: AIsouler --- src/apps/com.zhihu.android.ts | 15 +++++++++++++-- src/globalDefaultApps.ts | 5 +++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/apps/com.zhihu.android.ts b/src/apps/com.zhihu.android.ts index 7231d459..c7370eec 100644 --- a/src/apps/com.zhihu.android.ts +++ b/src/apps/com.zhihu.android.ts @@ -59,7 +59,17 @@ export default defineGkdApp({ snapshotUrls: 'https://i.gkd.li/i/14730741', }, { - preKeys: [0, 2, 3, 4], + key: 5, + activityIds: + '.feature.short_container_feature.ui.ShortContainerHostActivity', + matches: '@[vid="remove"] - [vid="subtitle"][text*="广告"]', + snapshotUrls: [ + 'https://i.gkd.li/i/17268845', + 'https://i.gkd.li/i/17268869', + ], + }, + { + preKeys: [0, 2, 3, 4, 5], key: 90, activityIds: [ 'com.zhihu.android.feature.short_container_feature.ui.ShortContainerHostActivity', @@ -67,10 +77,11 @@ export default defineGkdApp({ 'com.zhihu.android.app.ui.activity.MainActivity', ], matches: - '@[clickable=true] >3 [text$="不感兴趣" || text^="屏蔽作者"]', + '@[clickable=true] >(1,3) [text$="不感兴趣" || text^="屏蔽作者"]', snapshotUrls: [ 'https://i.gkd.li/i/13849689', 'https://i.gkd.li/i/17237940', + 'https://i.gkd.li/i/17268849', ], }, ], diff --git a/src/globalDefaultApps.ts b/src/globalDefaultApps.ts index 39c73ab2..f21967fe 100644 --- a/src/globalDefaultApps.ts +++ b/src/globalDefaultApps.ts @@ -112,6 +112,11 @@ export const blackListAppIDs: string[] = [ 'me.iacn.biliroaming', // 哔哩漫游 'com.termux', // Termux 'oss.krtirtho.spotube', // Spotube + 'com.merxury.blocker', // Blocker + 'moe.minamigo.miuigms', // MIUIGMS + 'mufanc.tools.applock', // AppLock + 'com.gankes.tsbattery', // TSBattery + 'com.oasisfeng.nevo.xposed', // 女娲石 'com.canghai.haoka', 'com.xy.td',