更新 [屏蔽首页视频] 功能

This commit is contained in:
xiu2
2021-12-31 16:58:51 +08:00
parent e8c0117bf7
commit d1f4e86e4e
+1 -1
View File
@@ -890,7 +890,7 @@ function blockType(type) {
function blockType_(titleA) {
if (!titleA) return // 判断是否为真
console.log(titleA.href)
//console.log(titleA.href)
if (location.pathname === '/search') { // 搜索页
if (location.search.indexOf('type=content') === -1) return // 仅限搜索页的 [综合]
if (titleA.href.indexOf('/zvideo/') > -1 || titleA.href.indexOf('video.zhihu.com') > -1) { // 如果是视频