SOURCE

url=window.location.href;
start_index=window.location.href.indexOf('list_6_')+'list_6_'.length;
end_index =url.indexOf('.html');
start=url.substr(0,start_index);
end =url.substr(end_index);
mid=url.substring(start_index,end_index);
new_url=start+(parseInt(mid)+1)+end;





setTimeout(function() {
  list = [];
  $('.list-left.public-box dd img').each(function(key, val) {
    obj = new Object();
    obj.src = $(val).attr('src');
    obj.name = $(val).attr('alt');
    obj.href = window.location.href;
    list[key] = obj;
  });
  var data = JSON.stringify(list);

  $.ajax({
    type: "get",
    async: false,
    url: "http://127.0.0.1/nverguo/getUrl.jhtml",
    data: {
      info: data
    },
    cache: false,
    dataType: "jsonp",
    jsonp: "callbackfun",
    jsonpCallback: "returnval",
    success: function(json) {
      console.log('success' + json);
    },
    error: function(json) {
      console.log('error' + json);
    }
  });
},
2000);
console 命令行工具 X clear

                    
>
console