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',    ] }); async function apiCall(url) { return new Promise((resolve, reject) => {   $.ajax({ crossOrigin: true, url: "https://roblox.uromastyx.xyz/" + url, success: function (data) { resolve(data); }   });  }); } const badgeWP = document.getElementsByClassName('RF_badgeWP'); if(badgeWP !== undefined) { for (var i = 0; i < badgeWP.length; i++) { var badgeWPd = badgeWP[i].getAttribute("data-source-id"); var result = await apiCall('v1/badges/' + badgeWPd); } }