如何在google+上删除图片共享时的url显示
how to remove url display while image share on google+?
<html>
<head>
<title>Share Demo: Deferred execution with language code</title>
<link rel="canonical" href="http://www.example.com" />
<script src="https://apis.google.com/js/platform.js" async defer></script>
</head>
<body>
<a href="https://plus.google.com/share?url={http://mkainfotech.com/modelstown/public//uploads/model/wall/1439355689990.jpg}" onClick="javascript:window.open(this.href,
'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600',url=no);return false;">
<img
src="https://www.gstatic.com/images/icons/gplus-64.png" alt="Share on Google+"/></a>
</body>
</html>
<html>
<head>
<!-- begin snippet: js hide: false -->
<title>Demo: Explicit render of a embedded post</title>
<link rel="canonical" href="http://www.example.com" />
<script src="https://apis.google.com/js/platform.js" async defer>
</script>
<script>
function renderWidget() {
gapi.post.render("widget-div", {'href' : 'https://plus.google.com/109813896768294978296/posts/hdbPtrsqMXQ'} );
}
</script>
</head>
<body>
<a href="#" onClick="renderWidget();">Render the embedded post</a>
<div id="widget-div"></div>
</body>
</html>
如何删除图片共享时显示的url链接。。共享图片的新代码在图片共享时仍显示链接?如何删除图片共享时显示的url链接。。共享图片的新代码在图片共享时仍显示链接?共享图片的新代码在图片共享时仍显示链接?
您可以使用history.replaceState()
或history.pushState()
更改当前URL,而无需更改当前页面。请查看此页以获取摘要。请记住,所有浏览器都只支持其中一些API。在犬科动物上签出此页面,查看支持哪些犬科动物。
相关文章:
- LinkedIn共享链接图片未使用自定义url更新
- Facebook共享按钮/history.pushstate/错误的url
- 无法'共享'Firefox操作系统上Facebook和Twitter本地应用程序上的URL
- 在facebook共享按钮sharer.php中指定url
- facebook共享按钮的不同url
- 获取当前页面的URL并将其附加到Facebook共享链接(使用javascript)
- 在Facebook上共享自定义url的按钮
- facebook共享og:url覆盖从og:title获取的数据
- 带有标签的动态url的社交共享
- 不使用appId在Facebook上共享URL
- Fb UI 在智能手机 fb 应用程序中共享 URL 参数
- Facebook忽略了共享URL中的部分查询字符串
- 在 jQuery 移动应用程序中更改 AddThis 共享 URL
- 用于在Facebook、Twitter等网站上共享URL的锚定标签
- API不共享URL链接(其他数据很好)
- 如何在twitter中使用tweet_button.html共享url
- Mailchimp Facebook共享URL没有重定向到正确的URL
- 如何在jQuery中将页面的URL附加到社交媒体“共享”URL
- 如何刷新 AddThis Facebook 按钮的共享 URL
- 使用node和mongoDB创建具有可共享url的收藏列表