分享到几个微博的js代码

1,548次阅读
没有评论
function renren(){
    var url ="http://share.renren.com/share/buttonshare.do?link="+encodeURIComponent(location.href)+"&title="+encodeURIComponent(str);
    window.open(url,'hexun','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes');
}
function kaixin(){
    var url = "http://www.kaixin001.com/~repaste/repaste.php";
    url += "?rtitle="+encodeURIComponent(str);
    url += "&rurl="+encodeURIComponent(location.href);
    url += "&rcontent="+content_text;
    window.open(url);
}
function sina(){
    window.open('http://v.t.sina.com.cn/share/share.php?appkey=316465280&title='+encodeURIComponent(str)+'&url='+encodeURIComponent(location.href)+'&source=bookmark&content=utf-8','sina','width=450,height=400');
}
function qqweibo() {
    window.open('http://v.t.qq.com/share/share.php?title='+encodeURIComponent(str)+'&url='+encodeURIComponent(location.href));
}
正文完
 

公众号