MediaWiki:Skin/jquery.socialshareprivacy.min.js: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (test)
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
/*
+
(function(e){"use strict";function t(e,t){var n=decodeURIComponent(e);if(n.length<=t){return e}var r=n.substring(0,t-1).lastIndexOf(" ");n=encodeURIComponent(n.substring(0,r))+"…";return n}function n(t){var n=e('meta[name="'+t+'"]').attr("content");return n||""}function r(){var t=n("DC.title");var r=n("DC.creator");if(t.length>0&&r.length>0){t+=" - "+r}else{t=e("title").text()}return encodeURIComponent(t)}function i(){var t=document.location.href;var n=e("link[rel=canonical]").attr("href");if(n&&n.length>0){if(n.indexOf("http")<0){n=document.location.protocol+"//"+document.location.host+n}t=n}return t}function s(e,t,n,r,i){var s=new Date;s.setTime(s.getTime()+n*24*60*60*1e3);document.cookie=e+"="+t+"; expires="+s.toUTCString()+"; path="+r+"; domain="+i}function o(e,t,n,r){var i=new Date;i.setTime(i.getTime()-100);document.cookie=e+"="+t+"; expires="+i.toUTCString()+"; path="+n+"; domain="+r}e.fn.socialSharePrivacy=function(n){var u={services:{facebook:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAAAUCAIAAAB+jZaDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQB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S0tLoVAIAd7c3AyHwz6fLxqNfv36dWBgIJVKybI8MTHx4cOH3d3dsbEx/D3/k+EhaJTn0Ein00xj0vr7mzMEIRgM3r9/X5blYDDocDjgNX19fYIgtLW13bt3z2w2e73ebDYLQfT39wuCIElSPp8vlUrIt+PxeLlc3t7ezmQyyWTy6upK07Te3l6LxdLU1NTY2FgoFCBxNpstFouJRGJnZ6dWqx0cHEAksixzHNfZ2VkqlYgy9I+340UfPk5PT9EDFgwGb/LCm81mSZLwQkJRFIvFIgh/brFarXhkAQDu3LkD4xZWkNAGiqJUq9Xm5maTyQQAGB8fVxSF53mYWXEZAADFYtFqtXo8Ho7jmpube3p6oOSiKNI54j/JQk8M5O2BQIC75aATDHrGibCKx+MAgOPjY5vNZrfbNU1TVdVsNvf29ppMJlmW29vb9/f3bTYbUd6gid/vVxSlq6tLlmVVVU9OTohSFy8ZcV2wX7V0Ol0ul2E+o59uvXFxcTE3N4e4+f3+mZkZtIsHFMJ0dHR0eHhYKpWmpqZwkR49ehSLxXZ3dy8vL0dHR4kHCGkBlrFPnjx59+4dx3G1Wu3FixdEhc8sYAEAIB6P+3w+4jH48uVLNBrlOE6SpImJidvanLCPXtvz+vXr8fFxj8fDLBA0TatWq9DaeOenV89UKhUmH7pjAQCk02me6aIoyKFS/sHb8QKbaS7kfqIo0u0wnMO8YKBBXCqbzWYgNvQ4fAK+ffvW3t7O/Q+DUDNR1cO07HQ6LRbLrYoQvVYXv45u/umXSzCbzf9w37XSXisMAKClpUUvLxq07rgemU0xXt4ZeYHT6czlcszMyWzF9ZzWoCYnumhmh2tQrt6w/zVu4/AjuVyusbERqKp6enqKCgO9XooZisyCHP1tQKdWPXxQ/r8RyCox6CxN96T0X2loC/bksF5wOp2tra2/BwB4KldEk/fJrAAAAABJRU5ErkJggg==",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Facebook senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_fb_off:"nicht mit Facebook verbunden",txt_fb_on:"mit Facebook verbunden",perma_option:"on",display_name:"Facebook",referrer_track:"",language:"de_DE",action:"recommend"},twitter:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAUCAIAAACmgTKJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABNtJREFUeNrMl0lInEsQx2dGTdy3GBfc0bhjiEbiirhcFBRF9BQIqAiCR4+eghePevCiKJqb4MGT0SDuC6ioCK6ICDGuuO/be7+x3ut8zKee7cM33dXV1f/+V1VXj/Hm5mZjY2NnZ8doNP7z2AwGA32DpskUHb4yxffh4cH42EQoClod6eutKX2Ra20qfWXNy8srKCjIuLKy8ubNm8DAQMOrbDAIj6bd3d1XC5EGNhCaDK++4X1rfu7u7ggyfRSqZjKZRMEiClVgWdjVyp/T0ce9PsRlit1N+vVKooJ6ZGSkq6uLDNPmkDbbsPMkROlo80nZ1GaV1qz2bPKFIDOXt7e3sivjsbGxuLg4Ozs7Zbq+vn5/f9/JySkzM/P+/l4MjY6ODgwMCDgRxsfH5+TkKGJoQoEFPYoXPW2/f/+2tbV9//69BfeoWZWVlZHt6tDT09Pt7e1//vxhgbu7e19fHxRaWVkdHx+vr68DRVZaW1tzJHt7+9nZ2cjIyJCQkPDwcBcXFzm6mJKOSLS8KgXlCvk2NjYC9OPHj0ouU9vb22aUPj4+irno6Oi5ubmtrS22Pzw83NvbQw4mCEOYlJR0dHTk6OgItVFRUQEBAb29vd++fUM+MTEhiK+vr2tra8lNNze3+fn5jo6OL1++/Pr1q6WlZWho6O3bt97e3hx7cXGxqanp58+fpHBERASazLIdu2OE86uzgdIkHgcEOcSXy6mkpAR2XV1dNzc32VLiF2SEwffv37lf0Uf54uKCWZZfXV1dXl46OzsTBliYmZmB/sHBQfp8AUQUdXd3FxUV5eXl/fjxY2FhgY0bGhoSEhJKS0vR7+zs5MBY8PDwyM7OZi9JaCywlzl4pIQo5mng8/f3Zw1OB5+ghM53796FhoYKMgk7bZgTzWBdXV2dmpqCSLgBPcOUlJSenh5CQjyA5eHhYdADCCF2YmNj8QNTDg4OePXTp08cTOt0czSzwf1jg/mHxwag/Px8gkxlrizAxRUVFenp6eqgNDGHRBTGx8ehqqqqCiG+Zj+EbIFbcDpRjrs/f/7MwrOzM9yNkLWpqanqpsOZ4lVl3xxyCgRHaW1t9fX19fPzwyMnJyeqXqONfxMTE4VIuT75SnarvE5OTm5ubgYHJReGJicnAYSmxDrhC539/f3kGe6C0dzc3A8fPpCvNjY2goFQOT8/B4m6IsS+ucdm2MK/X79+JWNwEOmsOGeWqeLiYmxJeoo+ze6x4SyRxMTEMCSTGKalpSHJysqiX1BQgCurq6srKyvxNZGArwsLC+vq6srLy9va2oSpjIwMqnZNTc3BwcHD/43lZha4scPCwhiIfwFELi8vL5PLDGEFaiEGRwhEoU3opO/p6cnBxEcMIYkOfOBr8hQPSDCInFQg3Ll9WQuvHPv09JT7DljMkv5IUGa5wsNeBLcZZXBwsKKX9SCTdBGJBIoWmf4Z9kIJ1tYYbIqpv0Xl8d7V1kmLhx/9tbU1a1Xf/osAk0lODzj9409Z15bEFxBrqwurtBBlFolcIxZJ/cRrQ9W95968ehASLhaABL3+4aIquwVVypQF5Srf/9qRW5oMeIEV/SvphUeQnglVu597TL0QNlRmUsXIVUz1XFpa0v9h0F7a2nfQkzGnDVkLZe2T7Mn/GC8cnmuLfxT/CjAA3XNRysZKvs8AAAAASUVORK5CYII=",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Twitter senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_twitter_off:"nicht mit Twitter verbunden",txt_twitter_on:"mit Twitter verbunden",perma_option:"on",display_name:"Twitter",referrer_track:"",tweet_text:r,language:"en"},gplus:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAUCAYAAADskT9PAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqlJREFUeNq8Vk1LKmEYPWOW0QdYG60Wha2Ctl0oJAgRN64S3IjWJrA/0eXeP9GmxQ1B3LTTduEmgjQCURA3kYKhYFn0ZfZ15zw0g4GTt+h64JnR952Z88x5zvu8o0BFOp1eVU/ravxAd5BSY3Nubu6PkkqlNoaGhn5NTExgYGCgK+x3d3col8u4ubn5aX55eVmfnJyEyWTC4+NjVxLo6+sDObPZ7Lr59fXVrigK1ETQLaicICe5qUBXyVuTIC8VwMPDA+XA9fU1isWi1EiD1WqFx+PB6Ojof0lCFIhEInC73VhYWIDZbEYikUA+n8fs7KyQ39/ff0ml3d1dlEolhMPhtvO6AoODg5iamtLffGlpSZTI5XJwOByw2+2fIm40Gjg4OBByjchIARMnuQKazaYMMJ6enjA9PS0X1Wo1fdwootHou/+xWAyVSgW9vb06UbsQbh4uLy/FB60TVIVgSTol8OZoPWZmZhAIBNDf398xAfHA8/MzCoWC1FzD7e0tLBaLlIAXtwO9Q+WIra0tWd/BYBDz8/PveorR/boHiKOjI/T09GB8fBzVahUnJydYXl4WBYxquLa2Jm+/vb2NlZUVIaJhtaQ6JaCvAt6cyWTENIeHh6KI3+/H8PDwh91RMy0fRMXaEXRSQDxAszidTni9XiEneG415kcRCoXajrcmYugB/iARg3LabDYpQTwex+LiIsbGxjouO3VTaTtOP/CZRvN6CU5PT3FxcSFy07mUnl1xb29PlOHG8RUYEb8zIQ9nZ2dCxO2YpiOSyaS05/39fYyMjEhS3w3xgCpD2eVySc2vrq5wfn4ualB+LictwX/xwmfire+UmcDm8fGxtM9Wc9TrdWkohPrB8q3k9BvLTm6FBDs7Oxtvn2T2Lu3GFX6S+Xy+338FGAAJF8SL8w1B7gAAAABJRU5ErkJggg==",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Google+ senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_gplus_off:"nicht mit Google+ verbunden",txt_gplus_on:"mit Google+ verbunden",perma_option:"on",display_name:"Google+",referrer_track:"",language:"de"}},info_link:"http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html",txt_help:"Wenn Sie diese Felder durch einen Klick aktivieren, werden Informationen an Facebook, Twitter oder Google in die USA &uuml;bertragen und unter Umst&auml;nden auch dort gespeichert. N&auml;heres erfahren Sie durch einen Klick auf das <em>i</em>.",settings_perma:"Dauerhaft aktivieren und Daten&uuml;ber&shy;tragung zustimmen:",cookie_path:"/",cookie_domain:document.location.host,cookie_expires:"365",css_path:"http://kamelopedia.net/skins/socialshareprivacy/socialshareprivacy.css",uri:i};var a=e.extend(true,u,n);var f=a.services.facebook.status==="on";var l=a.services.twitter.status==="on";var c=a.services.gplus.status==="on";if(!f&&!l&&!c){return}if(a.css_path.length>0){if(document.createStyleSheet){document.createStyleSheet(a.css_path)}else{e("head").append('<link rel="stylesheet" type="text/css" href="'+a.css_path+'" />')}}return this.each(function(){e(this).prepend('<ul class="social_share_privacy_area"></ul>');var n=e(".social_share_privacy_area",this);var r=a.uri;if(typeof r==="function"){r=r(n)}if(f){var i=encodeURIComponent(r+a.services.facebook.referrer_track);var u='<iframe src="http://www.facebook.com/plugins/like.php?locale='+a.services.facebook.language+"&href="+i+"&send=false&layout=button_count&width=120&show_faces=false&action="+a.services.facebook.action+'&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>';var h='<img src="'+a.services.facebook.dummy_img+'" alt="Facebook &quot;Like&quot;-Dummy" class="fb_like_privacy_dummy" />';n.append('<li class="facebook help_info"><span class="info">'+a.services.facebook.txt_info+'</span><span class="switch off">'+a.services.facebook.txt_fb_off+'</span><div class="fb_like dummy_btn">'+h+"</div></li>");var p=e("li.facebook",n);e("li.facebook div.fb_like img.fb_like_privacy_dummy,li.facebook span.switch",n).live("click",function(){if(p.find("span.switch").hasClass("off")){p.addClass("info_off");p.find("span.switch").addClass("on").removeClass("off").html(a.services.facebook.txt_fb_on);p.find("img.fb_like_privacy_dummy").replaceWith(u)}else{p.removeClass("info_off");p.find("span.switch").addClass("off").removeClass("on").html(a.services.facebook.txt_fb_off);p.find(".fb_like").html(h)}})}if(l){var d=a.services.twitter.tweet_text;if(typeof d==="function"){d=d()}d=t(d,"120");var v=encodeURIComponent(r+a.services.twitter.referrer_track);var m=encodeURIComponent(r);var g='<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url='+v+"&counturl="+m+"&text="+d+"&count=horizontal&lang="+a.services.twitter.language+'" style="width:130px; height:25px;"></iframe>';var y='<img src="'+a.services.twitter.dummy_img+'" alt="&quot;Tweet this&quot;-Dummy" class="tweet_this_dummy" />';n.append('<li class="twitter help_info"><span class="info">'+a.services.twitter.txt_info+'</span><span class="switch off">'+a.services.twitter.txt_twitter_off+'</span><div class="tweet dummy_btn">'+y+"</div></li>");var b=e("li.twitter",n);e("li.twitter div.tweet img,li.twitter span.switch",n).live("click",function(){if(b.find("span.switch").hasClass("off")){b.addClass("info_off");b.find("span.switch").addClass("on").removeClass("off").html(a.services.twitter.txt_twitter_on);b.find("img.tweet_this_dummy").replaceWith(g)}else{b.removeClass("info_off");b.find("span.switch").addClass("off").removeClass("on").html(a.services.twitter.txt_twitter_off);b.find(".tweet").html(y)}})}if(c){var w=r+a.services.gplus.referrer_track;var E='<div class="g-plusone" data-size="medium" data-href="'+w+'"></div><script type="text/javascript">window.___gcfg = {lang: "'+a.services.gplus.language+'"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>';var S='<img src="'+a.services.gplus.dummy_img+'" alt="&quot;Google+1&quot;-Dummy" class="gplus_one_dummy" />';n.append('<li class="gplus help_info"><span class="info">'+a.services.gplus.txt_info+'</span><span class="switch off">'+a.services.gplus.txt_gplus_off+'</span><div class="gplusone dummy_btn">'+S+"</div></li>");var x=e("li.gplus",n);e("li.gplus div.gplusone img,li.gplus span.switch",n).live("click",function(){if(x.find("span.switch").hasClass("off")){x.addClass("info_off");x.find("span.switch").addClass("on").removeClass("off").html(a.services.gplus.txt_gplus_on);x.find("img.gplus_one_dummy").replaceWith(E)}else{x.removeClass("info_off");x.find("span.switch").addClass("off").removeClass("on").html(a.services.gplus.txt_gplus_off);x.find(".gplusone").html(S)}})}n.append('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="'+a.info_link+'"><span class="help_info icon"><span class="info">'+a.txt_help+"</span></span></a></div></li>");e(".help_info:not(.info_off)",n).live("mouseenter",function(){var t=e(this);var n=window.setTimeout(function(){e(t).addClass("display")},500);e(this).data("timeout_id",n)});e(".help_info",n).live("mouseleave",function(){var t=e(this).data("timeout_id");window.clearTimeout(t);if(e(this).hasClass("display")){e(this).removeClass("display")}});var T=a.services.facebook.perma_option==="on";var N=a.services.twitter.perma_option==="on";var C=a.services.gplus.perma_option==="on";if((f&&T||l&&N||c&&C)&&(!e.browser.msie||e.browser.msie&&e.browser.version>7)){var k=document.cookie.split(";");var L="{";var A=0;for(;A<k.length;A+=1){var O=k[A].split("=");L+='"'+e.trim(O[0])+'":"'+e.trim(O[1])+'"';if(A<k.length-1){L+=","}}L+="}";L=JSON.parse(L);var M=e("li.settings_info",n);M.find(".settings_info_menu").removeClass("perma_option_off");M.find(".settings_info_menu").append('<span class="settings">Einstellungen</span><form><fieldset><legend>'+a.settings_perma+"</legend></fieldset></form>");var _=' checked="checked"';if(f&&T){var D=L.socialSharePrivacy_facebook==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_facebook" id="perma_status_facebook"'+D+' /><label for="perma_status_facebook">'+a.services.facebook.display_name+"</label>")}if(l&&N){var P=L.socialSharePrivacy_twitter==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_twitter" id="perma_status_twitter"'+P+' /><label for="perma_status_twitter">'+a.services.twitter.display_name+"</label>")}if(c&&C){var H=L.socialSharePrivacy_gplus==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_gplus" id="perma_status_gplus"'+H+' /><label for="perma_status_gplus">'+a.services.gplus.display_name+"</label>")}M.find("span.settings").css("cursor","pointer");e(M.find("span.settings"),n).live("mouseenter",function(){var t=window.setTimeout(function(){M.find(".settings_info_menu").removeClass("off").addClass("on")},500);e(this).data("timeout_id",t)});e(M,n).live("mouseleave",function(){var t=e(this).data("timeout_id");window.clearTimeout(t);M.find(".settings_info_menu").removeClass("on").addClass("off")});e(M.find("fieldset input")).live("click",function(t){var r=t.target.id;var i=r.substr(r.lastIndexOf("_")+1,r.length);var u="socialSharePrivacy_"+i;if(e("#"+t.target.id+":checked").length){s(u,"perma_on",a.cookie_expires,a.cookie_path,a.cookie_domain);e("form fieldset label[for="+r+"]",n).addClass("checked")}else{o(u,"perma_on",a.cookie_path,a.cookie_domain);e("form fieldset label[for="+r+"]",n).removeClass("checked")}});if(f&&T&&L.socialSharePrivacy_facebook==="perma_on"){e("li.facebook span.switch",n).click()}if(l&&N&&L.socialSharePrivacy_twitter==="perma_on"){e("li.twitter span.switch",n).click()}if(c&&C&&L.socialSharePrivacy_gplus==="perma_on"){e("li.gplus span.switch",n).click()}}})}})(jQuery)
* jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz
 
*
 
* http://www.heise.de/extras/socialshareprivacy/
 
* http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html
 
*
 
* Copyright (c) 2011 Hilko Holweg, Sebastian Hilbig, Nicolas Heiringhoff, Juergen Schmidt,
 
* Heise Zeitschriften Verlag GmbH & Co. KG, http://www.heise.de
 
*
 
* is released under the MIT License http://www.opensource.org/licenses/mit-license.php
 
*
 
* Spread the word, link to us if you can.
 
*/
 
(function ($) {
 
 
 
    "use strict";
 
 
 
/*
 
* helper functions
 
*/
 
 
 
    // abbreviate at last blank before length and add "\u2026" (horizontal ellipsis)
 
    function abbreviateText(text, length) {
 
        var abbreviated = decodeURIComponent(text);
 
        if (abbreviated.length <= length) {
 
            return text;
 
        }
 
 
 
        var lastWhitespaceIndex = abbreviated.substring(0, length - 1).lastIndexOf(' ');
 
        abbreviated = encodeURIComponent(abbreviated.substring(0, lastWhitespaceIndex)) + "\u2026";
 
 
 
        return abbreviated;
 
    }
 
 
 
    // returns content of <meta name="" content=""> tags or '' if empty/non existant
 
    function getMeta(name) {
 
        var metaContent = $('meta[name="' + name + '"]').attr('content');
 
        return metaContent || '';
 
    }
 
   
 
    // create tweet text from content of <meta name="DC.title"> and <meta name="DC.creator">
 
    // fallback to content of <title> tag
 
    function getTweetText() {
 
        var title = getMeta('DC.title');
 
        var creator = getMeta('DC.creator');
 
 
 
        if (title.length > 0 && creator.length > 0) {
 
            title += ' - ' + creator;
 
        } else {
 
            title = $('title').text();
 
        }
 
 
 
        return encodeURIComponent(title);
 
    }
 
 
 
    // build URI from rel="canonical" or document.location
 
    function getURI() {
 
        var uri = document.location.href;
 
        var canonical = $("link[rel=canonical]").attr("href");
 
 
 
        if (canonical && canonical.length > 0) {
 
            if (canonical.indexOf("http") < 0) {
 
                canonical = document.location.protocol + "//" + document.location.host + canonical;
 
            }
 
            uri = canonical;
 
        }
 
 
 
        return uri;
 
    }
 
 
 
    function cookieSet(name, value, days, path, domain) {
 
        var expires = new Date();
 
        expires.setTime(expires.getTime() + (days * 24 * 60 * 60 * 1000));
 
        document.cookie = name + '=' + value + '; expires=' + expires.toUTCString() + '; path=' + path + '; domain=' + domain;
 
    }
 
    function cookieDel(name, value, path, domain) {
 
        var expires = new Date();
 
        expires.setTime(expires.getTime() - 100);
 
        document.cookie = name + '=' + value + '; expires=' + expires.toUTCString() + '; path=' + path + '; domain=' + domain;
 
    }
 
 
 
    // extend jquery with our plugin function
 
    $.fn.socialSharePrivacy = function (settings) {
 
        var defaults = {
 
            'services' : {
 
                'facebook' : {
 
                    'status'            : 'on',
 
                    'dummy_img'        : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAAAUCAIAAAB+jZaDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMT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pWmpqZwkR49ehSLxXZ3dy8vL0dHR4kHCGkBlrFPnjx59+4dx3G1Wu3FixdEhc8sYAEAIB6P+3w+4jH48uVLNBrlOE6SpImJidvanLCPXtvz+vXr8fFxj8fDLBA0TatWq9DaeOenV89UKhUmH7pjAQCk02me6aIoyKFS/sHb8QKbaS7kfqIo0u0wnMO8YKBBXCqbzWYgNvQ4fAK+ffvW3t7O/Q+DUDNR1cO07HQ6LRbLrYoQvVYXv45u/umXSzCbzf9w37XSXisMAKClpUUvLxq07rgemU0xXt4ZeYHT6czlcszMyWzF9ZzWoCYnumhmh2tQrt6w/zVu4/AjuVyusbERqKp6enqKCgO9XooZisyCHP1tQKdWPXxQ/r8RyCox6CxN96T0X2loC/bksF5wOp2tra2/BwB4KldEk/fJrAAAAABJRU5ErkJggg==',
 
                    'txt_info'          : '2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Facebook senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.',
 
                    'txt_fb_off'        : 'nicht mit Facebook verbunden',
 
                    'txt_fb_on'        : 'mit Facebook verbunden',
 
                    'perma_option'      : 'on',
 
                    'display_name'      : 'Facebook',
 
                    'referrer_track'    : '',
 
                    'language'          : 'de_DE',
 
                    'action'            : 'recommend'
 
                },
 
                'twitter' : {
 
                    'status'            : 'on',
 
                    'dummy_img'        : '../skins/socialshareprivacy/images/dummy_twitter.png',
 
                    'txt_info'          : '2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Twitter senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.',
 
                    'txt_twitter_off: 'nicht mit Twitter verbunden',
 
                    'txt_twitter_on'    : 'mit Twitter verbunden',
 
                    'perma_option'      : 'on',
 
                    'display_name'      : 'Twitter',
 
                    'referrer_track'    : '',  
 
                    'tweet_text'        : getTweetText,
 
                    'language'          : 'en'
 
                },
 
                'gplus' : {
 
                    'status'            : 'on',
 
                    'dummy_img'        : '../skins/socialshareprivacy/images/dummy_gplus.png',
 
                    'txt_info'          : '2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Google+ senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.',
 
                    'txt_gplus_off'    : 'nicht mit Google+ verbunden',
 
                    'txt_gplus_on'      : 'mit Google+ verbunden',
 
                    'perma_option'      : 'on',
 
                    'display_name'      : 'Google+',
 
                    'referrer_track'    : '',
 
                    'language'          : 'de'
 
                }
 
            },
 
            'info_link'        : 'http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html',
 
            'txt_help'          : 'Wenn Sie diese Felder durch einen Klick aktivieren, werden Informationen an Facebook, Twitter oder Google in die USA &uuml;bertragen und unter Umst&auml;nden auch dort gespeichert. N&auml;heres erfahren Sie durch einen Klick auf das <em>i</em>.',
 
            'settings_perma'    : 'Dauerhaft aktivieren und Daten&uuml;ber&shy;tragung zustimmen:',
 
            'cookie_path'      : '/',
 
            'cookie_domain'    : document.location.host,
 
            'cookie_expires'    : '365',
 
            'css_path'          : '../skins/socialshareprivacy/socialshareprivacy.css',
 
            'uri'              : getURI
 
        };
 
 
 
        // Standardwerte des Plug-Ings mit den vom User angegebenen Optionen ueberschreiben
 
        var options = $.extend(true, defaults, settings);
 
 
 
        var facebook_on = (options.services.facebook.status === 'on');
 
        var twitter_on  = (options.services.twitter.status === 'on');
 
        var gplus_on    = (options.services.gplus.status   === 'on');
 
 
 
        // check if at least one service is "on"
 
        if (!facebook_on && !twitter_on && !gplus_on) {
 
            return;
 
        }
 
 
 
        // insert stylesheet into document and prepend target element
 
        if (options.css_path.length > 0) {
 
            // IE fix (noetig fuer IE < 9 - wird hier aber fuer alle IE gemacht)
 
            if (document.createStyleSheet) {
 
                document.createStyleSheet(options.css_path);
 
            } else {
 
                $('head').append('<link rel="stylesheet" type="text/css" href="' + options.css_path + '" />');
 
            }
 
        }
 
 
 
        return this.each(function () {
 
 
 
            $(this).prepend('<ul class="social_share_privacy_area"></ul>');
 
            var context = $('.social_share_privacy_area', this);
 
 
 
            // canonical uri that will be shared
 
            var uri = options.uri;
 
            if (typeof uri === 'function') {
 
                uri = uri(context);
 
            }
 
 
 
            //
 
            // Facebook
 
            //
 
            if (facebook_on) {
 
                var fb_enc_uri = encodeURIComponent(uri + options.services.facebook.referrer_track);
 
                var fb_code = '<iframe src="http://www.facebook.com/plugins/like.php?locale=' + options.services.facebook.language + '&amp;href=' + fb_enc_uri + '&amp;send=false&amp;layout=button_count&amp;width=120&amp;show_faces=false&amp;action=' + options.services.facebook.action + '&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>';
 
                var fb_dummy_btn = '<img src="' + options.services.facebook.dummy_img + '" alt="Facebook &quot;Like&quot;-Dummy" class="fb_like_privacy_dummy" />';
 
 
 
                context.append('<li class="facebook help_info"><span class="info">' + options.services.facebook.txt_info + '</span><span class="switch off">' + options.services.facebook.txt_fb_off + '</span><div class="fb_like dummy_btn">' + fb_dummy_btn + '</div></li>');
 
 
 
                var $container_fb = $('li.facebook', context);
 
 
 
                $('li.facebook div.fb_like img.fb_like_privacy_dummy,li.facebook span.switch', context).live('click', function () {
 
                    if ($container_fb.find('span.switch').hasClass('off')) {
 
                        $container_fb.addClass('info_off');
 
                        $container_fb.find('span.switch').addClass('on').removeClass('off').html(options.services.facebook.txt_fb_on);
 
                        $container_fb.find('img.fb_like_privacy_dummy').replaceWith(fb_code);
 
                    } else {
 
                        $container_fb.removeClass('info_off');
 
                        $container_fb.find('span.switch').addClass('off').removeClass('on').html(options.services.facebook.txt_fb_off);
 
                        $container_fb.find('.fb_like').html(fb_dummy_btn);
 
                    }
 
                });
 
            }
 
 
 
            //
 
            // Twitter
 
            //
 
            if (twitter_on) {
 
                var text = options.services.twitter.tweet_text;
 
                if (typeof text === 'function') {
 
                    text = text();
 
                }
 
                // 120 is the max character count left after twitters automatic url shortening with t.co
 
                text = abbreviateText(text, '120');
 
 
 
                var twitter_enc_uri = encodeURIComponent(uri + options.services.twitter.referrer_track);
 
                var twitter_count_url = encodeURIComponent(uri);
 
                var twitter_code = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url=' + twitter_enc_uri + '&amp;counturl=' + twitter_count_url + '&amp;text=' + text + '&amp;count=horizontal&amp;lang=' + options.services.twitter.language + '" style="width:130px; height:25px;"></iframe>';
 
                var twitter_dummy_btn = '<img src="' + options.services.twitter.dummy_img + '" alt="&quot;Tweet this&quot;-Dummy" class="tweet_this_dummy" />';
 
 
 
                context.append('<li class="twitter help_info"><span class="info">' + options.services.twitter.txt_info + '</span><span class="switch off">' + options.services.twitter.txt_twitter_off + '</span><div class="tweet dummy_btn">' + twitter_dummy_btn + '</div></li>');
 
 
 
                var $container_tw = $('li.twitter', context);
 
 
 
                $('li.twitter div.tweet img,li.twitter span.switch', context).live('click', function () {
 
                    if ($container_tw.find('span.switch').hasClass('off')) {
 
                        $container_tw.addClass('info_off');
 
                        $container_tw.find('span.switch').addClass('on').removeClass('off').html(options.services.twitter.txt_twitter_on);
 
                        $container_tw.find('img.tweet_this_dummy').replaceWith(twitter_code);
 
                    } else {
 
                        $container_tw.removeClass('info_off');
 
                        $container_tw.find('span.switch').addClass('off').removeClass('on').html(options.services.twitter.txt_twitter_off);
 
                        $container_tw.find('.tweet').html(twitter_dummy_btn);
 
                    }
 
                });
 
            }
 
 
 
            //
 
            // Google+
 
            //
 
            if (gplus_on) {
 
                // fuer G+ wird die URL nicht encoded, da das zu einem Fehler fuehrt
 
                var gplus_uri = uri + options.services.gplus.referrer_track;
 
               
 
                // we use the Google+ "asynchronous" code, standard code is flaky if inserted into dom after load
 
                var gplus_code = '<div class="g-plusone" data-size="medium" data-href="' + gplus_uri + '"></div><script type="text/javascript">window.___gcfg = {lang: "' + options.services.gplus.language + '"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>';
 
                var gplus_dummy_btn = '<img src="' + options.services.gplus.dummy_img + '" alt="&quot;Google+1&quot;-Dummy" class="gplus_one_dummy" />';
 
 
 
                context.append('<li class="gplus help_info"><span class="info">' + options.services.gplus.txt_info + '</span><span class="switch off">' + options.services.gplus.txt_gplus_off + '</span><div class="gplusone dummy_btn">' + gplus_dummy_btn + '</div></li>');
 
 
 
                var $container_gplus = $('li.gplus', context);
 
 
 
                $('li.gplus div.gplusone img,li.gplus span.switch', context).live('click', function () {
 
                    if ($container_gplus.find('span.switch').hasClass('off')) {
 
                        $container_gplus.addClass('info_off');
 
                        $container_gplus.find('span.switch').addClass('on').removeClass('off').html(options.services.gplus.txt_gplus_on);
 
                        $container_gplus.find('img.gplus_one_dummy').replaceWith(gplus_code);
 
                    } else {
 
                        $container_gplus.removeClass('info_off');
 
                        $container_gplus.find('span.switch').addClass('off').removeClass('on').html(options.services.gplus.txt_gplus_off);
 
                        $container_gplus.find('.gplusone').html(gplus_dummy_btn);
 
                    }
 
                });
 
            }
 
 
 
            //
 
            // Der Info/Settings-Bereich wird eingebunden
 
            //
 
            context.append('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="' + options.info_link + '"><span class="help_info icon"><span class="info">' + options.txt_help + '</span></span></a></div></li>');
 
 
 
            // Info-Overlays mit leichter Verzoegerung einblenden
 
            $('.help_info:not(.info_off)', context).live('mouseenter', function () {
 
                var $info_wrapper = $(this);
 
                var timeout_id = window.setTimeout(function () { $($info_wrapper).addClass('display'); }, 500);
 
                $(this).data('timeout_id', timeout_id);
 
            });
 
            $('.help_info', context).live('mouseleave', function () {
 
                var timeout_id = $(this).data('timeout_id');
 
                window.clearTimeout(timeout_id);
 
                if ($(this).hasClass('display')) {
 
                    $(this).removeClass('display');
 
                }
 
            });
 
 
 
            var facebook_perma = (options.services.facebook.perma_option === 'on');
 
            var twitter_perma  = (options.services.twitter.perma_option === 'on');
 
            var gplus_perma    = (options.services.gplus.perma_option   === 'on');
 
 
 
            // Menue zum dauerhaften Einblenden der aktiven Dienste via Cookie einbinden
 
            // Die IE7 wird hier ausgenommen, da er kein JSON kann und die Cookies hier ueber JSON-Struktur abgebildet werden
 
            if (((facebook_on && facebook_perma)
 
                || (twitter_on && twitter_perma)
 
                || (gplus_on && gplus_perma))
 
                    && (!$.browser.msie || ($.browser.msie && $.browser.version > 7.0))) {
 
 
 
                // Cookies abrufen
 
                var cookie_list = document.cookie.split(';');
 
                var cookies = '{';
 
                var i = 0;
 
                for (; i < cookie_list.length; i += 1) {
 
                    var foo = cookie_list[i].split('=');
 
                    cookies += '"' + $.trim(foo[0]) + '":"' + $.trim(foo[1]) + '"';
 
                    if (i < cookie_list.length - 1) {
 
                        cookies += ',';
 
                    }
 
                }
 
                cookies += '}';
 
                cookies = JSON.parse(cookies);
 
 
 
                // Container definieren
 
                var $container_settings_info = $('li.settings_info', context);
 
 
 
                // Klasse entfernen, die das i-Icon alleine formatiert, da Perma-Optionen eingeblendet werden
 
                $container_settings_info.find('.settings_info_menu').removeClass('perma_option_off');
 
 
 
                // Perma-Optionen-Icon (.settings) und Formular (noch versteckt) einbinden
 
                $container_settings_info.find('.settings_info_menu').append('<span class="settings">Einstellungen</span><form><fieldset><legend>' + options.settings_perma + '</legend></fieldset></form>');
 
 
 
 
 
                // Die Dienste mit <input> und <label>, sowie checked-Status laut Cookie, schreiben
 
                var checked = ' checked="checked"';
 
                if (facebook_on && facebook_perma) {
 
                    var perma_status_facebook = cookies.socialSharePrivacy_facebook === 'perma_on' ? checked : '';
 
                    $container_settings_info.find('form fieldset').append(
 
                        '<input type="checkbox" name="perma_status_facebook" id="perma_status_facebook"'
 
                            + perma_status_facebook + ' /><label for="perma_status_facebook">'
 
                            + options.services.facebook.display_name + '</label>'
 
                    );
 
                }
 
 
 
                if (twitter_on && twitter_perma) {
 
                    var perma_status_twitter = cookies.socialSharePrivacy_twitter === 'perma_on' ? checked : '';
 
                    $container_settings_info.find('form fieldset').append(
 
                        '<input type="checkbox" name="perma_status_twitter" id="perma_status_twitter"'
 
                            + perma_status_twitter + ' /><label for="perma_status_twitter">'
 
                            + options.services.twitter.display_name + '</label>'
 
                    );
 
                }
 
 
 
                if (gplus_on && gplus_perma) {
 
                    var perma_status_gplus = cookies.socialSharePrivacy_gplus === 'perma_on' ? checked : '';
 
                    $container_settings_info.find('form fieldset').append(
 
                        '<input type="checkbox" name="perma_status_gplus" id="perma_status_gplus"'
 
                            + perma_status_gplus + ' /><label for="perma_status_gplus">'
 
                            + options.services.gplus.display_name + '</label>'
 
                    );
 
                }
 
 
 
                // Cursor auf Pointer setzen fuer das Zahnrad
 
                $container_settings_info.find('span.settings').css('cursor', 'pointer');
 
 
 
                // Einstellungs-Menue bei mouseover ein-/ausblenden
 
                $($container_settings_info.find('span.settings'), context).live('mouseenter', function () {
 
                    var timeout_id = window.setTimeout(function () { $container_settings_info.find('.settings_info_menu').removeClass('off').addClass('on'); }, 500);
 
                    $(this).data('timeout_id', timeout_id);
 
                });  
 
                $($container_settings_info, context).live('mouseleave', function () {
 
                    var timeout_id = $(this).data('timeout_id');
 
                    window.clearTimeout(timeout_id);
 
                    $container_settings_info.find('.settings_info_menu').removeClass('on').addClass('off');
 
                });
 
 
 
                // Klick-Interaktion auf <input> um Dienste dauerhaft ein- oder auszuschalten (Cookie wird gesetzt oder geloescht)
 
                $($container_settings_info.find('fieldset input')).live('click', function (event) {
 
                    var click = event.target.id;
 
                    var service = click.substr(click.lastIndexOf('_') + 1, click.length);
 
                    var cookie_name = 'socialSharePrivacy_' + service;
 
 
 
                    if ($('#' + event.target.id + ':checked').length) {
 
                        cookieSet(cookie_name, 'perma_on', options.cookie_expires, options.cookie_path, options.cookie_domain);
 
                        $('form fieldset label[for=' + click + ']', context).addClass('checked');
 
                    } else {
 
                        cookieDel(cookie_name, 'perma_on', options.cookie_path, options.cookie_domain);
 
                        $('form fieldset label[for=' + click + ']', context).removeClass('checked');
 
                    }
 
                });
 
 
 
                // Dienste automatisch einbinden, wenn entsprechendes Cookie vorhanden ist
 
                if (facebook_on && facebook_perma && cookies.socialSharePrivacy_facebook === 'perma_on') {
 
                    $('li.facebook span.switch', context).click();
 
                }
 
                if (twitter_on && twitter_perma && cookies.socialSharePrivacy_twitter === 'perma_on') {
 
                    $('li.twitter span.switch', context).click();
 
                }
 
                if (gplus_on && gplus_perma && cookies.socialSharePrivacy_gplus === 'perma_on') {
 
                    $('li.gplus span.switch', context).click();
 
                }
 
            }
 
        }); // this.each(function ()
 
    };      // $.fn.socialSharePrivacy = function (settings) {
 
}(jQuery));
 

Aktuelle Version vom 17. Januar 2014, 16:40 Uhr

(function(e){"use strict";function t(e,t){var n=decodeURIComponent(e);if(n.length<=t){return e}var r=n.substring(0,t-1).lastIndexOf(" ");n=encodeURIComponent(n.substring(0,r))+"…";return n}function n(t){var n=e('meta[name="'+t+'"]').attr("content");return n||""}function r(){var t=n("DC.title");var r=n("DC.creator");if(t.length>0&&r.length>0){t+=" - "+r}else{t=e("title").text()}return encodeURIComponent(t)}function i(){var t=document.location.href;var n=e("link[rel=canonical]").attr("href");if(n&&n.length>0){if(n.indexOf("http")<0){n=document.location.protocol+"//"+document.location.host+n}t=n}return t}function s(e,t,n,r,i){var s=new Date;s.setTime(s.getTime()+n*24*60*60*1e3);document.cookie=e+"="+t+"; expires="+s.toUTCString()+"; path="+r+"; domain="+i}function o(e,t,n,r){var i=new Date;i.setTime(i.getTime()-100);document.cookie=e+"="+t+"; expires="+i.toUTCString()+"; path="+n+"; domain="+r}e.fn.socialSharePrivacy=function(n){var u={services:{facebook:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAAAUCA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MO8YKBBXCqbzWYgNvQ4fAK+ffvW3t7O/Q+DUDNR1cO07HQ6LRbLrYoQvVYXv45u/umXSzCbzf9w37XSXisMAKClpUUvLxq07rgemU0xXt4ZeYHT6czlcszMyWzF9ZzWoCYnumhmh2tQrt6w/zVu4/AjuVyusbERqKp6enqKCgO9XooZisyCHP1tQKdWPXxQ/r8RyCox6CxN96T0X2loC/bksF5wOp2tra2/BwB4KldEk/fJrAAAAABJRU5ErkJggg==",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Facebook senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_fb_off:"nicht mit Facebook verbunden",txt_fb_on:"mit Facebook verbunden",perma_option:"on",display_name:"Facebook",referrer_track:"",language:"de_DE",action:"recommend"},twitter:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADcAAAAUCAIAAACmgTKJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABNtJREFUeNrMl0lInEsQx2dGTdy3GBfc0bhjiEbiirhcFBRF9BQIqAiCR4+eghePevCiKJqb4MGT0SDuC6ioCK6ICDGuuO/be7+x3ut8zKee7cM33dXV1f/+V1VXj/Hm5mZjY2NnZ8doNP7z2AwGA32DpskUHb4yxffh4cH42EQoClod6eutKX2Ra20qfWXNy8srKCjIuLKy8ubNm8DAQMOrbDAIj6bd3d1XC5EGNhCaDK++4X1rfu7u7ggyfRSqZjKZRMEiClVgWdjVyp/T0ce9PsRlit1N+vVKooJ6ZGSkq6uLDNPmkDbbsPMkROlo80nZ1GaV1qz2bPKFIDOXt7e3sivjsbGxuLg4Ozs7Zbq+vn5/f9/JySkzM/P+/l4MjY6ODgwMCDgRxsfH5+TkKGJoQoEFPYoXPW2/f/+2tbV9//69BfeoWZWVlZHt6tDT09Pt7e1//vxhgbu7e19fHxRaW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VypQF5Srf/9qRW5oMeIEV/SvphUeQnglVu597TL0QNlRmUsXIVUz1XFpa0v9h0F7a2nfQkzGnDVkLZe2T7Mn/GC8cnmuLfxT/CjAA3XNRysZKvs8AAAAASUVORK5CYII=",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Twitter senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_twitter_off:"nicht mit Twitter verbunden",txt_twitter_on:"mit Twitter verbunden",perma_option:"on",display_name:"Twitter",referrer_track:"",tweet_text:r,language:"en"},gplus:{status:"on",dummy_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAUCAYAAADskT9PAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAqlJREFUeNq8Vk1LKmEYPWOW0QdYG60Wha2Ctl0oJAgRN64S3IjWJrA/0eXeP9GmxQ1B3LTTduEmgjQCURA3kYKhYFn0ZfZ15zw0g4GTt+h64JnR952Z88x5zvu8o0BFOp1eVU/ravxAd5BSY3Nubu6PkkqlNoaGhn5NTExgYGCgK+x3d3col8u4ubn5aX55eVmfnJyEyWTC4+NjVxLo6+sDObPZ7Lr59fXVrigK1ETQLaicICe5qUBXyVuTIC8VwMPDA+XA9fU1isWi1EiD1WqFx+PB6Ojof0lCFIhEInC73VhYWIDZbEYikUA+n8fs7KyQ39/ff0ml3d1dlEolhMPhtvO6AoODg5iamtLffGlpSZTI5XJwOByw2+2fIm40Gjg4OBByjchIARMnuQKazaYMMJ6enjA9PS0X1Wo1fdwootHou/+xWAyVSgW9vb06UbsQbh4uLy/FB60TVIVgSTol8OZoPWZmZhAIBNDf398xAfHA8/MzCoWC1FzD7e0tLBaLlIAXtwO9Q+WIra0tWd/BYBDz8/PveorR/boHiKOjI/T09GB8fBzVahUnJydYXl4WBYxquLa2Jm+/vb2NlZUVIaJhtaQ6JaCvAt6cyWTENIeHh6KI3+/H8PDwh91RMy0fRMXaEXRSQDxAszidTni9XiEneG415kcRCoXajrcmYugB/iARg3LabDYpQTwex+LiIsbGxjouO3VTaTtOP/CZRvN6CU5PT3FxcSFy07mUnl1xb29PlOHG8RUYEb8zIQ9nZ2dCxO2YpiOSyaS05/39fYyMjEhS3w3xgCpD2eVySc2vrq5wfn4ualB+LictwX/xwmfire+UmcDm8fGxtM9Wc9TrdWkohPrB8q3k9BvLTm6FBDs7Oxtvn2T2Lu3GFX6S+Xy+338FGAAJF8SL8w1B7gAAAABJRU5ErkJggg==",txt_info:"2 Klicks f&uuml;r mehr Datenschutz: Erst wenn Sie hier klicken, wird der Button aktiv und Sie k&ouml;nnen Ihre Empfehlung an Google+ senden. Schon beim Aktivieren werden Daten an Dritte &uuml;bertragen &ndash; siehe <em>i</em>.",txt_gplus_off:"nicht mit Google+ verbunden",txt_gplus_on:"mit Google+ verbunden",perma_option:"on",display_name:"Google+",referrer_track:"",language:"de"}},info_link:"http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html",txt_help:"Wenn Sie diese Felder durch einen Klick aktivieren, werden Informationen an Facebook, Twitter oder Google in die USA &uuml;bertragen und unter Umst&auml;nden auch dort gespeichert. N&auml;heres erfahren Sie durch einen Klick auf das <em>i</em>.",settings_perma:"Dauerhaft aktivieren und Daten&uuml;ber&shy;tragung zustimmen:",cookie_path:"/",cookie_domain:document.location.host,cookie_expires:"365",css_path:"http://kamelopedia.net/skins/socialshareprivacy/socialshareprivacy.css",uri:i};var a=e.extend(true,u,n);var f=a.services.facebook.status==="on";var l=a.services.twitter.status==="on";var c=a.services.gplus.status==="on";if(!f&&!l&&!c){return}if(a.css_path.length>0){if(document.createStyleSheet){document.createStyleSheet(a.css_path)}else{e("head").append('<link rel="stylesheet" type="text/css" href="'+a.css_path+'" />')}}return this.each(function(){e(this).prepend('<ul class="social_share_privacy_area"></ul>');var n=e(".social_share_privacy_area",this);var r=a.uri;if(typeof r==="function"){r=r(n)}if(f){var i=encodeURIComponent(r+a.services.facebook.referrer_track);var u='<iframe src="http://www.facebook.com/plugins/like.php?locale='+a.services.facebook.language+"&href="+i+"&send=false&layout=button_count&width=120&show_faces=false&action="+a.services.facebook.action+'&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:145px; height:21px;" allowTransparency="true"></iframe>';var h='<img src="'+a.services.facebook.dummy_img+'" alt="Facebook &quot;Like&quot;-Dummy" class="fb_like_privacy_dummy" />';n.append('<li class="facebook help_info"><span class="info">'+a.services.facebook.txt_info+'</span><span class="switch off">'+a.services.facebook.txt_fb_off+'</span><div class="fb_like dummy_btn">'+h+"</div></li>");var p=e("li.facebook",n);e("li.facebook div.fb_like img.fb_like_privacy_dummy,li.facebook span.switch",n).live("click",function(){if(p.find("span.switch").hasClass("off")){p.addClass("info_off");p.find("span.switch").addClass("on").removeClass("off").html(a.services.facebook.txt_fb_on);p.find("img.fb_like_privacy_dummy").replaceWith(u)}else{p.removeClass("info_off");p.find("span.switch").addClass("off").removeClass("on").html(a.services.facebook.txt_fb_off);p.find(".fb_like").html(h)}})}if(l){var d=a.services.twitter.tweet_text;if(typeof d==="function"){d=d()}d=t(d,"120");var v=encodeURIComponent(r+a.services.twitter.referrer_track);var m=encodeURIComponent(r);var g='<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url='+v+"&counturl="+m+"&text="+d+"&count=horizontal&lang="+a.services.twitter.language+'" style="width:130px; height:25px;"></iframe>';var y='<img src="'+a.services.twitter.dummy_img+'" alt="&quot;Tweet this&quot;-Dummy" class="tweet_this_dummy" />';n.append('<li class="twitter help_info"><span class="info">'+a.services.twitter.txt_info+'</span><span class="switch off">'+a.services.twitter.txt_twitter_off+'</span><div class="tweet dummy_btn">'+y+"</div></li>");var b=e("li.twitter",n);e("li.twitter div.tweet img,li.twitter span.switch",n).live("click",function(){if(b.find("span.switch").hasClass("off")){b.addClass("info_off");b.find("span.switch").addClass("on").removeClass("off").html(a.services.twitter.txt_twitter_on);b.find("img.tweet_this_dummy").replaceWith(g)}else{b.removeClass("info_off");b.find("span.switch").addClass("off").removeClass("on").html(a.services.twitter.txt_twitter_off);b.find(".tweet").html(y)}})}if(c){var w=r+a.services.gplus.referrer_track;var E='<div class="g-plusone" data-size="medium" data-href="'+w+'"></div><script type="text/javascript">window.___gcfg = {lang: "'+a.services.gplus.language+'"}; (function() { var po = document.createElement("script"); po.type = "text/javascript"; po.async = true; po.src = "https://apis.google.com/js/plusone.js"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s); })(); </script>';var S='<img src="'+a.services.gplus.dummy_img+'" alt="&quot;Google+1&quot;-Dummy" class="gplus_one_dummy" />';n.append('<li class="gplus help_info"><span class="info">'+a.services.gplus.txt_info+'</span><span class="switch off">'+a.services.gplus.txt_gplus_off+'</span><div class="gplusone dummy_btn">'+S+"</div></li>");var x=e("li.gplus",n);e("li.gplus div.gplusone img,li.gplus span.switch",n).live("click",function(){if(x.find("span.switch").hasClass("off")){x.addClass("info_off");x.find("span.switch").addClass("on").removeClass("off").html(a.services.gplus.txt_gplus_on);x.find("img.gplus_one_dummy").replaceWith(E)}else{x.removeClass("info_off");x.find("span.switch").addClass("off").removeClass("on").html(a.services.gplus.txt_gplus_off);x.find(".gplusone").html(S)}})}n.append('<li class="settings_info"><div class="settings_info_menu off perma_option_off"><a href="'+a.info_link+'"><span class="help_info icon"><span class="info">'+a.txt_help+"</span></span></a></div></li>");e(".help_info:not(.info_off)",n).live("mouseenter",function(){var t=e(this);var n=window.setTimeout(function(){e(t).addClass("display")},500);e(this).data("timeout_id",n)});e(".help_info",n).live("mouseleave",function(){var t=e(this).data("timeout_id");window.clearTimeout(t);if(e(this).hasClass("display")){e(this).removeClass("display")}});var T=a.services.facebook.perma_option==="on";var N=a.services.twitter.perma_option==="on";var C=a.services.gplus.perma_option==="on";if((f&&T||l&&N||c&&C)&&(!e.browser.msie||e.browser.msie&&e.browser.version>7)){var k=document.cookie.split(";");var L="{";var A=0;for(;A<k.length;A+=1){var O=k[A].split("=");L+='"'+e.trim(O[0])+'":"'+e.trim(O[1])+'"';if(A<k.length-1){L+=","}}L+="}";L=JSON.parse(L);var M=e("li.settings_info",n);M.find(".settings_info_menu").removeClass("perma_option_off");M.find(".settings_info_menu").append('<span class="settings">Einstellungen</span><form><fieldset><legend>'+a.settings_perma+"</legend></fieldset></form>");var _=' checked="checked"';if(f&&T){var D=L.socialSharePrivacy_facebook==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_facebook" id="perma_status_facebook"'+D+' /><label for="perma_status_facebook">'+a.services.facebook.display_name+"</label>")}if(l&&N){var P=L.socialSharePrivacy_twitter==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_twitter" id="perma_status_twitter"'+P+' /><label for="perma_status_twitter">'+a.services.twitter.display_name+"</label>")}if(c&&C){var H=L.socialSharePrivacy_gplus==="perma_on"?_:"";M.find("form fieldset").append('<input type="checkbox" name="perma_status_gplus" id="perma_status_gplus"'+H+' /><label for="perma_status_gplus">'+a.services.gplus.display_name+"</label>")}M.find("span.settings").css("cursor","pointer");e(M.find("span.settings"),n).live("mouseenter",function(){var t=window.setTimeout(function(){M.find(".settings_info_menu").removeClass("off").addClass("on")},500);e(this).data("timeout_id",t)});e(M,n).live("mouseleave",function(){var t=e(this).data("timeout_id");window.clearTimeout(t);M.find(".settings_info_menu").removeClass("on").addClass("off")});e(M.find("fieldset input")).live("click",function(t){var r=t.target.id;var i=r.substr(r.lastIndexOf("_")+1,r.length);var u="socialSharePrivacy_"+i;if(e("#"+t.target.id+":checked").length){s(u,"perma_on",a.cookie_expires,a.cookie_path,a.cookie_domain);e("form fieldset label[for="+r+"]",n).addClass("checked")}else{o(u,"perma_on",a.cookie_path,a.cookie_domain);e("form fieldset label[for="+r+"]",n).removeClass("checked")}});if(f&&T&&L.socialSharePrivacy_facebook==="perma_on"){e("li.facebook span.switch",n).click()}if(l&&N&&L.socialSharePrivacy_twitter==="perma_on"){e("li.twitter span.switch",n).click()}if(c&&C&&L.socialSharePrivacy_gplus==="perma_on"){e("li.gplus span.switch",n).click()}}})}})(jQuery)