Created
January 3, 2014 04:29
-
-
Save miguel-perez/8232735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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