Created
May 23, 2014 06:09
-
-
Save yanhaijing/a1b219dae16daedeb2aa to your computer and use it in GitHub Desktop.
博客园,抢汤姆大叔的书
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 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