访问当前页面即批量推送文章地址,不再是默认的访问当前页面只提交当前页面地址

var urls = [<?php foreach($list as $v){ echo "'/".vurl($v[id])."',"; }?>];
//关键,输出地址到数组。其他通用
var key = '9_Q4simg2RQJ8t7jm9iCKT-xh_'; 
(function(w,d){
    var domain = w.location.protocol + "//"+d.domain;
    for (var i = 0; i < urls.length; ++i) {
        var t = new Image;
        t.src = 'https://sp0.baidu.com/'+key+'/s.gif?r='+ encodeURIComponent(domain) +'&l=' + domain  + urls[i];
    }
})(window,document);