开发者

Addthis change url - query parameter

开发者 https://www.devze.com 2023-04-12 19:32 出处:网络
I have a url something like this local.ad.company.com/Web... In this i want to remove the ad.company.com when addthis buttons are clicked. Pl开发者_如何学编程ease help.

I have a url something like this local.ad.company.com/Web... In this i want to remove the ad.company.com when addthis buttons are clicked. Pl开发者_如何学编程ease help. Thanks in advance


Basically without any javascript involved you can do something like this (source)

<a href="http://www.addthis.com/bookmark.php" 
    class="addthis_button"
    addthis:url="http://example.com"
    addthis:title="An Example Title"
    addthis:description="An Example Description"></a>

AddThis recommends using its Sharing API and personally I think it's the best way of implementing it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号