// Remove the overlay if JavaScript is enabled window.document .getElementById('v377') .parentNode.removeChild(window.document.getElementById('v377')); // Adblocker detection logic (adapted from antiblock.org) (function(l, m) { function n(a) { a && v377.nextFunction(); } var h = l.document, p = ['i', 's', 'u']; n.prototype = { // Generate a random integer from 0 to a-1 rand: function(a) { return Math.floor(Math.random() * a); }, // Get element by ID or tag name getElementBy: function(a, b) { return a ? h.getElementById(a) : h.getElementsByTagName(b); }, // Get computed style for an element getStyle: function(a) { var b = h.defaultView; return b && b.getComputedStyle ? b.getComputedStyle(a, null) : a.currentStyle; }, // Defer execution by 2 seconds deferExecution: function(a) { setTimeout(a, 2000); }, // Insert a new element into the DOM, optionally with a specific ID insert: function(a, b) { var e = h.createElement('b'), d = h.body, c = d.childNodes.length, g = d.style, f = 0, k = 0; if ('v377' == b) { e.setAttribute('id', b); g.margin = g.padding = 0; g.height = '100%'; // Find highest z-index among body children for (c = this.rand(c); f < c; f++) 1 == d.childNodes[f].nodeType && (k = Math.max( k, parseFloat(this.getStyle(d.childNodes[f]).zIndex) || 0) ); k && (e.style.zIndex = k + 1); c++; } e.innerHTML = a; d.insertBefore(e, d.childNodes[c - 1]); }, // Check for presence of common ad elements i: function() { for (var a = 'ad-slot-1,adContext,adsense-tag,adwidget-6,connatix,exoAd,topAdvBox,ad,ads,adsense'.split(','), b = a.length, e = '', d = this, c = 0, g = 'abisuq'.charAt(d.rand(5)); c < b; c++) d.getElementBy(a[c]) || (e += '<' + g + ' id="' + a[c] + '">'); d.insert(e); d.deferExecution(function() { for (c = 0; c < b; c++) if (null == d.getElementBy(a[c]).offsetParent || 'none' == d.getStyle(d.getElementBy(a[c])).display) { isAdBlockActive = true; return; } d.nextFunction(); }); }, // Check for ad-related scripts s: function() { var a = { 'pagead2.googlesyndic': 'google_ad_client', 'js.adscale.de/getads': 'adscale_slot_id', 'get.mirando.de/miran': 'adPlaceId', }, b = this, e = b.getElementBy(0, 'script'), d = e.length - 1, c, g, f, k; h.write = null; for (h.writeln = null; 0 <= d; --d) if (c = e[d].src.substr(7, 20), a[c] !== m) { f = h.createElement('script'); f.type = 'text/javascript'; f.src = e[d].src; g = a[c]; l[g] = m; f.onload = f.onreadystatechange = function() { k = this; l[g] !== m || k.readyState && 'loaded' !== k.readyState && 'complete' !== k.readyState || (l[g] = f.onload = f.onreadystatechange = null, e[0].parentNode.removeChild(f)); }; e[0].parentNode.insertBefore(f, e[0]); b.deferExecution( function() { if (l[g] === m) { isAdBlockActive = true; return; } b.nextFunction(); }); return; } b.nextFunction(); }, // Check for ad images being blocked u: function() { var a = '/ad_pos=,-120_600_,/120_600_,/300-600_,/660x120_,/728_90_,_150x700_,_468x100_,_480_60.,_728_90.'.split(','), b = this, e = b.getElementBy(0, 'img'), d, c; e[0] !== m && e[0].src !== m && ( d = new Image, d.onload = function() { c = this; c.onload = null; c.onerror = function() { p = null; isAdBlockActive = true; }; c.src = e[0].src + '#' + a.join(''); }, d.src = e[0].src); b.deferExecution(function() { b.nextFunction(); }); }, // Run the next detection function in the sequence nextFunction: function() { var a = p[0]; a !== m && (p.shift(), this[a]()); }, }; // Initialize adblock detection l.v377 = v377 = new n; h.addEventListener ? l.addEventListener('load', n, !1) : l.attachEvent('onload', n); })(window);