Skip to content

Instantly share code, notes, and snippets.

@yanhaijing
Created May 23, 2014 06:09
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 yanhaijing/a1b219dae16daedeb2aa to your computer and use it in GitHub Desktop.
Save yanhaijing/a1b219dae16daedeb2aa to your computer and use it in GitHub Desktop.
博客园,抢汤姆大叔的书
function qiang(){
var date = new Date();
if(date.getHours() === 14 && date.getMinutes() === 0 && date.getSeconds() >=0){
$.post("http://www.cnblogs.com/mvc/PostComment/Add.aspx", '{"blogApp":"TomXu","postId":3745775,"body":"支持大叔,抢书了,我是颜海镜,http://yanhaijing.com","parentCommentId":0}', function (data) {console.log(data)}, "json");
}else{
setTimeout(function() {qiang()}, 1);
}
}
qiang();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment