21,887
社区成员
发帖
与我相关
我的任务
分享
window.onload=function(){
$("a").each(function(){
if($(this).attr("target")){
$(this).removeAttr("target");
}
if($(this).attr("href")){
$_url=$(this).attr("href");
$(this).removeAttr("href");
$(this).attr("_url",$_url);
$(this).css("cursor","pointer");
}
});
}
$("a").each(function(i,o){
$(o).attr("http://www.csdn.net/");//替换成想要的或者做批量处理
});