File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33// @name :zh-CN 知乎增强
44// @name :zh-TW 知乎增強
55// @name :en Zhihu enhancement
6- // @version 2.0.0
6+ // @version 2.0.1
77// @author X.I.U
88// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
9- // @description :zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論(左鍵兩側) 、快捷回到頂部(右鍵兩側) 、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、展開問題描述、顯示問題作者、 置頂顯示時間、完整問題時間、區分問題文章、直達問題按鈕、 默認高清原圖、默認站外直鏈
9+ // @description :zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈...
1010// @description :en A more personalized Zhihu experience~
1111// @match *://www.zhihu.com/*
1212// @match *://zhuanlan.zhihu.com/*
@@ -1389,9 +1389,11 @@ function questionInvitation(){
13891389 }
13901390
13911391 function start ( ) {
1392- cleanSearch ( ) ; // 净化搜索热门
13931392 removeHighlightLink ( ) ; // 移除高亮链接
1394- if ( location . hostname != 'zhuanlan.zhihu.com' ) { collapsedAnswer ( ) ; } // 一键收起回答
1393+ if ( location . hostname != 'zhuanlan.zhihu.com' ) {
1394+ if ( location . pathname . indexOf ( '/column/' ) === - 1 ) cleanSearch ( ) ; //净化搜索热门
1395+ collapsedAnswer ( ) ; // 一键收起回答
1396+ }
13951397 closeFloatingComments ( ) ; // 快捷关闭悬浮评论(监听点击事件,点击网页两侧空白处)
13961398 blockKeywords ( 'comment' ) ; // 屏蔽指定关键词(评论)
13971399
You can’t perform that action at this time.
0 commit comments