Skip to content

Instantly share code, notes, and snippets.

@ksokhan
Created November 3, 2017 16:22
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 ksokhan/7bc2aa5d5ee9ec24fb8788d63d232e9a to your computer and use it in GitHub Desktop.
Save ksokhan/7bc2aa5d5ee9ec24fb8788d63d232e9a to your computer and use it in GitHub Desktop.
Get a dribbble score for views-to-likes ratio on your shots
// paste this into console on any dribbble page
document.querySelectorAll('.dribbble-shot').forEach((item) => { item.querySelector('.tools.group').innerHTML += "      " + Math.round(Number(item.querySelector('.fav a:last-child').innerText) / Number(item.querySelector('.views span').innerText.replace(',','')) * 1000) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment