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?
Undistraction
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>
来源:https://stackoverflow.com/questions/20218458/how-do-i-prevent-addthis-from-using-cookies-on-my-site