博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Tumblr,instapaper分享
阅读量:4697 次
发布时间:2019-06-09

本文共 618 字,大约阅读时间需要 2 分钟。

<div id="bshare-custom">

<a title="分享到Tumblr" id="bshare-tumblr" onclick = "window.open('https://www.tumblr.com/widgets/share/tool?shareSource=legacy&canonicalUrl=&url=' + document.URL + '&title=' + document.title,'_target','width=600,height=500,left=300px,top=200px')">分享到Tumblr</a>
<a href="javascript:window.open('https://www.instapaper.com/user/login?next=/edit?url=' + document.URL + '&title=' + document.title,'_target','width=600,height=500,left=300px,top=200px')" title="分享到Instapaper" id="bshare-instapaper">分享到instapaper</a>
</div>

 

还可以优化,调用官方图标,这里只是简单的实现分享代码

转载于:https://www.cnblogs.com/MY0101/p/6423032.html

你可能感兴趣的文章
BZOJ4516: [Sdoi2016]生成魔咒(后缀自动机)
查看>>
查看手机已经记住的WIFI密码
查看>>
最新版IntelliJ IDEA2019 破解教程(2019.08.07-情人节更新)
查看>>
我是怎么用缠论在商品里边抢钱之二 (2019-07-12 15:10:10)
查看>>
python入门之正则表达式
查看>>
SAS学习经验总结分享:篇五-过程步的应用
查看>>
Android创建文件夹及文件并写入数据
查看>>
file的getPath getAbsolutePath和getCanonicalPath的不同
查看>>
课时4—切入切出动画
查看>>
eclipse 编辑 python 中文乱码的解决方案
查看>>
Python 爬虫的集中简单方式
查看>>
数据库MySQL/mariadb知识点——触发器
查看>>
Ubuntu做Tomcat服务:insserv: warning: script 'tomcat' missing LSB tags and overrides
查看>>
Binary Agents
查看>>
入门Webpack,看这篇就够了
查看>>
如何在数据库中使用索引
查看>>
ring0
查看>>
windows虚拟机下 安装docker 踩过的坑
查看>>
使用 CXF 做 webservice 简单例子
查看>>
socket.io 消息发送
查看>>