get one webpage all links

var arr=[];$.each(document.links,function(i,a){if($.inArray(a.href,arr)==-1){arr.push(a.href);}console.log(a.href);});arr.length

你可能感兴趣的:(page)