网页页面常见共享编码大全(前端开发必备)

2021-03-21 04:41 jianzhan


拷贝编码
编码以下:

1、微博
<a href="http://v.t.sina.com.cn/share/share.php?url=https://www.jb51.net&title='共享內容'" target="_blank">微博</a> </p> <p>2、腾迅新浪微博
<a href="http://v.t.qq.com/share/share.php?url=https://www.jb51.net&title='共享內容'" target="_blank">腾迅新浪微博</a> </p> <p>3、高兴网
<a href="javascript:window.open('http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent(document.title)+'&rurl='+encodeURIComponent(document.location.href)+'&rcontent=');void(0)">高兴网</a>
或用
<a href="http://www.kaixin001.com/repaste/share.php?rurl=https://www.jb51.net&rcontent=http://www.baidu.com&rtitle=kaixin" target="_blank">高兴网</a> </p> <p>4、豆瓣网
<a href="javascript:window.open('http://www.douban.com/recommend/?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)">豆瓣</a> </p> <p>或用
<a href="http://www.douban.com/recommend/?url=https://www.jb51.net&title=douban" target="_blank">豆瓣</a> </p> <p>5、人人网
<a href="javascript:window.open('http://share.renren.com/share/buttonshare.do?link='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)">人人网</a>
或用
<a href="http://share.renren.com/share/buttonshare.do?link=https://www.jb51.net" target="_blank">人人网</a> </p> <p>6、百度搜索贴吧
<a href="http://tieba.baidu.com/f/commit/share/openShareApi?url=https://www.jb51.net&title=hello&desc=&pic=" target="_blank">百度搜索贴吧</a> </p> <p>7、QQ朋友
<a href="http://connect.qq.com/widget/shareqq/index.html?title=qqhaoyou&url=https://www.jb51.net&desc=还非常好哦&pics=&site=优酷" target="_blank">QQ朋友</a> </p> <p>8、QQ室内空间
<a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=https://www.jb51.net" target="_blank">QQ室内空间</a> </p> <p>9、腾迅盆友
<a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?to=pengyou&url=https://www.jb51.net" target="_blank">腾迅盆友</a> </p> <p>
10、百度搜索个人收藏
<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','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0">百度搜索搜藏</a> </p> <p>11、优酷室内空间
<a href="http://i.youku.com/u/share/?url=https://www.jb51.net&content='共享內容'" target="_blank">优酷室内空间</a> </p> <p>12、搜狐新浪微博
<a href="http://t.sohu.com/third/post.jsp?content=utf⑻&url=https://www.jb51.net&title=souhu" target="_blank">搜狐新浪微博</a> </p> <p>13、MSN
<a href="http://profile.live.com/badge/?url=https://www.jb51.net&Title=msn" target="_blank">MSN</a> </p> <p>14、猫扑网
<a href="http://tt.mop.com/share/shareV.jsp?title=moptietie&pageUrl=https://www.jb51.net" target="_blank">MOP贴贴</a> </p> <p>15、网易新浪微博
<a href="http://t.163.com/article/user/checkLogin.do?link=https://www.jb51.net" target="_blank">网易新浪微博</a> </p> <p>16、QQ书签 </p> <p><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)">QQ书签</a> </p> <p>17、GOOGLE书签:
<a href="javascript:window.open('http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title));void(0)">Google</a> </p> <p>18、Twitter
<a href="javascript:window.open('http://twitter.com/home?status='+encodeURIComponent(document.location.href)+' '+encodeURIComponent(document.title));void(0)">Twitter</a> </p> <p>19、Facebook
<a class="fav_facebook" rel="nofollow" href="javascript:window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(document.location.href)+'&t='+encodeURIComponent(document.title));void(0)">Facebook</a> </p> <p>20、Delicious书签: </p> <p><a href="javascript:window.open('http://del.icio.us/post?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+'&notes=');void(0)">Delicious</a>


因为如今许多共享服务平台都出来了,并且适配性更好,1般多挑选  百度搜索共享等第3方共享服务平台。大伙儿能够看下。