[ad_1] Ansbacher Frühlingsfest: Mann verprügelt Besucher mit Bierkrug, Schwerverletzte - FOCUS online Einige Bilder werden noch geladen. Bitte schließen Sie die Druckvorschau und versuchen Sie es in Kürze noch einmal. if (document.location.href.indexOf("#dbg_tcfv2") > -1) {__tcfapi('addEventListener',2,function (tcData,success) {console.log('[TCFv2] - tcData.eventStatus:'+tcData.eventStatus);console.log('[TCFv2] - getCustomVendorConsents:');__tcfapi('getCustomVendorConsents',2,function(vendorConsents,success){console.log(vendorConsents);});console.log('[TCFv2] - getTCData:');__tcfapi('getTCData',2,function(data,success){console.log(data);});});};var FOL_SOCIAL_EMBEDS_TCFv2 = {vendors:[ {name:'twitter',id:'5e71760b69966540e4554f01',grant:false,trackedView:false },{name:'instagram',id:'5e7e5243b8e05c1c467daa57',grant:false,trackedView:false },{name:'facebook',id:'5f1b2fbdb8e05c3057240f56',grant:false,trackedView:false },{name:'youtube',id:'5e7ac3fae30e7d1bc1ebf5e8',grant:false,trackedView:false }],init:function (vendorName) {var vendorIdx = FOL_SOCIAL_EMBEDS_TCFv2.getVendorIdxByName(vendorName);if (vendorIdx != -1) {FOL_SOCIAL_EMBEDS_TCFv2.checkCMPVendorGrant(vendorIdx);if (FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].grant) {FOL_SOCIAL_EMBEDS_TCFv2.activateSocialEmbed(FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].name);}}},getVendorIdxByName:function (vendorName) {var vendorIdx = -1,j;for (var j = 0;j < FOL_SOCIAL_EMBEDS_TCFv2.vendors.length;j++) {if (vendorName == FOL_SOCIAL_EMBEDS_TCFv2.vendors[j].name) {vendorIdx = j;}}return vendorIdx;},checkCMPVendorGrant:function (vendorIdx) {try {__tcfapi('getCustomVendorConsents',2,function(vendorConsents,success){if (success && typeof(vendorConsents.consentedVendors) != "undefined") {for (var i = 0;i < vendorConsents.consentedVendors.length;i++) {if (vendorConsents.consentedVendors[i]._id == FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].id) {if (document.location.href.indexOf("#dbg_tcfv2") > -1) console.log('[TCFv2] - granted consent for '+FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].name);FOL_SOCIAL_EMBEDS_TCFv2.setLocalVendorGrant(vendorIdx);}}}});}catch (e) {};},setLocalVendorGrant:function (vendorIdx) {FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].grant = true;},loadVendor:function (vendorName) {switch (vendorName) {case 'facebook':if (!document.getElementById("fb-root")) {var my_fb_child = document.createElement("div");my_fb_child.id="fb-root";document.body.appendChild(my_fb_child);}if (typeof window.fbAsyncInit == 'undefined') {window.fbAsyncInit = function() {FB.init({appId:'295358760521468',xfbml:true,version:'v9.0' });};(function() {var e = document.createElement('script');e.async = true;e.src = document.location.protocol + '//connect.facebook.net/de_DE/sdk.js';my_fb_child.appendChild(e);}());}break;case 'twitter':window.twttr = (function(d,s,id) {var js,fjs = d.getElementsByTagName(s)[0],t = window.twttr || {};if (d.getElementById(id)) return;js = d.createElement(s);js.id = id;js.src = "https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document,"script","twitter-wjs"));break;case 'instagram':var js,fjs = document.getElementsByTagName( "script" )[0];if (!document.getElementById("instagram-js" )) {js = document.createElement( "script" );js.id = "instagram-js";js.src = "//www.instagram.com/embed.js";fjs.parentNode.insertBefore( js,fjs );}break;case 'youtube':var tag = document.createElement('script');tag.id = "youtube-js";if (!document.getElementById("youtube-js" )) {tag.src = "https://www.youtube.com/iframe_api";var firstScriptTag = document.getElementsByTagName('script')[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);}break;default:}},showEmbed:function (vendorName) {var listCtConsent = document.querySelectorAll("[data-vendor-consent=""+vendorName+""]");var listCtEmbed = document.querySelectorAll("[data-vendor-embed='"+vendorName+"']");var i,j;for (i = 0;i < listCtConsent.length;i++) {listCtConsent[i].style.display = "none";}for (j = 0;j < listCtEmbed.length;j++) {listCtEmbed[j].style.display = "block";}},activateSocialEmbed:function (vendorName) {FOL_SOCIAL_EMBEDS_TCFv2.showEmbed(vendorName);FOL_SOCIAL_EMBEDS_TCFv2.loadVendor(vendorName);},checkLocalVendorGrant:function (vendorName) {for (var j = 0;j < FOL_SOCIAL_EMBEDS_TCFv2.vendors.length;j++) {if (vendorName == FOL_SOCIAL_EMBEDS_TCFv2.vendors[j].name) {return FOL_SOCIAL_EMBEDS_TCFv2.vendors[j].grant;}}},acceptSocialVendor:function (vendorName) {FOL_SOCIAL_EMBEDS_TCFv2.activateSocialEmbed(vendorName);FOL_SOCIAL_EMBEDS_TCFv2.activateVendorGrant(vendorName);FOL_SOCIAL_EMBEDS_TCFv2.trackClick(vendorName);},activateVendorGrant:function (vendorName) {for (var j = 0;j < FOL_SOCIAL_EMBEDS_TCFv2.vendors.length;j++) {if (vendorName == FOL_SOCIAL_EMBEDS_TCFv2.vendors[j].name) {FOL_SOCIAL_EMBEDS_TCFv2.pushVendorGrant(j);FOL_SOCIAL_EMBEDS_TCFv2.setLocalVendorGrant(j);}}},trackClick:function (vendorName) {var vendorIdx = FOL_SOCIAL_EMBEDS_TCFv2.getVendorIdxByName(vendorName);if (vendorIdx != -1 && FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].trackedView) {try {FOL_GTM_PushEvent( 'consent_social_media_click',vendorName + '_click',typeof utag_data != 'undefined' && typeof(utag_data['pageLevel1']) != "undefined" ? utag_data['pageLevel1'] :'','','','','social_consent_click' );}catch (e) {};}},trackView:function (vendorName) {var vendorIdx = FOL_SOCIAL_EMBEDS_TCFv2.getVendorIdxByName(vendorName);if (vendorIdx != -1 && !FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].trackedView) {FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].trackedView = true;try {FOL_GTM_PushEvent( 'consent_social_media_view',vendorName + '_view',typeof utag_data != 'undefined' && typeof(utag_data['pageLevel1']) != "undefined" ? utag_data['pageLevel1'] :'','','','','social_consent_view' );}catch (e) {};}},pushVendorGrant:function (vendorIdx) {try {__tcfapi('postCustomConsent',2,function (data) {if (document.location.href.indexOf("#dbg_tcfv2") > -1) {console.log('[TCFv2] - postCustomConsent data=",data)};},[FOL_SOCIAL_EMBEDS_TCFv2.vendors[vendorIdx].id],[],[] ) }catch (e) {};}}; [ad_2] Source link