一键分享代码
参考来源:网络 作者:秩名 更新时间:2016年02月03日 23时59分
<div id=”share”>一键分享代码<b>分享这篇文章:</b><a rel=”nofollow” href=”javascript:window.open(’http://shuqian.qq.com/post?from=3&jumpback=2&noui=1&uri=’+encodeURIComponent(document.location.href)+’&title=’+encodeURIComponent(document.title),”,’width=930,height=570,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes’);void(0)”>收藏到QQ书签</a> <a rel=”nofollow” href=”javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes%22); void 0″>百度搜藏</a> <a rel=”nofollow” href=”javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(’http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=’+c(b.location)+’&amp;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)})();”>Google书签</a> <a rel=”nofollow” 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),'&amp;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));”>分享到人人网</a> <a rel=”nofollow” href=”javascript:d=document;t=d.selection?(d.selection.type!=’None’?d.selection.createRange().text:”):(d.getSelection?d.getSelection():”);void(kaixin=window.open(’http://www.kaixin001.com/~repaste/repaste.php?&amp;rurl=’+escape(d.location.href)+’&amp;rtitle=’+escape(d.title)+’&amp;rcontent=’+escape(d.title),’kaixin’));kaixin.focus();”>转贴到开心网</a> <a rel=”nofollow” 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空间”>分享到QQ空间</a> <a rel=”nofollow” href=”javascript:(function(){window.open(’http://v.t.sina.com.cn/share/share.php?title=’+encodeURIComponent(document.title)+’&url=’+encodeURIComponent(location.href)+’&source=bookmark’,'_blank’,'width=450,height=400′);})()” title=”新浪微博分享”>分享到新浪微博</a> <a rel=”nofollow” href=”javascript:void(function(){var%20d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:”,r=’http://www.douban.com/recommend/?url=’+e(d.location.href)+’&title=’+e(d.title)+’&sel=’+e(s)+’&v=1′,x=function(){if(!window.open(r,’douban’,'toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330′))location.href=r+’&r=1′};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()”>分享到豆瓣</a></div>
QQ书签代码
<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&jumpback=2&noui=1&uri='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),'','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://www.dinmo.me/images/smo_26.gif alt="QQ收藏"></a>
谷歌书签代码
<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.dinmo.me/images/smo_24.gif" alt="Google书签" border="0" height="16" width="16"></a>
就喜欢收藏代码
<a href="javascript:window.open('http://www.9fav.com/profile/user_url/add?t='+encodeURIComponent(document.title)+'&u='+encodeURIComponent(document.location.href));void(0)" title="收藏到就喜欢"><img src='http://www.9fav.com/images/9fav_16_16_logo.gif' border='0' alt='收藏到就喜欢网络收藏夹' /></a>
乐收收藏代码
<a href="http://leshou.com/post" onclick="window.open('http://leshou.com/post?act=shou&reuser=&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&intro=&tags=&tool=1','leshou','scrollbars=yes,width=700,height=500,left=80,top=80,status=no,resizable=yes'); return false;"><img src="http://www.dinmo.me/images/smo_53.gif" title="收藏此页到乐收" alt="收藏此页到乐收" /></a>
搜狗搜索代码
<a href="http://www.sogou.com/web?query=<#article/title#>"><img src=http://www.dinmo.me/images/smo_04.gif></a>
谷歌搜索代码
<a href="http://www.google.com.hk/search?hl=zh-CN&source=hp&q=<#article/title#>"><img src=http://www.dinmo.me/images/smo_24.gif></a>
百度搜索代码
<a href="http://www.baidu.com/s?wd=<#article/title#>"><img src=http://www.dinmo.me/images/smo_25.gif></a>
Diglog分享代码
<a title="推荐、收藏到diglog" href="javascript://" onclick="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.diglog.com/submit.aspx?title='+escape(d.title)+'&url='+escape(d.location.href)+'&description='+escape(t),'keyit','resizable,location,menubar,toolbar,scrollbars,status'));keyit.focus();"><img src="http://img.diglog.com/images/diglog_button.v2.2.png" border<img src=http://www.dinmo.me/images/smo_56.gif></a>
POCO分享代码
<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange
().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'_blank','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));" title="收藏到POCO 网摘http://share.poco.cn"><img src=http://www.dinmo.me/images/smo_56.gif border=0></a>
和讯分享代码
<a href="#" onclick="window.open('http://bookmark.hexun.com/post.aspx?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title), 'PostBookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes');"><img src="http://www.dinmo.me/images/smo_40.gif" border=0></a>
开心分享代码
<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();"><img src="http://www.571free.com/tuijian/kaixin001.gif" alt="转贴到开心网" border="0" height="16" width="16"></a>
人人分享代码
<a href="javascript:void((function(s,d,e){if(/renren/.com/.test(d.location))return;var f='http://share.renren.com/share/buttonshare?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));" title="分享到人人"><img src="http://www.dinmo.me/images/smo_61.gif" title="分享到人人"/></a>
九点订阅代码
<a href=http://9.douban.com/reader/subscribe?url=http://www.dinmo.me/rss.xml target=_blank><img
src=http://img2.douban.com/pics/fw2douban_s.png alt=九点订阅 /></a>
QQ邮箱订阅代码
<a href=http://mail.qq.com/cgi-bin/feed?u=http://www.dinmo.me/rss.xml target=_blank><img src=http://www.571free.com/tuijian/qq.gif alt=QQ邮箱订阅 /></a>
哪吒订阅代码
<a href=http://inezha.com/add?url=http://www.dinmo.me/rss.xml><img src=http://www.dinmo.me/images/smo_01.gif alt=哪吒订阅></a>
飞豆订阅代码
<a href="http://www.feedou.com/addchannelservlet?k=addFeedByID&feedID=5c42b76029f7e32e0129fe5f39e71f00" target="_blank" title="飞豆订阅"><http://www.dinmo.me/images/smo_02.gif"/></a>
天极网摘代码
<a href=
"javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();" title="天极网摘:文摘|图摘|闪摘|乐摘 http://hot.yesky.com"><img src="http://www.dinmo.me/images/smo_41.gif" alt="天极网摘" width="16" height="16" border="0"></a>
豆瓣收藏代码
<a href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',x=function(){if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()"><img src="http://img2.douban.com/pics/fw2douban_s.png" alt="推荐到豆瓣" /></a>
百度搜藏代码
<a href="javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes%22); void 0"><img src="http://www.dinmo.me/images/smo_25.gif" alt="百度搜藏" /></a>
Mister Wong收藏代码
<a href="http://www.mister-wong.cn/add_url/" onClick="location.href="http://www.mister-wong.cn/index.php?action=addurl&bm_url="+encodeURIComponent(location.href)+"&bm_description="+encodeURIComponent(document.title)+"";return false" title="该页面添加到 Mister Wong" target="_top"><img src="http://www.mister-wong.cn/img/cn/buttons/logo16_green.gif" alt="该页面添加到 Mister Wong" border="0" /></a>
豌豆收藏代码
<a href="javascript:location.href='http://www.onedoor.cn/favorite/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img src=http://www.dinmo.me/images/ico_95.gif alt="豌豆收藏" border=0></a>
鲜果订阅代码
<a target="_blank" title="订阅到鲜果 RSS阅读器" href="http://xianguo.com/subscribe?url=http%3A%2F%2Fwww.dinmo.me"><img src="http://www.dinmo.me/images/smo_39.gif" border="0" alt="鲜果阅读器订阅图标" /></a>
抓虾订阅代码
<a target=_blank href="http://www.zhuaxia.com/add_channel.php?sourceid=102&url=http%3A%2F%2Fwww.dinmo.me"><img src="http://www.dinmo.me/images/smo_38.gif" border="0" alt="订阅到抓虾" /></a>
115收藏代码
<a href="http://fav.115.com/?ac=add" target="_blank" ><img src=http://www.dinmo.me/images/smo_64.gif alt="115收藏"></a>
雅虎收藏代码
<a href="#" onclick="window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),
'Yahoo','scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes');"><img src="http://www.dinmo.me/images/smo_17.gif" alt="雅虎收藏"></a>
新浪书签代码
<a target=_self href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=free9.net&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();" target="_blank"><img src="http://www.dinmo.me/images/smo_27.gif" alt="新浪ViVi收藏" /></a>
天极书签代码
<a href="http://bms.yesky.com/jsp/bookmark/bookmark_pre_add.do?idcategory=-1" target="_blank"><img src=http://www.kakabaike.com/images/smo_41.gif alt="天极收藏" border=0></a>
bao789收藏代码
<a href="javascript:window.open('http://www.bao789.com/start.php?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&tag='+encodeURIComponent('')+'&about='+encodeURIComponent('')+'');void 0;"><img src="http://www.bao789.com/img/icon16x16.gif" alt="bao789收藏"></a>
好网角收藏代码
<a id="wang1314save2" href="http://www.wang1314.com/" target=_blank><img src="http://www.wang1314.com/images/dh1.gif" style="border:none" title="收藏此页到好网角" width="16px" height="16px" />
<script language=javascript>document.getElementById("wang1314save2").href='http://www.wang1314.com/savepage?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'&intro='+encodeURIComponent(document.selection?(document.selection.type!='None'?document.selection.createRange().text:''):(document.getSelection?document.getSelection():''));</script></a>
复制3
<a href="javascript:void(0)" onclick="postToWb();"><img src="http://v.t.qq.com/share/images/s/weiboicon16.png" width="18" height="18"/></a>        <script type="text/javascript">
function postToWb(){
var _t = encodeURI(document.title);
var _url = encodeURIComponent(document.location);
var _appkey = encodeURI("appkey");//你从腾讯获得的appkey
var _pic = encodeURI('');//(例如:var _pic='图片url1|图片url2|图片url3....)
var _site = 'http://www.kakabaike.com';//你的网站地址
var _u = 'http://v.t.qq.com/share/share.php?title='+_t+'&url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic;
window.open( _u,'转播到腾讯微博', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
}
</script>
<!------腾讯微博分享结束------>
<a href="javascript:void(window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href)));" title="分享到QQ空间"><img src="./share/qzone_logo.png" alt="" /></a>
<!------QQ空间分享结束------>
<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&jumpback=2&noui=1&uri='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),'','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://shuqian.qq.com/img/add.gif"></a>
<!------QQ书签分享结束------>
<a style="margin:0; padding:0;" href="javascript:(function(){window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=bookmark','_blank','width=450,height=400');})()" title="新浪微博分享"><img src="./share/t_sina.png" alt="新浪微博分享"></a>
<!------新浪微博分享结束------>
<a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(document.title.substring(0,76))+'&iu='+encodeURIComponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" ><IMG alt=添加到百度搜藏 src="./share/socang_baidu.png"></SPAN></a>
<!------百度搜藏结束------>
<a href="javascript:void((function(s,d,e){if(/renren/.com/.test(d.location))return;var f='http://share.renren.com/share/buttonshare?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));" title="分享到人人"><img src="./share/renren.png" title="分享到人人"/></a>
<!------人人网分享结束------>
关注更多内容请进入【 < 咔咔百科网 > 生活百科 > 电脑网络 > 网站站长 > 】频道