User:TotallyNotJullian/global.js

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassEdit/code.js',    ] }); window.massEditConfig = { editInterval: 1500 }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:RailWAM/code.js',    ] }); const userI = document.getElementById('userId'); $.ajax({   crossOrigin: true,    url: "https://roblox.uromastyx.xyz/v1/search/users?keyword=" + userI.innerHTML,    success: function (data)  {      user.innerHTML = "" + data.UserSearchResults[0].UserId    }  }); const badgeWP = document.getElementById('badgeWinPercent'); $.ajax({   crossOrigin: true,    url: "https://roblox.uromastyx.xyz/v1/badges/" + badgeWP.innerHTML,    success: function (data)  {      badgeWP.innerHTML = data.statistics.winRatePercentage + "%"    }  }); const universe = document.getElementById('universeVisits'); $.ajax({   crossOrigin: true,    url: "https://roblox.uromastyx.xyz/v1/games?universeIds=" + universe.innerHTML,    success: function (data)  {      universe.innerHTML = data.data[0].visits.toString.replace(/\B(?=(\d{3})+(?!\d))/g, ",");    }  });