Skip to content

Commit eebb19f

Browse files
committed
解决 屏蔽视频后,因首页信息流太少而没有滚动条,导致无法加载更多内容的问题
1 parent be847d9 commit eebb19f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Zhihu-Enhanced.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎增强
3-
// @version 1.7.6
3+
// @version 1.7.7
44
// @author X.I.U
55
// @description 移除登录弹窗、默认收起回答、一键收起回答、收起当前回答/评论(点击两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、屏蔽首页视频(视频/文章等类别)、屏蔽盐选内容、净化标题消息、展开问题描述、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
66
// @match *://www.zhihu.com/*
@@ -1576,6 +1576,8 @@ function questionInvitation(){
15761576
blockUsers('index'); // 屏蔽指定用户
15771577
blockKeywords('index'); // 屏蔽指定关键词
15781578
blockType(); // 屏蔽指定类别(视频/文章等)
1579+
// 解决屏蔽视频后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题
1580+
document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container{min-height: 1500px;}';
15791581
}
15801582
}
15811583
})();

0 commit comments

Comments
 (0)