Created
January 8, 2013 15:52
-
-
Save cyrilis/4484862 to your computer and use it in GitHub Desktop.
happy simsimi
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
var biu=0; | |
var xunhuan=function(){ | |
if($('#msgs .new-templete .bot').size()>biu) | |
{$('#chatbox input').val($('#msgs .new-templete .bot span').last().html().split('<br>',1)); | |
sendChat(); | |
biu=$('#msgs .new-templete .bot').size(); | |
console.log(biu+":"+$('#msgs .new-templete .bot span').last().html().split('<br>',1)); | |
} | |
}; | |
var kaishi=function(){ | |
setInterval("xunhuan()",500); | |
}; | |
kaishi() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment