Skip to content

Instantly share code, notes, and snippets.

@cyrilis
Created January 8, 2013 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyrilis/4484862 to your computer and use it in GitHub Desktop.
Save cyrilis/4484862 to your computer and use it in GitHub Desktop.
happy simsimi
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