How Do I Prevent AddThis From Using Cookies On My

2019-05-10 12:30发布

I'm using the AddThis component on a site to add social-bookmarking functionality. However I don't want their code adding cookies to my visitors.

How can I use the component but prevent it from using cookies?

1条回答
狗以群分
2楼-- · 2019-05-10 13:08

Use the data_use_cookies config parameter when setting up the component:

<script type="text/javascript">var addthis_config = {data_use_cookies_ondomain: !1, data_use_cookies: !1};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5278666D66d6d6"></script>
查看更多
登录 后发表回答