js 百度,google,yahoo,hexun,qq等收藏夹代码

document.writeln("<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" title="Baidu"><img border="0" src="style/default/bookmark/baidu.gif" alt="Baidu"></a> &nbsp;<a href="javascript:window.open('http://shuqian.qq.com/post?title='+encodeURIComponent(document.title)+'&uri='+encodeURIComponent(document.location.href)+'&jumpback=2&noui=1','favit','width=960,height=600,left=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img src="style/default/bookmark/qq.gif" alt="QQ"  border="0" title="QQ"></a> &nbsp;<a href="javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img src='style/default/bookmark/google.gif' alt='Google' border='0'></a> &nbsp;<a href="javascript:location.href='http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img src='style/default/bookmark/delicious.gif' alt='Del.icio.us' border='0'></a> &nbsp;<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='style/default/bookmark/vivi.gif' alt='Sina ViVi' border='0'></a> &nbsp;<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://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'yahoo','scrollbars=no,width=720,height=420,left=75,top=20,status=no,resizable=yes'));vivi.focus();"><img src='style/default/bookmark/yahoo.gif' alt='Yahoo' border='0'></a> &nbsp;<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://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();"><img src='style/default/bookmark/365key.gif' alt='365Key' border='0'></a> &nbsp;<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./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='style/default/bookmark/yesky.gif' alt='Yesky ' border='0'></a> &nbsp;<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='style/default/bookmark/hexun.gif' alt='Hexun ' border='0'></a>  &nbsp;<a href="javascript:location.href='http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img alt=digg src="style/default/bookmark/digg.png" border=0></a>");

时间: 2024-11-02 23:32:01

js 百度,google,yahoo,hexun,qq等收藏夹代码的相关文章

js自动弹出增加收藏夹代码

提示:您可以先修改部分代码再运行 本教程是自动弹出把你网站增加到收藏夹代码 提示:您可以先修改部分代码再运行

设置首页和添加到收藏夹代码大全

<HTML>    <HEAD>        <title>添加到收藏夹和设置首页代码大全</title>        <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">        <meta name="CODE_LANGUAGE" Content="C#">   

设为首页与添加收藏夹代码【兼容多浏览器】

<!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-

从百度 Google Yahoo内找网站推广资源

中介交易 http://www.aliyun.com/zixun/aggregation/6858.html">SEO诊断 淘宝客 云主机 技术大厅 从百度.GOOLE.YAHOO内找网站推广资源 很多站长做好网站,接下来第一件事肯定想着如何把自己网站推广出去. 要推广好自己的网站,目标群的定位非常关键,否则得了流量少了质量,没意义.要找到好的目标群体首先是要知道对方的EMAIL或者短信,然后向目标群体集中EMAIL营销.特别是地区性的专业网站及区域性型的消费网站这点更是重要.寻找目标群体

js加入收藏夹代码(兼容ie/ff/op)_javascript技巧

复制代码 代码如下: var www_jb51_net = function (obj, url, title) {    var e = window.event || arguments.callee.caller.arguments[0];    var B = {        IE : /MSIE/.test(window.navigator.userAgent) && !window.opera        , FF : /Firefox/.test(window.navig

通用的加入收藏夹代码支持IE Firefox等浏览器_javascript技巧

把加入收藏 [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

兼容IE和FIREFOX的加入收藏夹代码

 代码如下 复制代码 function bookmark(){ var title=document.title var url=document.location.href if (window.sidebar) window.sidebar.addPanel(title, url,""); else if( window.opera && window.print ){ var mbm = document.createElement('a'); mbm.setAt

添加到收藏夹代码(兼容几乎所有的浏览器)_典型特效

兼容IE5+/Win, Firefox, Netscape 6+, Opera 7+, Safari, Konqueror 3, IE5/Mac, 还有 iCab 3. 复制代码 代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="ht

增加到收藏夹代码

function addfavorite(url,title) {  if ( window.sidebar && "object" == typeof( window.sidebar ) && "function" == typeof( window.sidebar.addPanel ) )  {   //  firefox   window.sidebar.addPanel(title, url, '' );  }  else i