Skip to content

Instantly share code, notes, and snippets.

@henricavalcante
Created May 19, 2017 22:30
Show Gist options
  • Save henricavalcante/891fa538df23a9b04e5a0ae692dcee44 to your computer and use it in GitHub Desktop.
Save henricavalcante/891fa538df23a9b04e5a0ae692dcee44 to your computer and use it in GitHub Desktop.
live sorteio
window.open(Array.prototype.slice.call(document.getElementsByClassName('_vbtk2')).map((a) => a.href ).sort(() => .5 - Math.random())[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment