From 79862c473deb7ef422737b10360596970e786dac Mon Sep 17 00:00:00 2001 From: blackmatrix7 <27717518+blackmatrix7@users.noreply.github.com> Date: Wed, 12 Oct 2022 09:41:45 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=9F=A5=E4=B9=8E=E5=8A=A9=E6=89=8B]=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=91=E6=95=B0=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E5=8F=AF=E8=83=BD=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/zhihu/zhihu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/zhihu/zhihu.js b/script/zhihu/zhihu.js index 70de301c1..fdf39169d 100644 --- a/script/zhihu/zhihu.js +++ b/script/zhihu/zhihu.js @@ -837,7 +837,8 @@ function removeRecommendAds() { element["card_type"] === "slot_event_card" || element["card_type"] === "slot_video_event_card" || element.hasOwnProperty("ad") || - element["extra"]["type"] === "Training"; + // 知乎训练营 + (element["extra"] && element["extra"]["type"] === "Training"); // 是否为流媒体 let isStream = isAd != true &&