1) CXH8CE-JRE7-JWDJTG-VXFE-24XZFV
2) JGRT26-RYYB-V6Y246-FG42-RV4GJK
3) YRNBFE-B6ME-NCD78N-7F7B-ZZGPE4
4) PE6DJH-J6G7-MPCZ9C-JPKD-R664B8
Array.prototype.shuffle = function shuffle(limit) {
var array = this, m = array.length, t, i;
while (m) {
i = Math.floor(Math.random() * m--);
t = array[m];
array[m] = array[i];
array[i] = t;
}
return array.slice(0, limit);
};
var arr = [];
[].slice.call(document.querySelectorAll('.reply-link a[href^="/user/"]')).forEach(function (a) {
var name = a.innerText, selfName = "ariocx";
if (name && name !== undefined && name != " " && name != selfName) {
arr.push(name)
}
});
var unique = arr.filter(function (item, pos, self) {
return self.indexOf(item) == pos;
});
console.log('total players: ' + unique.length, unique.shuffle(4));