Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c79cac

Browse files
committed
修复 首页切换的圈子后切换不回推荐的问题
1 parent 01967db commit 1c79cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zhihu-Enhanced.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 知乎增强
44
// @name:zh-TW 知乎增強
55
// @name:ru Улучшение Zhihu
6-
// @version 2.3.23
6+
// @version 2.3.24
77
// @author X.I.U
88
// @description A more personalized Zhihu experience~
99
// @description:zh-CN 移除登录弹窗、屏蔽指定类别(视频、盐选、文章、想法、关注[赞同/关注了XX]等)、屏蔽低赞/低评回答、屏蔽用户、屏蔽关键词、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、区分问题文章、移除高亮链接、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、直达问题按钮、默认站外直链...
@@ -1695,7 +1695,7 @@ function switchHomeRecommend() {
16951695
backToTop('main[role=main]'); // 快捷返回顶部
16961696
setInterval(function(){topTime_('.ContentItem.PinItem', 'ContentItem-meta')}, 300); // 置顶显示时间
16971697

1698-
} else if (['/','/hot','/follow','/column-square'].indexOf(location.pathname) !== -1) { // 首页 //
1698+
} else if (['/','/hot','/follow','/column-square','/ring-feeds'].indexOf(location.pathname) !== -1) { // 首页 //
16991699
switchHomeRecommend(); // 针对首页推荐
17001700
// 解决屏蔽类别后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题
17011701
document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container {min-height: 1500px;}';

0 commit comments

Comments
 (0)