Instantly share code, notes, and snippets.

Embed
What would you like to do?
connpass参加者一覧から重複を覗いてシャッフルするするBookmarklet
javascript: (function() {
names = {};
$(".display_name").each(function(index, u) {
let n = $(u).text().trim();
names[n] = n;
});
names = Object.keys(names).sort(function() { return Math.random() - .5; });
s = names.join("さん, ") + "さん";
window.prompt("", s);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment