mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-22 08:28:25 +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_event_card" ||
|
||||||
element["card_type"] === "slot_video_event_card" ||
|
element["card_type"] === "slot_video_event_card" ||
|
||||||
element.hasOwnProperty("ad") ||
|
element.hasOwnProperty("ad") ||
|
||||||
element["extra"]["type"] === "Training";
|
// 知乎训练营
|
||||||
|
(element["extra"] && element["extra"]["type"] === "Training");
|
||||||
// 是否为流媒体
|
// 是否为流媒体
|
||||||
let isStream =
|
let isStream =
|
||||||
isAd != true &&
|
isAd != true &&
|
||||||
|
Loading…
Reference in New Issue
Block a user