Skip to content

Commit 140d749

Browse files
committed
update
1 parent 2234854 commit 140d749

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ZhihuEnhanced-Time.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎增强 - 置顶显示发布/编辑时间
3-
// @version 1.0.1
3+
// @version 1.0.2
44
// @author X.I.U
55
// @description 回答和文章置顶显示发布时间、编辑时间
66
// @match *://www.zhihu.com/*
@@ -118,7 +118,7 @@ function zhuanlan()
118118
function search()
119119
{
120120
$(".ContentItem.AnswerItem, .ContentItem.ArticleItem").each(function(){
121-
console.log($(this).find(".ContentItem-time"))
121+
//console.log($(this).find(".ContentItem-time"))
122122
if( !($(this).find(".ContentItem-time").hasClass("full")) && $(this).find(".ContentItem-time").length>0 && $(this).find(".ContentItem-time").find("span").text() != null)
123123
{
124124
if($(this).find(".ContentItem-time").text().indexOf("发布于")==-1 && $(this).find(".ContentItem-time").text().indexOf("编辑于") > -1) //只有"编辑于"时,增加具体发布时间data-tooltip

0 commit comments

Comments
 (0)