LoginSignup
2
1

More than 5 years have passed since last update.

Slack の絵文字登録数ランキングを出すワンライナー

Posted at

絵文字登録ページで

Object.entries(Array.from(document.querySelectorAll("td[headers='custom_emoji_author']")).map(e => e.innerText.trim()).reduce((d, v) => { d[v] = (d[v] || 0) + 1; return d; }, {})).sort((a, b) => b[1] - a[1]).map(a => `${a[0]}: ${a[1]}`).join("\n")
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1