Skip to content

Instantly share code, notes, and snippets.

@hybridknight
Created March 20, 2015 18:55
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 hybridknight/3cba0de77e9b9165f542 to your computer and use it in GitHub Desktop.
Save hybridknight/3cba0de77e9b9165f542 to your computer and use it in GitHub Desktop.
javascript:var interval = setInterval(function(){ $("#box span[style='background-color: " + _.invert(_.countBy(_.map($("#box span"),function(e){return $(e).css("background-color")}), function(e){ return e}))[1] + ";']").click() }, 100)
@adeekshith
Copy link

Woah!!! This works awesome!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment