Created
April 27, 2011 18:13
-
-
Save aaronfrost/944822 to your computer and use it in GitHub Desktop.
constant scan for new results on google
This file contains hidden or 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
function runSetup(){ | |
//Find the items that you are looking for, that don't have your setup class. | |
$K("#rso > li:not(.tmsetup)").each(function(){ | |
//CODE TO DO SOMETHING WITH YOUR ITEM | |
//MAKE SURE TO RUN THIS NEXT LINE... so that they don't appear in your next search. | |
$K(this).addClass('tmsetup'); | |
}); | |
} | |
setInterval(function(){ | |
runSetup(); | |
},500); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment