Skip to content

Instantly share code, notes, and snippets.

@miguel-perez
Created January 3, 2014 04:29
Show Gist options
  • Save miguel-perez/8232735 to your computer and use it in GitHub Desktop.
Save miguel-perez/8232735 to your computer and use it in GitHub Desktop.
// Run in console while a boost is active.
var autoVisitMatches = function(){
jQuery('#spotlight .thumbs .match').each(function(){
var match = jQuery(this),
url = match.attr('href'),
popup = window.open(url);
// Removes Matches I have already Opened
match.remove();
// Closes window after it loads
popup.addEventListener('load', function(){
popup.close();
});
});
};
setInterval(autoVisitMatches, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment