MCPcopy Create free account
hub / github.com/hoothin/UserScripts / getRightName

Function getRightName

MoreSteamRatings/MoreSteamRatings.user.js:29–31  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

27getGrScore();
28
29function getRightName(s){
30 return s.replace(/:\s|:|\s/g,"-").toLowerCase();
31}
32
33function getMcScore(){
34 getResult("http://www.metacritic.com/game/pc/"+gameName, function(d){

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected