PageSourceSearch

https://auth.dynamo-dresden.de/js/gigya.services.socialize.plugins.shareCounts.min.js

js dynamo-dresden.de collected 2026-10-02 07:45:58 UTC 3,115 bytes, 1 lines download raw bytes

1!function(){void 0===window.gigya.services.socialize.plugins&&(window.gigya.services.socialize.plugins={});var e=window.gigya.services.socialize.plugins,t={get:function(e,t){var n=document.createElement("script");n.src=e,n.charset="UTF-8",n.setAttribute("async","async"),n.onreadystatechange=function(e){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,t&&t())},n.onload=n.onerror=function(){n.onload=null,t&&t()};var o=document.getElementsByTagName("head")[0];window.gigya.utils.functions.invokeOnPageLoad(function(){(o||document.body||document.documentElement).appendChild(n)},!0)},getCacheKey:function(e,t){return"getProviderShareCount_"+e.toLowerCase()+"_"+encodeURIComponent(t)},getProviderResponse:function(e,n,o,a){e=e.toLowerCase(),window.gigya.utils.sessionCache.get(t.getCacheKey(e,n),a,function(a){null!=a?o(a,e,!1,!0,n):t.getProviderShareCount(e,n,o)})},getProviderShareCount:function(e,t,n){var o,a="gig_pc_"+(e=e.toLowerCase())+"_"+(new Date).getTime()+"_"+Math.random().toString().split(".")[1],r=[],i=encodeURIComponent(t);switch(e){case"facebook":const e=["og_object","engagement","count"];o=`https://graph.facebook.com/?ids=${i}&fields=${e.slice().reverse().reduce((e,t)=>e?`${t}{${e}}`:t,"")}&callback=${a}`,r=[t].concat(e);break;case"twitter":o="http://cdn.api.twitter.com/1/urls/count.json?url="+i+"&callback="+a,"https"==window.gigya.localInfo.protocol&&(o=o.replace("http:","https:")),r=["count"];break;case"stumbleupon":o="http://www.stumbleupon.com/services/1.1/badge.getinfo?url="+i+"&format=jsonp&callback="+a,r=["result","views"];break;case"pinterest":o="http://api.pinterest.com/v1/urls/count.json?url="+i+"&callback="+a,r=["count"];break;case"linkedin":o="https://www.linkedin.com/countserv/count/share?format=jsonp&url="+i+"&callback="+a,r=["count"]}"https"==window.gigya.localInfo.protocol&&0==o.indexOf("http:")&&(o=null),o?(window[a]=function(o){var i;try{i=r.reduce(function(e,t){return e?e[t]:0},o)}catch(e){}0===i||i&&!isNaN(i)||(i=null),n(i,e,null,null,t),window[a]=null},this.get(o,function(){window[a]&&(n(null,e,!0,null,t),window[a]=null)})):n(0,e,null,null,t)}};e.shareCounts={getProviderShareCounts:function(e){var n=[{name:"facebook"},{name:"stumbleUpon"},{name:"pinterest"},{name:"linkedin"}],o=e.enabledProviders?e.enabledProviders:"*",a=e.disabledProviders?e.disabledProviders:"",r=window.gigya.services.socialize.getProvidersByName(o,n);r=window.gigya.services.socialize.hideProvidersByName(r,a,n);for(var i=0,c={errorCode:0,errorMessage:"",operation:"getProviderShareCounts",context:e.context,shareCounts:{}},s=e.cacheTimeout,l=0;l<r.length;l++){var u=e[r[l].name.toLowerCase()+"URL"];if(u||(u=e.URL),!u)for(var d=document.getElementsByTagName("meta"),g=0;g<d.length;g++){var w=d[g].getAttribute("content");if("og:url"==d[g].getAttribute("property")&&w&&/^https?:\/\//i.test(w)){u=w;break}}u||(u=document.location.href);var p=function(n,o,a,s,l){null!==n&&(c.shareCounts[o]=n=parseInt(n),s||window.gigya.utils.sessionCache.set(t.getCacheKey(o,l),n)),++i===r.length&&e.callback&&e.callback(c)};t.getProviderResponse(r[l].name,u,p,s)}}}}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.