Skip to content

Instantly share code, notes, and snippets.

@southrop
Last active November 15, 2017 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save southrop/354a0a36df830820af74f0b526847ebd to your computer and use it in GitHub Desktop.
Save southrop/354a0a36df830820af74f0b526847ebd to your computer and use it in GitHub Desktop.

イベンターノートの参加数を表示する為のスクリプト。

ユーザーページにて使えます。他のユーザーのでも大丈夫です。

ブックマークレットにした方がオススメ(個人的にそうやって使ってます)。

// ブックマークレット用
javascript:(function(){var l = document.getElementsByClassName("gb_actors_list")[0].children; for (var i = 0; i < l.length; i++) { l[i].children[0].innerText += " (" + l[i].className.match(/[0-9]+$/g)[0] + ")"; }})();
// JSコンソール用
(function(){var l = document.getElementsByClassName("gb_actors_list")[0].children; for (var i = 0; i < l.length; i++) { l[i].children[0].innerText += " (" + l[i].className.match(/[0-9]+$/g)[0] + ")"; }})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment