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 GitHub 仓库文件按提交时间排序📅(GitHub Commit Sort)
33// @namespace xiaohuohumax/userscripts/github-commit-sort
4- // @version 1.1.1
4+ // @version 1.1.2
55// @author xiaohuohumax
66// @description GitHub 仓库无法快速查看最新的变更文件?试试这个 GitHub 仓库文件按提交时间排序的用户脚本吧!
77// @license MIT
4646 return debounced ;
4747 } ;
4848 const ID = "github-commit-sort" ;
49- const VERSION = "1.1.1 " ;
49+ const VERSION = "1.1.2 " ;
5050 var _GM_addValueChangeListener = /* @__PURE__ */ ( ( ) => typeof GM_addValueChangeListener != "undefined" ? GM_addValueChangeListener : void 0 ) ( ) ;
5151 var _GM_getValue = /* @__PURE__ */ ( ( ) => typeof GM_getValue != "undefined" ? GM_getValue : void 0 ) ( ) ;
5252 var _GM_setValue = /* @__PURE__ */ ( ( ) => typeof GM_setValue != "undefined" ? GM_setValue : void 0 ) ( ) ;
9191 function querySortButtonParent ( ) {
9292 const table = queryTable ( ) ;
9393 const mainTable = table == null ? void 0 : table . querySelector (
94- 'body tr[class^="Box-sc- "] > td > div > div:last-child'
94+ 'body tr[class^="DirectoryContent-module "] > td > div > div:last-child'
9595 ) ;
9696 if ( mainTable ) {
9797 return { sortButtonParent : mainTable , isMainPage : true } ;
You can’t perform that action at this time.
0 commit comments