163 lines
7.1 KiB
HTML
163 lines
7.1 KiB
HTML
function tmzrScriptErrorHandler(url) {
|
|
var fallbackScript = document.createElement('script');
|
|
fallbackScript.src = url;
|
|
|
|
document.head.appendChild(fallbackScript);
|
|
}
|
|
|
|
var tmzrCountExec = function(siteId, formatId, status){
|
|
if(Math.floor(Math.random() * 10)!==0){
|
|
return;
|
|
}
|
|
|
|
let u = "https://metrics.biddertmz.com/metric?s="+siteId+"&f="+formatId+"&fi="+status;
|
|
fetch(u);
|
|
}
|
|
|
|
tmzrCountExec(75922, 1, 99);
|
|
|
|
|
|
|
|
|
|
if (typeof(Array.prototype.multisplice) !== 'undefined') {
|
|
delete Array.prototype.multisplice;
|
|
}
|
|
if (typeof(Array.prototype.addWithoutDupliacte) !== 'undefined') {
|
|
delete Array.prototype.addWithoutDupliacte;
|
|
}
|
|
if (typeof(Array.prototype.removeElement) !== 'undefined') {
|
|
delete Array.prototype.removeElement;
|
|
}
|
|
|
|
if (typeof window.whatToLoad != 'function') {
|
|
window.whatToLoad = function(adId, args) {
|
|
switch (adId) {
|
|
case 38:
|
|
var lib_corner_video = document.createElement('script');
|
|
lib_corner_video.type = 'text/javascript';
|
|
lib_corner_video.async = true;
|
|
lib_corner_video.src = 'https://cdn.themoneytizer.fr/ads/lib_corner_video.js';
|
|
document.head.append(lib_corner_video);
|
|
lib_corner_video.addEventListener('load', () => {
|
|
setupCornerVideo(args);
|
|
})
|
|
break;
|
|
case 6:
|
|
if (!document.getElementById('tmzr_lib_footer_slidein')) {
|
|
var lib_footer_slidein = document.createElement('script');
|
|
lib_footer_slidein.id = 'tmzr_lib_footer_slidein';
|
|
lib_footer_slidein.type = 'text/javascript';
|
|
lib_footer_slidein.async = true;
|
|
lib_footer_slidein.src = 'https://cdn.themoneytizer.fr/ads/lib_footer_slidein.js';
|
|
document.head.append(lib_footer_slidein);
|
|
lib_footer_slidein.addEventListener('load', () => {
|
|
setupFooterSlidein(args);
|
|
})
|
|
} else {
|
|
setupFooterSlidein(args);
|
|
}
|
|
break;
|
|
case 44:
|
|
if (!document.getElementById('tmzr_lib_footer_slidein')) {
|
|
var lib_footer_slidein = document.createElement('script');
|
|
lib_footer_slidein.id = 'tmzr_lib_footer_slidein';
|
|
lib_footer_slidein.type = 'text/javascript';
|
|
lib_footer_slidein.async = true;
|
|
lib_footer_slidein.src = 'https://cdn.themoneytizer.fr/ads/lib_footer_slidein.js';
|
|
document.head.append(lib_footer_slidein);
|
|
lib_footer_slidein.addEventListener('load', () => {
|
|
setupFooterSlidein(args);
|
|
})
|
|
} else {
|
|
setupFooterSlidein(args);
|
|
}
|
|
break;
|
|
case 15:
|
|
if (!document.getElementById('tmzr_lib_interstitial')) {
|
|
var lib_interstitial = document.createElement('script');
|
|
lib_interstitial.id = 'tmzr_lib_interstitial';
|
|
lib_interstitial.type = 'text/javascript';
|
|
lib_interstitial.async = true;
|
|
lib_interstitial.src = 'https://cdn.themoneytizer.fr/ads/lib_interstitial.js';
|
|
document.head.append(lib_interstitial);
|
|
lib_interstitial.addEventListener('load', () => {
|
|
setupInterstitialFormat(args);
|
|
})
|
|
} else {
|
|
setupInterstitialFormat(args);
|
|
}
|
|
break;
|
|
case 'native':
|
|
if (!document.getElementById('tmzr_lib_native')) {
|
|
var lib_native = document.createElement('script');
|
|
lib_native.id = 'tmzr_lib_native';
|
|
lib_native.type = 'text/javascript';
|
|
lib_native.async = true;
|
|
lib_native.src = 'https://cdn.themoneytizer.fr/ads/lib_native.js';
|
|
document.head.append(lib_native);
|
|
lib_native.addEventListener('load', () => {
|
|
setupNativeFormat(args);
|
|
})
|
|
} else {
|
|
setupNativeFormat(args);
|
|
}
|
|
break;
|
|
case 'adagio':
|
|
if (!document.getElementById('tmzr_lib_adagio')) {
|
|
var lib_adagio = document.createElement('script');
|
|
lib_adagio.id = 'tmzr_lib_adagio';
|
|
lib_adagio.type = 'text/javascript';
|
|
lib_adagio.async = true;
|
|
lib_adagio.src = 'https://cdn.themoneytizer.fr/ads/lib_adagio.js';
|
|
document.head.append(lib_adagio);
|
|
}
|
|
break;
|
|
case 'adagio_helper':
|
|
if (!document.getElementById('tmzr_lib_adagio_helper')) {
|
|
var lib_adagio_helper = document.createElement('script');
|
|
lib_adagio_helper.id = 'tmzr_lib_adagio_helper';
|
|
lib_adagio_helper.type = 'text/javascript';
|
|
lib_adagio_helper.async = true;
|
|
lib_adagio_helper.src = 'https://cdn.themoneytizer.fr/ads/lib_adagio_helper.js';
|
|
document.head.append(lib_adagio_helper);
|
|
}
|
|
break;
|
|
case 'adagio_helper_pbs':
|
|
if (!document.getElementById('tmzr_adagio_helper_pbs')) {
|
|
var lib_adagio_helper_pbs = document.createElement('script');
|
|
lib_adagio_helper_pbs.id = 'tmzr_adagio_helper_pbs';
|
|
lib_adagio_helper_pbs.type = 'text/javascript';
|
|
lib_adagio_helper_pbs.async = true;
|
|
lib_adagio_helper_pbs.src = 'https://cdn.themoneytizer.fr/ads/lib_adagio_helper_pbs.js';
|
|
document.head.append(lib_adagio_helper_pbs);
|
|
}
|
|
break;
|
|
case 11:
|
|
if (!document.getElementById('tmzr_lib_intext')) {
|
|
var tmzr_lib_intext = document.createElement('script');
|
|
tmzr_lib_intext.id = 'tmzr_lib_intext';
|
|
tmzr_lib_intext.type = 'text/javascript';
|
|
tmzr_lib_intext.async = true;
|
|
tmzr_lib_intext.src = 'https://cdn.themoneytizer.fr/ads/lib_intext.js';
|
|
document.head.append(tmzr_lib_intext);
|
|
}
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (window.nugg_ab != 1) {
|
|
var random_cent_ab_test = Math.floor(Math.random() * 100);
|
|
window.nugg_ab = 1;
|
|
}
|
|
|
|
window.site_id = 75922;
|
|
var s = document.createElement('script');
|
|
s.type = 'text/javascript';
|
|
s.async = true;
|
|
s.src = 'https://ads.themoneytizer.com/s/formatrequest_adg_pbs.js?siteId=75922&formatId=1';
|
|
var x = document.getElementsByTagName('script')[0];
|
|
x.parentNode.insertBefore(s, x);
|
|
|