This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
forked from patrickheck/socialshareprivacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
57 lines (57 loc) · 2.46 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Demo – heise „socialSharePrivacy“–Plug-In</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="jquery.socialshareprivacy.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($){
if($('#socialshareprivacy').length > 0){
$('#socialshareprivacy').socialSharePrivacy({
services : {
facebook : {
'status' : 'on',
'txt_info' : '2 clicks for increased privacy: Only after clicking here the button will become active and allow connecting to Facebook. Data will already be transferred upon activation – see <em>i</em>',
'txt_fb_off' : 'not connected to Facebook',
'txt_fb_on' : 'connected to Facebook',
'display_name' : 'Facebook',
'language' : 'en_US',
'action' : 'like',
'dummy_caption' : 'Like'
},
twitter : {
'status' : 'on',
'txt_info' : '2 clicks for increased privacy: Only after clicking here the button will become active and allow connecting to Twitter. Data will already be transferred upon activation – see <em>i</em>',
'txt_twitter_off' : 'not connected to twitter',
'txt_twitter_on' : 'connected to twitter',
'display_name' : 'Twitter',
'language' : 'en',
'dummy_caption' : 'Tweet'
},
gplus : {
'status' : 'on',
'txt_info' : '2 clicks for increased privacy: Only after clicking here the button will become active and allow connecting to Google+. Data will already be transferred upon activation – see <em>i</em>',
'txt_glus_off' : 'not connected to google+',
'txt_gplus_on' : 'connected to google+',
'display_name' : 'Google+',
'language' : 'en'
}
},
'info_link' : '',
'txt_help' : 'If you activate these buttons, data will be transferred to Facebook, Twitter or Google in the USA. This data might also be stored there.',
'settings_perma' : 'Activate permanently and confirm transfer of data:'
});
}
});
</script>
</head>
<body>
<h1>This is a Demo of the <a href="https://github.com/patrickheck/socialshareprivacy">socialSharePrivacy Plug-In</a>.</h1>
<p>It is based on the <a href="http://www.heise.de/extras/socialshareprivacy/">work of heise</a>.</p>
<div id="socialshareprivacy"></div>
<p>
<a href="index.html">Back to documentation</a>
</p>
</body>
</html>