Skip to content

Commit 699c080

Browse files
committed
修复 话题页部分功能失效的问题
1 parent d8c9f4e commit 699c080

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Zhihu-Enhanced.user.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 知乎增强
44
// @name:zh-TW 知乎增強
55
// @name:en Zhihu enhancement
6-
// @version 2.1.7
6+
// @version 2.1.8
77
// @author X.I.U
88
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
99
// @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈...
@@ -1455,7 +1455,6 @@ function questionInvitation(){
14551455
} else if (location.pathname.indexOf('/topic/') > -1) { // 话题页 //
14561456
if (location.pathname.indexOf('/hot') > -1 || location.href.indexOf('/top-answers') > -1) { // 仅限 [讨论] [精华]
14571457
collapsedNowAnswer('main.App-main'); // 收起当前回答 + 快捷返回顶部
1458-
collapsedNowAnswer('.ContentLayout'); // 收起当前回答 + 快捷返回顶部
14591458
setInterval(function(){topTime_('.ContentItem.AnswerItem, .ContentItem.ArticleItem', 'ContentItem-meta')}, 300); // 置顶显示时间
14601459
addTypeTips(); // 区分问题文章
14611460
addToQuestion(); // 直达问题按钮

0 commit comments

Comments
 (0)