分享,众多的分享,整理了一些代码,图片引用均来自网上。
新浪微博
开放平台接口:http://open.t.sina.com.cn
新浪应用引擎:http://sae.sina.com.cn
分享代码:
<a href="javascript:void((function(s,d,e){try{}catch(e){}var f='http://v.t.sina.com.cn/share/share.php?',u=d.location.href,p=['url=',e(u),'&title=',e(d.title),'&appkey=2924220432'].join('');function a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=620,height=450,left=',(s.width-620)/2,',top=',(s.height-450)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})(screen,document,encodeURIComponent));">
<img src="http://timg.sjs.sinajs.cn//miniblog2style/images/toolbar/m_red.gif" alt="分享到新浪微博" border="0" width="32"></a>
搜狐微博
开放平台接口:http://open.t.sohu.com
校内/人人网
开放平台接口:http://wiki.dev.renren.com,http://wiki.dev.kaixin.com
分享代码:
<a href="javascript:void((function(s,d,e){if(/xiaonei\.com/.test(d.location))return;var%20f='http://share.xiaonei.com/share/buttonshare.do?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));"><IMG SRC=http://img.download.pchome.net/0s/2y/logo.gif WIDTH="32" BORDER="0" ALT="分享到校内网"></a>
开心网
开放平台接口:http://www.kaixin001.com/platform
转贴代码:
<a href="javascript:function%20openPostWindow(url,data,name){var%20tempForm=document.createElement('form');tempForm.id='tempForm1';tempForm.method='post';tempForm.action=url;tempForm.target='kaixin001';var%20hideInput=document.createElement('input');hideInput.type='hidden';hideInput.name='rcontent';hideInput.value=data;tempForm.appendChild(hideInput);document.body.appendChild(tempForm);tempForm.submit();document.body.removeChild(tempForm)}function%20add2Kaixin001(){var%20u=document.location.href;var%20t=document.title;var%20c=''+(document.getSelection?document.getSelection():document.selection.createRange().text);var%20iframec='';var%20url='http://www.kaixin001.com/repaste/bshare.php?rtitle='+encodeURIComponent(t)+'&rurl='+encodeURIComponent(u)+'&from=maxthon';var%20data=encodeURIComponent(c);openPostWindow(url,c,'_blank')}add2Kaixin001();" title="转帖到开心网" alt="转帖到开心网"><IMG SRC="http://img.download.pchome.net/28/vb/logo.jpg" WIDTH="32" BORDER="0" ALT="转贴到开心网"></a>
QQ书签
分享代码:
<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><IMG SRC="http://liwhite.com/wp-content/themes/comfy2.5/styles/default/img/social/qq.png" WIDTH="32" BORDER="0" ALT="QQ书签"></a>
QQ空间
分享代码:
<a href="javascript:(function(){window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+ encodeURIComponent(location.href)+ '&title='+encodeURIComponent(document.title),'_blank');})()" title="分享到QQ空间">
<img src="http://img.download.pchome.net/2a/0i/logo.jpg" alt="分享到QQ空间" border="0" width="32"></a>
Google书签
分享代码:
<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='+c(b.location)+'&title='+c(b.title),'bkmk_popup','left='+((a.screenX||a.screenLeft)+10)+',top='+((a.screenY||a.screenTop)+10)+',height=420px,width=550px,resizable=1,alwaysRaised=1');a.setTimeout(function(){d.focus()},300)})();"><IMG SRC="http://www.sahot.com/wp-content/themes/colorbold/images/g.png" WIDTH="32" BORDER="0" ALT="Google书签"></a>
Yahoo书签
分享代码:
<a href="javascript:location.href='http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title)" target="_blank"><IMG SRC="https://addons.mozilla.org/en-US/firefox/images/addon_icon/2032/1279092331" WIDTH="32" BORDER="0" ALT="Yahoo书签"></a>
Delicious书签
分享代码:
<a href="javascript:(function(){f='http://delicious.com/save?url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&v=5&';a=function(){if(!window.open(f+'noui=1&jump=doclose','deliciousuiv5','location=yes,links=no,scrollbars=no,toolbar=no,width=550,height=550'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()"><img src="http://icons.icolib.com/icons/fasticon/web-2/delicious-icon.jpg" alt="Delicious书签" border="0" width="32"></a>



日志 


