Skip to content

Instantly share code, notes, and snippets.

@kaibadash
Last active November 21, 2018 01:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaibadash/c425424bf06db36d930705f45ce84a0c to your computer and use it in GitHub Desktop.
Save kaibadash/c425424bf06db36d930705f45ce84a0c to your computer and use it in GitHub Desktop.
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