gpt4 book ai didi

addthis - 在 AddThis 中自定义 URL

转载 作者:行者123 更新时间:2023-12-02 16:06:51 25 4
gpt4 key购买 nike

如何访问 addthis 中生成的 URL 并在通过电子邮件发送给其他人之前附加查询字符串?

谢谢

最佳答案

来自他们的网站:

To define the URL to share you do it in one of four ways. For our newest tools, use the data-url and data-title parameters, like this:

<div class="addthis_sharing_toolbox" 
data-url="THE URL"
data-title="THE TITLE">
</div>

If the code you're using has the addthis_toolbox in it, use the addthis:url and addthis:title parameters, like this:

<div class="addthis_toolbox addthis_default_style " 
addthis:url="THE URL"
addthis:title="THE TITLE">

or you can set it using the addthis_share variable, which will change the URL and title shared for all the AddThis tools on the page:

<script type="text/javascript"> 
var addthis_share = {
url: "THE URL"
title: "THE TITLE"
}
</script>

In any case, be sure to replace THE URL and THE TITLE with the URL and title of the pages to share.

关于addthis - 在 AddThis 中自定义 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1476513/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com