File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name Steam Workshop Image Repair
33// @name :zh-CN Steam 创意工坊大图修复
4- // @name :zh-TW Steam 創意工坊大圖修復
54// @version 1.0.0
65// @author X.I.U
76// @description Fixed Steam Workshop image not showing
8- // @description :zh-CN 修复 Steam 创意工坊预览大图无法显示的问题
9- // @description :zh-TW 修復 Steam 創意工坊預覽大圖無法顯示的問題
10- // @include *://steamcommunity.com/sharedfiles/filedetails/*
11- // @include *://steamcommunity.com/workshop/filedetails/*
7+ // @description :zh-CN 修复 Steam 创意工坊预览大图无法显示的问题。
8+ // @match *://steamcommunity.com/sharedfiles/filedetails/*
9+ // @match *://steamcommunity.com/workshop/filedetails/*
1210// @icon https://store.steampowered.com/favicon.ico
1311// @license GPL-3.0 License
1412// @run -at document-end
Original file line number Diff line number Diff line change 33// @version 1.1.3
44// @author X.I.U
55// @description 一键收起回答、置顶显示时间、区分问题文章
6- // @include *://www.zhihu.com/*
6+ // @match *://www.zhihu.com/*
77// @match *://zhuanlan.zhihu.com/*
88// @icon https://static.zhihu.com/static/favicon.ico
99// @require https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
@@ -330,9 +330,11 @@ function addTypeTips() {
330330 setInterval ( topTime_search , 300 ) ; // 置顶显示时间
331331 setInterval ( addTypeTips , 1000 ) ; // 区分问题文章
332332 } else if ( window . location . href . indexOf ( "topic" ) > - 1 ) { // 话题页 //
333- collapsedAnswer ( ) ; // 一键收起回答
334- setInterval ( topTime_search , 300 ) ; // 置顶显示时间
335- setInterval ( addTypeTips , 1000 ) ; // 区分问题文章
333+ if ( window . location . href . indexOf ( "unanswered" ) == - 1 ) {
334+ collapsedAnswer ( ) ; // 一键收起回答
335+ setInterval ( topTime_search , 300 ) ; // 置顶显示时间
336+ setInterval ( addTypeTips , 1000 ) ; // 区分问题文章
337+ }
336338 } else if ( window . location . href . indexOf ( "zhuanlan" ) > - 1 ) { // 文章 //
337339 setInterval ( topTime_zhuanlan , 300 ) ; // 置顶显示时间
338340 } else if ( window . location . href . indexOf ( "column" ) > - 1 ) { // 专栏 //
You can’t perform that action at this time.
0 commit comments