Skip to content

Instantly share code, notes, and snippets.

@j100002ben
Last active December 11, 2015 20:09
Show Gist options
  • Save j100002ben/4653743 to your computer and use it in GitHub Desktop.
Save j100002ben/4653743 to your computer and use it in GitHub Desktop.
(function(window){
var $ = window.jQuery
, a = $("#main_menu a")
, b = $(a.get().reverse());
setTimeout(function(){ var f=arguments.callee; a.click(); setTimeout(function(){ b.click(); setTimeout(f,5000); } ,5000); },0);
})(this);
// Closure Compiler REST API
/*
(function(a){a=a.jQuery;var b=a("#main_menu a"),c=a(b.get().reverse());setTimeout(function(){var a=arguments.callee;b.click();setTimeout(function(){c.click();setTimeout(a,5E3)},5E3)},0)})(this);
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment