Social Share Privacy

Fork of "jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz"

Download this project as a .zip file Download this project as a tar.gz file
1st click: activate button
2nd click: like
Before activation this button doesn't send information to a third party.

More and more websites use like-buttons from Facebook, Google+ and Twitter. However, these buttons send information to these social networks even if the user doesn't click them, but even if they are just present on a webpage. This way these networks are able to track which websites users are visiting and are able to build fairly complete browser histories of their users. Because this is neither what a user might expect nor what many website operators that embed like-buttons want, this alternative way of using these social services was developed.

The concept is fairly easy. Per default only a gray mockup image of a like-button is embedded. Only if a user clicks this button the real like-button is loaded and information sent to the social network. With a second click the user can then like the webpage (or tweet it etc.).

All buttons can be permanently enabled.

The first click basically means that the user agrees that information is sent to the social network in question. But only for the page that embeds like-button and only for the selected social network. If the user visits the same page again the button is at first again deactivated. This way one can prevent, that social network owners can build complete surf profiles of their users.

If users don't care about their privacy and rather want the like-buttons to be always enabled they can do so in the settings menu, accessed via the gear icon. Per default this is done via cookies and on a domain basis, but this feature is extensible so that this information can be stored anywhere (e.g. via AJAX on a webserver or in the browsers HTML5 local storage).

This is a fork of the "jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz" project of the German publishing house Heise.

For Webmasters

Social Share Privacy is a jQuery plugin under the MIT license. More information on how to use it on your own webpage you can find on github.

If you don't care about all the possible options and just want a quick short universal embed code you can use this form:

NOTE: If you directly use this generated code the privacy of your users won't be improved because it loads scripts from ajax.googleapis.com and panzi.github.io. Please download these scripts and put them on your own webserver and change the embed code accordingly.


Comments