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("&nbsp;&nbsp;&nbsp;<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&amp;iu=%22+encodeuricomponent(u)+%22&amp;dc=%22+encodeuricomponent(c)+%22&amp;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("&nbsp;&nbsp;&nbsp;<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("&nbsp;&nbsp;&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='/img/vivi.gif' title='收藏到新浪vivi' border='0'></a> ");

document.write("&nbsp;&nbsp;&nbsp;<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("&nbsp;&nbsp;&nbsp;<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("&nbsp;&nbsp;&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="/img/hexun.gif" title="收藏到和讯网摘" border="0"></a> ");

document.write("&nbsp;&nbsp;&nbsp;<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("&nbsp;&nbsp;&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='/img/yesky.gif' title='收藏到天极网摘' border='0'></a> ");

document.write("&nbsp;&nbsp;&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('yun_qi_img/pagenotfound.php','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("&nbsp;&nbsp;&nbsp;<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("&nbsp;&nbsp;&nbsp;<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>

时间: 2024-10-24 11:38:31

js 增加书签收藏代码的相关文章

QQ,baidu,yahoo,google书签收藏代码

document.write('<a href="javascript:window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(self.location.href)+'&title='+encodeURIComponent(document.title+'(收录自111cn.net)'), 'Yahoo','scrollbars=yes,width=780,height=550,lef

js兼容多浏览器添加收藏代码

js兼容多浏览器添加收藏代码 */ function addfavor(a){  var url = window.location;  var title = document.title;  var ua = navigator.useragent.tolowercase();  if(ua.indexof("msie 8")>-1){   external.addtofavoritesbar(url,title,'aa');//ie8   }else{    try {  

js 仿论坛增加QQ表情代码

提示:您可以先修改部分代码再运行 js 仿论坛增加QQ表情代码 不输入文字,鼠标直接点表情图片,提示文字为什么还在?    提示:您可以先修改部分代码再运行

js添加到收藏夹中代码

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.jzread.com/1999/xhtml"> <head> <meta http-equi

兼容IE和Firefox Chrome和Opera 加入收藏代码

是一个可以兼容IE和Firefox的加入收藏代码,Chrome和Opera本身不支持加收藏,要实现Chrome加入收藏请 function createIcon() {     var desktop = google.gears.factory.create("beta.desktop");     var description = "Google一下,你就知道!";     var name = "Google";   //name不支持中

js无限级关联下拉列表代码

提示:您可以先修改部分代码再运行 js无限级关联下拉列表代码 <HTML> <title>TestAspPage</title> <head></head> <body onload="arrMain('S1');"> <SELECT NAME="S1" onchange="GetObj(this.options[selectedIndex].text ,'S2');"

如何给dedecms增加迅雷联盟代码

如何给dedecms增加迅雷联盟代码 第一步:在templates/plus/download_links_templet.htm打开这个文件把下面代码放 在</head>之前就行了. <script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script> <script src="http://pstatic.xunlei.com/js/base64.js&q

利用JS延迟加载百度分享代码,提高网页速度

发现很多网站在放置百度分享代码的时候,简单的将分享代码放置到固定的网页位置就完事了,这是非常致命的方式.因为,我经常打开一个网页的时候,发现在网页加载到分享代码的时候,有时候花上几秒的时候来请求百度的服务器,最后展示分享按钮. 其实,像这样对网页来说不是非常重要的功能,我们大可以用JS来延迟加载,从而提高网页主要内容的快速加载显示. 这里分享下我的放置方式.一.copy百度分享代码,如下: 复制代码 代码如下: <!-- Baidu Button BEGIN --> <div id=&q

js异步动态加载js与css文件代码

 jquery动态加载css,js文件方法简单很, 例 方法1: 代码如下 $.getscript("test.js"); 方法2: 代码如下 function loadjs(file){  var head = $('head').remove('#loadscript');  $("<scri"+"pt>"+"</scr"+"ipt>").attr({src:file,type: