mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2025-01-12 01:19:13 +08:00
[知乎助手] 修复少数情况下可能报错的问题
This commit is contained in:
parent
5b98470686
commit
79862c473d
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user