setInterval(function(){ alert('.'); },1000); var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?7b920ef785aeb02bbb92fe6c1fe6ca4ear'; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();