(function(){ if ('undefined' !== typeof gs && 'undefined' !== typeof gs.show_ads && true === gs.show_ads) { var f = (adSSetup.view === 'd') ? 's' : 'm'; var p = document.createElement('img'); p.style.display = 'none'; p.onerror = function() { var x = document.createElement('img').src = 'https://bt.mediaimpact.de/' + f + '.png?b=1'; }; p.onreadystatechange = p.onload = function() { if (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete'){ var x = document.createElement('img').src = 'https://bt.mediaimpact.de/' + f + '.png?b=0'; p.onload = p.onreadystatechange = null; } }; p.src = 'https://acdn.adnxs.com/ast/static/bar.jpg'; document.body.appendChild(p); } })(); if ('undefined' !== typeof gs && 'undefined' !== typeof gs.show_ads && true === gs.show_ads) { function adBlockNotDetected(){ console.log('ads visible FAB'); if ('undefined' != typeof(ga)) { ga('send','event','ad-blocker','ads visible - FAB','',{nonInteraction:true}); } } function adBlockDetected(){ console.log('ads invisible FAB'); if ('undefined' != typeof(ga)) { ga('send','event','ad-blocker','ads invisible - FAB','',{nonInteraction:true}); } } if (typeof fuckAdBlock !== 'undefined' || typeof FuckAdBlock !== 'undefined' || 'undefined' !== typeof window.blockAdBlock) { adBlockDetected(); } else { var importFAB = document.createElement('script'); importFAB.onload = function() { fuckAdBlock.onDetected(adBlockDetected) fuckAdBlock.onNotDetected(adBlockNotDetected); }; importFAB.onerror = function() { adBlockDetected(); }; importFAB.integrity = 'sha256-xjwKUY/NgkPjZZBOtOxRYtK20GaqTwUCf7WYCJ1z69w='; importFAB.crossOrigin = 'anonymous'; importFAB.src = 'https://cdnjs.cloudflare.com/ajax/libs/fuckadblock/3.2.1/fuckadblock.min.js'; document.head.appendChild(importFAB); } }
Gastautor
Dorian Selz ist Gründer und Geschäftsführer von Memonic. Vor seiner Zeit bei Memonic gründete er bereits Local.ch und war als Partner bei der Namics AG aktiv.

Geschrieben von Dorian Selz