本款js 增加書簽收藏代碼可以增加到分享到人人網/開心網/qq/百度/google書簽/新浪收藏 新浪微博 等js代碼哈。 多吧。
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "HTTP://www.w3.org/tr/xhtml1/dtd/ xhtml1-transitional.dtd">
<html xmlns="HTTP://www.w3.org/1999/xhtml">
<head>
<meta HTTP-equiv="content-type" content="text/html; charset=gb2312" />
<title>js 增加書簽收藏代碼</title>
</head>
<body>
<script>
document.write("<a title='google書簽' href="網頁特效:window.open('HTTP://www.google.com/bookmarks/mark?op=add& bkmk='+encodeuricomponent(location.href)+'&title='+encodeuricomponent(document.title));void(0)"><img src='/img/google.gif' title='收藏到google書簽' border='0'></a> ");
document.write(" <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 title="收藏到百度收藏" src="/img/baidu.gif" border="0"></a> ");
document.writeln(" <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 alt=qq書簽 src="/img/qq.gif" border=0></a>") ;
document.write(" <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://vivi.sina.com.cn/collect/icollect.php教程?pid=28&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();" ><img src='/img/vivi.gif' title='收藏到新浪vivi' border='0'></a> ");
document.write(" <a href="javascript:d=document;t=d.selection?( d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(live= window.open('HTTPs教程://favorites.live.com/quickadd.asp教程x?marklet=1&mkt=en-us&url='+escape( d.location.href)+'&title='+escape(d.title)+'&top=1','live','scrollbars=no,status=no,resizable=yes')); live.focus();" ><img src="/img/live.gif" title="收藏到微軟live" border="0"></a> ");
document.write(" <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="收藏到misterwong" target="_new"> <img src="/img/wong18.gif" alt="收藏到misterwong" border="0"></a> ");
document.write(" <a href="javascript:t=document.title;u=location.href;e= document.selection? (document.selection.type!='none'?document.selection.createrange().text:''):(document.getselection? document.getselection():'');void(open('HTTP://bookmark.hexun.com/post.aspx?title='+escape(t)+'&url='+ escape(u)+'&excerpt='+escape(e),'hexunbookmark','scrollbars=no,width=600,height=450,left=80,top=80,status= no,resizable=yes'));" ><img src="/img/hexun.gif" title="收藏到和訊網摘" border="0"></a> ");
document.write(" <a href="javascript:d=document;t=d.selection?( d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(hot= window.open('HTTP://hot.tianya.cn/add.aspx?title='+escape(d.title)+'&url='+escape(d.location.href)+'& desc='+escape(t),'hot','scrollbars=no,width=410,height=517,left=75,top=20,status=no,resizable=yes'));hot.focus ();" title='收藏的網頁將被永久地保存'><img src='/img/yeeyoo.gif' title='收藏到天涯網藏' border='0'></a> ");
document.write(" <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();" ><img src='/img/yesky.gif' title='收藏到天極網摘' border='0'></a> ");
document.write(" <a href="javascript:d=document;t=d.selection?( d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(keyit= window.open('HTTP://my.poco.cn/fav/storeit.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c=' +escape(t)+'&img=HTTP://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,status =no,resizable=yes'));keyit.focus();" ><img src='/img/poco.gif' title='收藏到poco網摘' border='0'></a> ");
document.write(" <a href="javascript:d=document;t=d.selection?( d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(zhai= window.open('HTTP://www.chunw.com/sc/#t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t ),'zhai','scrollbars=no,width=400,height=410,left=75,top=50,status=no,resizable=yes'));zhai.focus();" ><img src="/img/chunw.gif" title="收藏此頁到純我網" border="0"></a> ");
document.write(" <a href="HTTP://www.shouker.com/" onclick="javascript:d= document;t=d.selection? (d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(vivi= window.open('HTTP://www.shouker.com/mc/col/post2.aspx?title='+encodeuricomponent(d.title)+'&surl='+ encodeuricomponent(d.location.href)+'&desc='+encodeuricomponent(t)+'&st=2','shoukerpost','scrollbars= no,width=624,height=663,left=75,top=20,status=no,resizable=yes'));vivi.focus();return false;" ><img src="/img/sk-cl5.gif" border="0" title="add to shouker"></a> ");
</script>
</body>
</html>