File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
// ==UserScript==
2
2
// @name Keylol SteamID Display
3
3
// @namespace https://github.com/sffxzzp
4
- // @version 0.07
4
+ // @version 0.09
5
5
// @description Display hided SteamID in keylol's steam connect bar
6
6
// @author sffxzzp
7
7
// @match *://keylol.com/t*
11
11
// @icon https://keylol.com/favicon.ico
12
12
// @grant GM_xmlhttpRequest
13
13
// @updateURL https://github.com/sffxzzp/userscripts/raw/master/keylol/stcnsteamid.user.js
14
+ // @downloadURL https://github.com/sffxzzp/userscripts/raw/master/keylol/stcnsteamid.user.js
14
15
// ==/UserScript==
15
16
16
17
( function ( ) {
50
51
ksd . prototype . getNameFromSteam64ID = async function ( steam64id ) {
51
52
var nameList = JSON . parse ( localStorage . getItem ( 'ksd' ) ) || { } ;
52
53
var nameItem = nameList [ steam64id ] ;
53
- if ( nameItem && nameItem . last < ( new Date ( ) ) . getTime ( ) - 86400000 ) {
54
+ if ( nameItem && nameItem . last > ( new Date ( ) ) . getTime ( ) - 86400000 ) {
54
55
return nameItem . name ;
55
56
}
56
57
else {
You can’t perform that action at this time.
0 commit comments