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; } } } whatToLoad('adagio_helper_pbs'); if (window.nugg_ab != 1) { var random_cent_ab_test = Math.floor(Math.random() * 100); window.nugg_ab = 1; } window.site_id = 75922; whatToLoad('adagio'); if (window.nugg != 1) { var tmzr_siteid = 75922; var random_cent = Math.floor(Math.random() * 100); var enable_sco = 0; window.pubstack_ab = "population:0"; if(random_cent <= 10){enable_sco=1;window.pubstack_ab = "population:1";} function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return true; } function waitForAdagioS2S() { if (typeof enableAdagioS2S == 'boolean') { var meta = document.createElement('meta'); meta.name = "pbstck_context:pbstck_ab_test"; if (enableAdagioS2S) { meta.content = "improve_server"; } else { meta.content = "improve_client"; } document.head.appendChild(meta); } else { setTimeout(waitForAdagioS2S, 100); } } waitForAdagioS2S(); var criteoCallback = function (data) { if (data && data.status === "OK") { sas.cmd.push(function () { sas.setPartnerId("79", data.userid); }); } sas.cmd.push(function(){ sas.render(); }); } window.sublime = window.sublime || {}; window.sublime.supplyChain = { complete: 1, ver: '1.0', nodes: [{ asi: 'themoneytizer.com', sid: '59566', hp: 1 }] }; window.sh = window.sh || {}; window.sh= "1.0,1!themoneytizer.com,59566,1,developpez.com,developpez.com"; var intervalCheckNb3 = 0; var checkInterval3 = setInterval(function() { if (window.top.__tcfapi || intervalCheckNb3 >= 20) { clearInterval(checkInterval3); window.top.__tcfapi('addEventListener', 2, function(tcData, success) { if(success && (tcData.gdprApplies === false || isEmpty(tcData.vendor.consents) === false)) { // GEN var generic = document.createElement("script"); generic.setAttribute("type", "text/javascript"); generic.setAttribute("src", "https://ced.sascdn.com/tag/1097/smart.js"); document.head.appendChild(generic); var criteo_gum = document.createElement("script"); criteo_gum.setAttribute("type", "text/javascript"); criteo_gum.setAttribute("src", "https://gum.criteo.com/sync?c=147&r=2&j=criteoCallback"); criteo_gum.setAttribute("async", "true"); document.head.appendChild(criteo_gum); var smart_csync = document.createElement("script"); smart_csync.setAttribute("type", "text/html"); smart_csync.setAttribute("src", "https://csync-global.smartadserver.com/1097/CookieSync.html"); smart_csync.setAttribute("async", "true"); document.head.appendChild(smart_csync); var pwidget_config = { publisherKey:"1sbtjc2sqopftf032cn", shareQuote:false }; var leadplaceScript= document.createElement("script"); leadplaceScript.addEventListener("load", function(){ var _param="id=MTIZ"; libJsLeadPlace.SendtoLPbyIframe(_param); } , false); leadplaceScript.setAttribute("src", "https://tag.leadplace.fr/libJsLP.js"); document.body.appendChild(leadplaceScript); var iframe = document.createElement("iframe"); iframe.src = "https://onetag-sys.com/usync/?pubId=7b2ec27f127242e&cb=" + new Date().getTime(); iframe.style.display = "none"; var node = document.getElementsByTagName('script')[0]; node.parentNode.appendChild(iframe); (function(win, doc) { var id5 = { /*********** SETUP YOUR CONFIG BELOW ***********/ partnerId : 12, // provided by ID5 cascades : 9, // max number of cascades to support hasTcfCmp : true, // set to true to call an IAB TCF-compliant CMP debug : false, // set to true to output debug message (set to false for production) /*********** IMPLEMENTATION - DO NOT EDIT ***********/ makeUrl: function() { var isSync = (typeof this.callType != 'undefined' && this.callType.toLowerCase() === 'sync' && this.myUid && this.myUid.length > 0); return 'https://id5-sync.com/'+(isSync?'s':'i')+'/'+this.partnerId+'/'+this.cascades+'.gif?'+(isSync?'puid='+encodeURIComponent(this.myUid)+'&':'')+'gdpr='+encodeURIComponent(this.gdprApplies||'')+'&gdpr_consent='+encodeURIComponent(this.consentData||''); }, prepareId5Pixel: function() { this.log('Preparing pixel with doc.readyState:', doc.readyState); if(doc.readyState !== 'loading') { this.fireId5Pixel(); } else { doc.addEventListener('DOMContentLoaded', function () { id5.fireId5Pixel(); }); } }, fireId5Pixel: function() { var url = this.makeUrl(); this.log('Firing ID5 pixel at url:', url); (new Image()).src = url; }, processTcfResults: function(result) { this.log('Received TCF result', result); this.gdprApplies = result.gdprApplies; this.consentData = result.tcString; }, init: function() { if(this.hasTcfCmp){ var checkInterval = setInterval(function() { if (win.__tcfapi) { clearInterval(checkInterval); try { win.__tcfapi('addEventListener', 2, function(data, success) { id5.processTcfResults(data); id5.prepareId5Pixel(); }); } catch (e) { id5.log('Exception received while calling TCF CMP', e); id5.prepareId5Pixel(); } } }, 100); // Check every 100ms } else { id5.prepareId5Pixel(); } }, log: function(msg, data) { this.debug && console.log('[ID5] '+msg, data); } }; id5.init(); })(window, document); // FIN GEN }}) } else { intervalCheckNb3++; } }, 1000) var intervalCheckNb4 = 0; var checkInterval4 = setInterval(function() { if (window.top.__tcfapi || intervalCheckNb4 >= 20) { clearInterval(checkInterval4); window.top.__tcfapi('addEventListener', 2, function(tcData, success) { if(success && (tcData.gdprApplies === false || isEmpty(tcData.vendor.consents) === false)) { var tagsObject = {"26300":{"site_cmp":2,"site_domain_pros":"developpez.com","site_ssp_pass":2,"site_cnil":1,"user_id":59566,"user_plateform":"ww","ad_id":2,"ad_adform":1864075,"ad_adform_doublon":1870794,"ad_triplelift_id":"MoneyTizer_PaveHaut_HDX","ad_triplelift_id_doublon":"MoneyTizer_PaveHaut_HDX_2","ad_triplelift_id_native":"MoneyTizer_PaveHaut_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_PaveHaut_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Medium_rectangle_ATF","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Medium_rectangle_ATF","ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":"aa6jPKCn03DW8oVaGuoKahUA","ad_sharethrough_mobile":null,"ad_sharethrough_desktop_doublon":"jp3rORZQBAc2RXi0fhwXiNOY","ad_sharethrough_mobile_doublon":null,"ad_adyoulike":"d0ee9bca93ec443763d034457d4b33f4","ad_adyoulike_doublon":"6cabd0d20f9fb3cceab8056fe3f102a1","ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"ad_33across":"bpjP6uza8r7ikjrkHcnnVW","ad_33across_doublon":"b-Z57yzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"form_id":71503,"form_ad_id":2,"form_richaudience":"kXNHpivx1t","form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_triplelift":"developpez_com_Medium_rectangle_ATF","form_triplelift_mobile":null,"part_yieldone":0,"part_beop":0,"form_yieldone":null,"form_yieldone_mobile":null,"part_richaudience":1,"part_bidgency":0,"part_between":1,"form_custom_display":0,"form_id_rubicon":null,"form_between":4085523,"form_custom_placement":null,"tag_sovrn":1023050,"tag_sovrn_mobile":null,"part_sovrn":1,"tag_adyoulike":null,"tag_adyoulike_mobile":null,"tag_adyoulike_RON":null,"tag_adyoulike_mobile_RON":null,"part_openx":1,"tag_improve":"22450849","tag_improve2":"23276533","tag_improve3":22710009,"tag_justpremium":null,"part_kueez":0,"ad_kueez":"66547c979930c01a06022d3b","ad_kueez_mobile":null,"ad_kueez_doublon":"669d48c4a3cedcbb37dcc1b0","ad_kueez_mobile_doublon":null,"ad_smart_id":26300,"site_novideo":0,"site_id":75922,"site_id_smart":"397282\/1356421","part_teads":0,"part_ogury":0,"part_adyoulike":1,"part_criteo":1,"form_criteo":"1630103","form_criteo_mobile":null,"part_adform":1,"part_eplanning":1,"part_smilewanted":1,"site_forced_cmp":0,"site_otm_ATF":null,"site_otm_BTF":null,"site_pubstack":"6c542246-67d7-49f2-9694-c1795ee9df98","site_responsive":1,"site_blocklist":0,"part_seedtag":1,"site_seedtag":"6181-5590-01","form_seedtag":34432122,"site_id_rubicon_ATF":1078246,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078332,"site_yandex":null,"ad_yandex_imp_id":12,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"part_rubicon":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"site_ogury_IT":null,"site_doublon":null,"site_rtbhouse_asia":0,"site_ads_txt":27,"site_id_rubicon_FS":1124648,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"site_adform":0,"site_openx_ATF":557080769,"site_openx_BTF":557080772,"site_openx_FS":557080766,"site_openx_corner":null,"form_pubmatic":5938846,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_bluerooster_interstitial":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_amazon":1,"site_adtelligent_ATF":909150,"site_adtelligent_BTF":909151,"site_adtelligent_FS":909152,"site_adtelligent_IT":909154,"site_gingerad_ATF":null,"site_intext_lazyloaded":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":"gad_tmzr_developpez-com_hb_interstitiel","part_gingerad":1,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_adtelligent":1,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_adform_server":0,"site_teads_US":null,"site_onetag":1,"part_onetag":1,"part_rise":1,"site_adagio":"75922-developpez-com","site_triplelift":1,"site_triplelift_premium":null,"site_theme":20,"site_true_url":"https:\/\/www.developpez.com","site_capping":50,"theme_name_english":"technologyandcomputing","subtheme_name_english":"Other","part_triplelift":1,"part_sharethrough":1,"part_adaptmx":1,"site_confiant":1,"part_connectad":0,"part_improve":1,"part_impactify":0,"part_33across":0,"part_vidoomy":-1,"part_pubmatic":1,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_freewheel":null,"form_freewheel_mobile":null,"part_freewheel":0,"tft_placement_id":164833,"tft_page_id":150631,"tft_placement_id_us":180882,"tft_page_id_us":166112,"form_gumgum":null,"form_gumgum_slot":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":0,"part_pbs_themoneytizer":0,"site_capping_interstitial":1,"part_admixer":0,"ad_admixer":"d6c700c2-3e2f-4cba-9652-9863b9da21e5","ad_admixer_mobile":null,"ad_admixer_doublon":"bdfd22ed-b3b9-4fba-959e-b71537a292e9","ad_admixer_doublon_mobile":null,"ms_magnite_site_id":null,"ms_zone_ATF":null,"ms_zone_BTF":null,"ms_zone_FS":null,"ms_zone_IT":null,"ms_zone_CORNER":null,"ms_zone_INTERSTITIAL":null,"part_sparteo":0,"ad_nexxen":"279149","ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"revenue","ad_videoheroes":"fbf2608bbcedf69345f54ae133ef1a50","ad_videoheroes_mobile":null,"part_videoheroes":0,"ad_lucead":"3223693641","ad_lucead_mobile":"3223693641"},"26322":{"site_cmp":2,"site_domain_pros":"developpez.com","site_ssp_pass":2,"site_cnil":1,"user_id":59566,"user_plateform":"ww","ad_id":1,"ad_adform":1864063,"ad_adform_doublon":1870771,"ad_triplelift_id":"MoneyTizer_MegaBannerHaute_HDX","ad_triplelift_id_doublon":"MoneyTizer_MegaBannerHaute_HDX_2","ad_triplelift_id_native":"MoneyTizer_MegaBannerHaute_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_MegaBannerHaute_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Megabanner_ATF_desktop","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Megabanner_ATF_desktop","ad_triplelift_id_premium_mobile":"Publisher_Top_Performance_2_Megabanner_mobile_ATF","ad_triplelift_id_premium_doublon_mobile":"Publisher_Top_Performance_2_Megabanner_mobile_BTF","ad_sharethrough_desktop":"uevsIvm575ehAVvY5YMJQNYl","ad_sharethrough_mobile":"TWpVZHErn9OwATL0UnP4Elck","ad_sharethrough_desktop_doublon":"Sm9PhrfMQ9n5GzJdG9tXN42c","ad_sharethrough_mobile_doublon":"BC22SESAy3okMvCtB7UKh8Sc","ad_adyoulike":"8b0ab0c233182188355bf921aec06adb","ad_adyoulike_doublon":"0807cbb40fccf70a3567d3d1bc5ecf62","ad_adyoulike_mobile":"9805d9a515b3bfe5f618cd0cea9d6615","ad_adyoulike_doublon_mobile":"84c82d568c9fd69e123be04807f52ea7","ad_33across":"byadUMza8r7ikjrkHcnnVW","ad_33across_doublon":"b-Z57yzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":"cOVwNszcqr7ikjrkHcnnVW","ad_33across_mobile":"bL63hmza8r7ikjrkHcnnVW","form_id":51268,"form_ad_id":1,"form_richaudience":"Ms8WRKDWDm","form_richaudience_mobile":"m3I90PI33l","form_richaudience2":null,"form_richaudience_mobile2":null,"form_triplelift":"developpez_com_Megabanner_ATF_desktop","form_triplelift_mobile":"developpez_com_Megabanner_mobile_ATF","part_yieldone":0,"part_beop":0,"form_yieldone":null,"form_yieldone_mobile":null,"part_richaudience":1,"part_bidgency":0,"part_between":1,"form_custom_display":0,"form_id_rubicon":null,"form_between":4085520,"form_custom_placement":null,"tag_sovrn":1023051,"tag_sovrn_mobile":1023059,"part_sovrn":1,"tag_adyoulike":null,"tag_adyoulike_mobile":null,"tag_adyoulike_RON":null,"tag_adyoulike_mobile_RON":null,"part_openx":1,"tag_improve":"22450851","tag_improve2":"23276518","tag_improve3":22695846,"tag_justpremium":null,"part_kueez":0,"ad_kueez":"66547d2e7b5c39bdc4a0b881","ad_kueez_mobile":null,"ad_kueez_doublon":"669d49c4a3cedcbb37dcc1bf","ad_kueez_mobile_doublon":null,"ad_smart_id":26322,"site_novideo":0,"site_id":75922,"site_id_smart":"397282\/1356421","part_teads":0,"part_ogury":0,"part_adyoulike":1,"part_criteo":1,"form_criteo":"1630112","form_criteo_mobile":"1630110","part_adform":1,"part_eplanning":1,"part_smilewanted":1,"site_forced_cmp":0,"site_otm_ATF":null,"site_otm_BTF":null,"site_pubstack":"6c542246-67d7-49f2-9694-c1795ee9df98","site_responsive":1,"site_blocklist":0,"part_seedtag":1,"site_seedtag":"6181-5590-01","form_seedtag":null,"site_id_rubicon_ATF":1078246,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078332,"site_yandex":null,"ad_yandex_imp_id":6,"ad_yandex_imp_id_mobile":10,"part_yandex":0,"part_rubicon":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"site_ogury_IT":null,"site_doublon":null,"site_rtbhouse_asia":0,"site_ads_txt":27,"site_id_rubicon_FS":1124648,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"site_adform":0,"site_openx_ATF":557080769,"site_openx_BTF":557080772,"site_openx_FS":557080766,"site_openx_corner":null,"form_pubmatic":5939029,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_bluerooster_interstitial":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_amazon":1,"site_adtelligent_ATF":909150,"site_adtelligent_BTF":909151,"site_adtelligent_FS":909152,"site_adtelligent_IT":909154,"site_gingerad_ATF":null,"site_intext_lazyloaded":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":"gad_tmzr_developpez-com_hb_interstitiel","part_gingerad":1,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_adtelligent":1,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_adform_server":0,"site_teads_US":null,"site_onetag":1,"part_onetag":1,"part_rise":1,"site_adagio":"75922-developpez-com","site_triplelift":1,"site_triplelift_premium":null,"site_theme":20,"site_true_url":"https:\/\/www.developpez.com","site_capping":50,"theme_name_english":"technologyandcomputing","subtheme_name_english":"Other","part_triplelift":1,"part_sharethrough":1,"part_adaptmx":1,"site_confiant":1,"part_connectad":0,"part_improve":1,"part_impactify":0,"part_33across":0,"part_vidoomy":-1,"part_pubmatic":1,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_freewheel":null,"form_freewheel_mobile":null,"part_freewheel":0,"tft_placement_id":164829,"tft_page_id":150627,"tft_placement_id_us":180878,"tft_page_id_us":166108,"form_gumgum":null,"form_gumgum_slot":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":0,"part_pbs_themoneytizer":0,"site_capping_interstitial":1,"part_admixer":0,"ad_admixer":"0d41c56d-12db-4175-8798-0360adfc3d45","ad_admixer_mobile":"a285fceb-fcd2-4ba9-b2a9-73aac9d81c15","ad_admixer_doublon":"a0d9f6c3-e1f5-4648-8478-8a94656b23b9","ad_admixer_doublon_mobile":"f75b58ba-1d49-46ae-9f49-fb90b1e3871a","ms_magnite_site_id":null,"ms_zone_ATF":null,"ms_zone_BTF":null,"ms_zone_FS":null,"ms_zone_IT":null,"ms_zone_CORNER":null,"ms_zone_INTERSTITIAL":null,"part_sparteo":0,"ad_nexxen":"279152","ad_nexxen_mobile":"279159","part_nexxen":0,"site_keyword_adagio":"revenue","ad_videoheroes":"dbc908d91fdeac541c85c73696efcc57","ad_videoheroes_mobile":"58b50b72b868e62e82fd820da64b80f2","part_videoheroes":0,"ad_lucead":null,"ad_lucead_mobile":null},"26323":{"site_cmp":2,"site_domain_pros":"developpez.com","site_ssp_pass":2,"site_cnil":1,"user_id":59566,"user_plateform":"ww","ad_id":3,"ad_adform":1869269,"ad_adform_doublon":1870714,"ad_triplelift_id":"MoneyTizer_GrandAngle_HDX","ad_triplelift_id_doublon":"MoneyTizer_GrandAngle_HDX_2","ad_triplelift_id_native":"MoneyTizer_GrandAngle_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_GrandAngle_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Halfpage_300x600","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Halfpage_300x600","ad_triplelift_id_premium_mobile":null,"ad_triplelift_id_premium_doublon_mobile":null,"ad_sharethrough_desktop":"w9TUEcNWuk2nYjrWKB1cBGni","ad_sharethrough_mobile":null,"ad_sharethrough_desktop_doublon":"3or3RiVFf1190PNIjordqK45","ad_sharethrough_mobile_doublon":null,"ad_adyoulike":"ec743e31657602e9d220a087d699d91f","ad_adyoulike_doublon":"7532b000ce1e033058203df89ceaa631","ad_adyoulike_mobile":null,"ad_adyoulike_doublon_mobile":null,"ad_33across":"d5jv24zaar7ikjrkHcnnVW","ad_33across_doublon":"ciMnVWzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":null,"ad_33across_mobile":null,"form_id":45615,"form_ad_id":3,"form_richaudience":"sNacMWiFwm","form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_triplelift":"developpez_com_Halfpage","form_triplelift_mobile":null,"part_yieldone":0,"part_beop":0,"form_yieldone":null,"form_yieldone_mobile":null,"part_richaudience":1,"part_bidgency":0,"part_between":1,"form_custom_display":0,"form_id_rubicon":null,"form_between":4085515,"form_custom_placement":null,"tag_sovrn":1023056,"tag_sovrn_mobile":null,"part_sovrn":1,"tag_adyoulike":"bf28dfcde19ae149083249c48d338171","tag_adyoulike_mobile":null,"tag_adyoulike_RON":null,"tag_adyoulike_mobile_RON":null,"part_openx":1,"tag_improve":"22450850","tag_improve2":"23276519","tag_improve3":22695817,"tag_justpremium":null,"part_kueez":0,"ad_kueez":"66547d009930c01a06022d69","ad_kueez_mobile":null,"ad_kueez_doublon":"669d49a7a3cedcbb37dcc1ba","ad_kueez_mobile_doublon":null,"ad_smart_id":26323,"site_novideo":0,"site_id":75922,"site_id_smart":"397282\/1356421","part_teads":0,"part_ogury":0,"part_adyoulike":1,"part_criteo":1,"form_criteo":"1630107","form_criteo_mobile":null,"part_adform":1,"part_eplanning":1,"part_smilewanted":1,"site_forced_cmp":0,"site_otm_ATF":null,"site_otm_BTF":null,"site_pubstack":"6c542246-67d7-49f2-9694-c1795ee9df98","site_responsive":1,"site_blocklist":0,"part_seedtag":1,"site_seedtag":"6181-5590-01","form_seedtag":34432123,"site_id_rubicon_ATF":1078246,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078332,"site_yandex":null,"ad_yandex_imp_id":3,"ad_yandex_imp_id_mobile":null,"part_yandex":0,"part_rubicon":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"site_ogury_IT":null,"site_doublon":null,"site_rtbhouse_asia":0,"site_ads_txt":27,"site_id_rubicon_FS":1124648,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"site_adform":0,"site_openx_ATF":557080769,"site_openx_BTF":557080772,"site_openx_FS":557080766,"site_openx_corner":null,"form_pubmatic":5939212,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_bluerooster_interstitial":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_amazon":1,"site_adtelligent_ATF":909150,"site_adtelligent_BTF":909151,"site_adtelligent_FS":909152,"site_adtelligent_IT":909154,"site_gingerad_ATF":null,"site_intext_lazyloaded":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":"gad_tmzr_developpez-com_hb_interstitiel","part_gingerad":1,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_adtelligent":1,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_adform_server":0,"site_teads_US":null,"site_onetag":1,"part_onetag":1,"part_rise":1,"site_adagio":"75922-developpez-com","site_triplelift":1,"site_triplelift_premium":null,"site_theme":20,"site_true_url":"https:\/\/www.developpez.com","site_capping":50,"theme_name_english":"technologyandcomputing","subtheme_name_english":"Other","part_triplelift":1,"part_sharethrough":1,"part_adaptmx":1,"site_confiant":1,"part_connectad":0,"part_improve":1,"part_impactify":0,"part_33across":0,"part_vidoomy":-1,"part_pubmatic":1,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_freewheel":null,"form_freewheel_mobile":null,"part_freewheel":0,"tft_placement_id":164827,"tft_page_id":150625,"tft_placement_id_us":180876,"tft_page_id_us":166106,"form_gumgum":null,"form_gumgum_slot":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":0,"part_pbs_themoneytizer":0,"site_capping_interstitial":1,"part_admixer":0,"ad_admixer":"3f22a5e4-056f-4167-8fc7-846b7e63f71a","ad_admixer_mobile":null,"ad_admixer_doublon":"ad1cad38-125e-417a-9491-f5f6ce333012","ad_admixer_doublon_mobile":null,"ms_magnite_site_id":null,"ms_zone_ATF":null,"ms_zone_BTF":null,"ms_zone_FS":null,"ms_zone_IT":null,"ms_zone_CORNER":null,"ms_zone_INTERSTITIAL":null,"part_sparteo":0,"ad_nexxen":"279151","ad_nexxen_mobile":null,"part_nexxen":0,"site_keyword_adagio":"revenue","ad_videoheroes":"cadf1ca3393a04f1bb8963d1b2a2440d","ad_videoheroes_mobile":null,"part_videoheroes":0,"ad_lucead":null,"ad_lucead_mobile":null},"30012":{"site_cmp":2,"site_domain_pros":"developpez.com","site_ssp_pass":2,"site_cnil":1,"user_id":59566,"user_plateform":"ww","ad_id":28,"ad_adform":1868281,"ad_adform_doublon":1870775,"ad_triplelift_id":"MoneyTizer_MegaBannerBasse_HDX","ad_triplelift_id_doublon":"MoneyTizer_MegaBannerBasse_HDX_2","ad_triplelift_id_native":"MoneyTizer_MegaBannerBasse_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_MegaBannerBasse_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Megabanner_BTF_desktop","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Megabanner_BTF_desktop","ad_triplelift_id_premium_mobile":"Publisher_Top_Performance_Megabanner_mobile_BTF","ad_triplelift_id_premium_doublon_mobile":"Publisher_Top_Performance_2_Megabanner_mobile_BTF","ad_sharethrough_desktop":"12SkPAyrRNYtFBkq79NvqxJf","ad_sharethrough_mobile":"CgGjvtj4BZl6IqtZOKvFOenO","ad_sharethrough_desktop_doublon":"1GRXLSxrbcGX8fCGCxZZCtHv","ad_sharethrough_mobile_doublon":"91tWqHRJJX15HqRVdg335WNw","ad_adyoulike":"88a44940affe2c7d8d1da252693d12c2","ad_adyoulike_doublon":"64384cb36c5ab7eddf76feb019a254ec","ad_adyoulike_mobile":"6690b94d6b273a94d471e01caeae9c8c","ad_adyoulike_doublon_mobile":"93131074529919ce73ad1c93acfce9d5","ad_33across":"bCzQXWza8r7ikjrkHcnnVW","ad_33across_doublon":"cq1Z88zcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":"cSPxjGzcqr7ikjrkHcnnVW","ad_33across_mobile":"bQmeKgza8r7ikjrkHcnnVW","form_id":121816,"form_ad_id":28,"form_richaudience":null,"form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_triplelift":"developpez_com_Megabanner_BTF_desktop","form_triplelift_mobile":"developpez_com_Megabanner_mobile_BTF","part_yieldone":0,"part_beop":0,"form_yieldone":null,"form_yieldone_mobile":null,"part_richaudience":1,"part_bidgency":0,"part_between":1,"form_custom_display":0,"form_id_rubicon":null,"form_between":4085535,"form_custom_placement":null,"tag_sovrn":1023054,"tag_sovrn_mobile":1023061,"part_sovrn":1,"tag_adyoulike":null,"tag_adyoulike_mobile":null,"tag_adyoulike_RON":null,"tag_adyoulike_mobile_RON":null,"part_openx":1,"tag_improve":"22531770","tag_improve2":"23276491","tag_improve3":22687966,"tag_justpremium":null,"part_kueez":0,"ad_kueez":"66547d6a7f283cb2a1de06f4","ad_kueez_mobile":null,"ad_kueez_doublon":"669d49df7f16170cbbe2be3b","ad_kueez_mobile_doublon":null,"ad_smart_id":30012,"site_novideo":0,"site_id":75922,"site_id_smart":"397282\/1356421","part_teads":0,"part_ogury":0,"part_adyoulike":1,"part_criteo":1,"form_criteo":"1630113","form_criteo_mobile":"1630109","part_adform":1,"part_eplanning":1,"part_smilewanted":1,"site_forced_cmp":0,"site_otm_ATF":null,"site_otm_BTF":null,"site_pubstack":"6c542246-67d7-49f2-9694-c1795ee9df98","site_responsive":1,"site_blocklist":0,"part_seedtag":1,"site_seedtag":"6181-5590-01","form_seedtag":null,"site_id_rubicon_ATF":1078246,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078332,"site_yandex":null,"ad_yandex_imp_id":5,"ad_yandex_imp_id_mobile":11,"part_yandex":0,"part_rubicon":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"site_ogury_IT":null,"site_doublon":null,"site_rtbhouse_asia":0,"site_ads_txt":27,"site_id_rubicon_FS":1124648,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"site_adform":0,"site_openx_ATF":557080769,"site_openx_BTF":557080772,"site_openx_FS":557080766,"site_openx_corner":null,"form_pubmatic":5940127,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_bluerooster_interstitial":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_amazon":1,"site_adtelligent_ATF":909150,"site_adtelligent_BTF":909151,"site_adtelligent_FS":909152,"site_adtelligent_IT":909154,"site_gingerad_ATF":null,"site_intext_lazyloaded":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":"gad_tmzr_developpez-com_hb_interstitiel","part_gingerad":1,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_adtelligent":1,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_adform_server":0,"site_teads_US":null,"site_onetag":1,"part_onetag":1,"part_rise":1,"site_adagio":"75922-developpez-com","site_triplelift":1,"site_triplelift_premium":null,"site_theme":20,"site_true_url":"https:\/\/www.developpez.com","site_capping":50,"theme_name_english":"technologyandcomputing","subtheme_name_english":"Other","part_triplelift":1,"part_sharethrough":1,"part_adaptmx":1,"site_confiant":1,"part_connectad":0,"part_improve":1,"part_impactify":0,"part_33across":0,"part_vidoomy":-1,"part_pubmatic":1,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_freewheel":null,"form_freewheel_mobile":null,"part_freewheel":0,"tft_placement_id":164830,"tft_page_id":150628,"tft_placement_id_us":180879,"tft_page_id_us":166109,"form_gumgum":null,"form_gumgum_slot":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":0,"part_pbs_themoneytizer":0,"site_capping_interstitial":1,"part_admixer":0,"ad_admixer":"f0086b25-2081-4899-bb54-a36a9f2fec9c","ad_admixer_mobile":"636b875e-f151-4cc3-bf09-ac1ceb4ee287","ad_admixer_doublon":"d6af7282-ed55-423e-b60b-c9c5684e355f","ad_admixer_doublon_mobile":"ef330dd8-7749-41d8-b5af-5a9212f63999","ms_magnite_site_id":null,"ms_zone_ATF":null,"ms_zone_BTF":null,"ms_zone_FS":null,"ms_zone_IT":null,"ms_zone_CORNER":null,"ms_zone_INTERSTITIAL":null,"part_sparteo":0,"ad_nexxen":"279153","ad_nexxen_mobile":"279160","part_nexxen":0,"site_keyword_adagio":"revenue","ad_videoheroes":"498de305d7b008231703936ff1c7e24a","ad_videoheroes_mobile":"b9e792745d2ea7e7b824c1c44a33a84b","part_videoheroes":0,"ad_lucead":null,"ad_lucead_mobile":null},"26328":{"site_cmp":2,"site_domain_pros":"developpez.com","site_ssp_pass":2,"site_cnil":1,"user_id":59566,"user_plateform":"ww","ad_id":6,"ad_adform":1868303,"ad_adform_doublon":1870711,"ad_triplelift_id":"MoneyTizer_Footer_HDX","ad_triplelift_id_doublon":"MoneyTizer_Footer_HDX_2","ad_triplelift_id_native":"MoneyTizer_Footer_HDX_native","ad_triplelift_id_native_doublon":"MoneyTizer_Footer_HDX_2_native","ad_triplelift_id_premium":"Publisher_Top_Performance_Footer_Slidein_desktop","ad_triplelift_id_premium_doublon":"Publisher_Top_Performance_2_Footer_Slidein_desktop","ad_triplelift_id_premium_mobile":"Publisher_Top_Performance_Footer_Slidein_mobile","ad_triplelift_id_premium_doublon_mobile":"Publisher_Top_Performance_2_Footer_Slidein_mobile","ad_sharethrough_desktop":"uvUcrgH1iI5FR6NxYAaO8zZX","ad_sharethrough_mobile":"Uh8Ls2TPFlPGbiy8tcW7hifd","ad_sharethrough_desktop_doublon":"k9kw1piB36xB6kGl2hAxV6NZ","ad_sharethrough_mobile_doublon":"YElGBy4wZ3aBCXAJT7k6Mmfb","ad_adyoulike":"8b2bd071f3581407a9d2ee02ab81501e","ad_adyoulike_doublon":"04d0d26ef25d77b4805986c42656ccbb","ad_adyoulike_mobile":"d5b0e319ed5c88cb47b8abdb035846b8","ad_adyoulike_doublon_mobile":"fc053f47a335f393cff149a396efd3e8","ad_33across":"bHj7xyza8r7ikjrkHcnnVW","ad_33across_doublon":"cKWxSQzcqr7ikjrkHcnnVW","ad_33across_doublon_mobile":"cWWUx4zcqr7ikjrkHcnnVW","ad_33across_mobile":"bUpsAUza8r7ikjrkHcnnVW","form_id":133478,"form_ad_id":6,"form_richaudience":null,"form_richaudience_mobile":null,"form_richaudience2":null,"form_richaudience_mobile2":null,"form_triplelift":"developpez_com_Footer_Slide-in_desktop","form_triplelift_mobile":"developpez_com_Footer_Slide-in_mobile","part_yieldone":0,"part_beop":0,"form_yieldone":null,"form_yieldone_mobile":null,"part_richaudience":1,"part_bidgency":0,"part_between":1,"form_custom_display":0,"form_id_rubicon":null,"form_between":4693503,"form_custom_placement":null,"tag_sovrn":1023055,"tag_sovrn_mobile":1023062,"part_sovrn":1,"tag_adyoulike":null,"tag_adyoulike_mobile":null,"tag_adyoulike_RON":null,"tag_adyoulike_mobile_RON":null,"part_openx":1,"tag_improve":"22556191","tag_improve2":"23276489","tag_improve3":22686141,"tag_justpremium":null,"part_kueez":0,"ad_kueez":"66547ea69930c01a060234e1","ad_kueez_mobile":"66a90c9b0c47b07d7483f875","ad_kueez_doublon":"669d4a4b1b6bcdce52aeeabb","ad_kueez_mobile_doublon":"66a90cb1d0a029f5c2321ab7","ad_smart_id":26328,"site_novideo":0,"site_id":75922,"site_id_smart":"397282\/1356421","part_teads":0,"part_ogury":0,"part_adyoulike":1,"part_criteo":1,"form_criteo":"1630144","form_criteo_mobile":"1630138","part_adform":1,"part_eplanning":1,"part_smilewanted":1,"site_forced_cmp":0,"site_otm_ATF":null,"site_otm_BTF":null,"site_pubstack":"6c542246-67d7-49f2-9694-c1795ee9df98","site_responsive":1,"site_blocklist":0,"part_seedtag":1,"site_seedtag":"6181-5590-01","form_seedtag":34432120,"site_id_rubicon_ATF":1078246,"site_id_rubicon_MTF":null,"site_id_rubicon_BTF":1078332,"site_yandex":null,"ad_yandex_imp_id":2,"ad_yandex_imp_id_mobile":9,"part_yandex":0,"part_rubicon":1,"site_ogury":null,"site_ogury_corner":null,"site_ogury_FS":null,"site_ogury_IT":null,"site_doublon":null,"site_rtbhouse_asia":0,"site_ads_txt":27,"site_id_rubicon_FS":1124648,"site_nobid":null,"site_nobid_ATF":null,"site_nobid_BTF":null,"site_nobid_FS":null,"part_nobid":0,"site_adform":0,"site_openx_ATF":557080769,"site_openx_BTF":557080772,"site_openx_FS":557080766,"site_openx_corner":null,"form_pubmatic":5939578,"site_blueroostermedia_ATF":null,"site_blueroostermedia_BTF":null,"site_blueroostermedia_FS":null,"site_blueroostermedia_IT":null,"site_bluerooster_interstitial":null,"site_blueroostermedia_old_ATF":null,"site_blueroostermedia_old_BTF":null,"site_blueroostermedia_old_FS":null,"part_amazon":1,"site_adtelligent_ATF":909150,"site_adtelligent_BTF":909151,"site_adtelligent_FS":909152,"site_adtelligent_IT":909154,"site_gingerad_ATF":null,"site_intext_lazyloaded":null,"site_gingerad_BTF":null,"site_gingerad_FS":null,"site_gingerad_IT":null,"site_gingerad_inter":"gad_tmzr_developpez-com_hb_interstitiel","part_gingerad":1,"part_blueroostermedia":1,"part_blueroostermedia_magnite":1,"part_zemanta":1,"part_adtelligent":1,"site_connectad_ATF":null,"site_connectad_BTF":null,"site_connectad_FS":null,"site_adform_server":0,"site_teads_US":null,"site_onetag":1,"part_onetag":1,"part_rise":1,"site_adagio":"75922-developpez-com","site_triplelift":1,"site_triplelift_premium":null,"site_theme":20,"site_true_url":"https:\/\/www.developpez.com","site_capping":50,"theme_name_english":"technologyandcomputing","subtheme_name_english":"Other","part_triplelift":1,"part_sharethrough":1,"part_adaptmx":1,"site_confiant":1,"part_connectad":0,"part_improve":1,"part_impactify":0,"part_33across":0,"part_vidoomy":-1,"part_pubmatic":1,"form_vidoomy":null,"form_vidoomy_mobile":null,"form_freewheel":null,"form_freewheel_mobile":null,"part_freewheel":0,"tft_placement_id":164826,"tft_page_id":150624,"tft_placement_id_us":180875,"tft_page_id_us":166105,"form_gumgum":null,"form_gumgum_slot":null,"part_gumgum":0,"zone_gumgum":null,"form_missena":null,"part_missena":0,"part_pbs_themoneytizer":0,"site_capping_interstitial":1,"part_admixer":0,"ad_admixer":"abe5ce3f-e2df-4bc6-8de6-7fc45a6a03ee","ad_admixer_mobile":"e72a2235-2d6b-4155-aae6-6b7e0817a9c5","ad_admixer_doublon":"ba8d4b4b-1fa9-4be4-bf93-e86bccd1519f","ad_admixer_doublon_mobile":"3006ad70-48b0-4ba9-b190-900f6ed3b197","ms_magnite_site_id":null,"ms_zone_ATF":null,"ms_zone_BTF":null,"ms_zone_FS":null,"ms_zone_IT":null,"ms_zone_CORNER":null,"ms_zone_INTERSTITIAL":null,"part_sparteo":0,"ad_nexxen":"279158","ad_nexxen_mobile":"279161","part_nexxen":0,"site_keyword_adagio":"revenue","ad_videoheroes":"1e1e8471d33f600ca80e3fe476d0dcc0","ad_videoheroes_mobile":"9a6d4ff22b992814f7e7f7f507101e88","part_videoheroes":0,"ad_lucead":null,"ad_lucead_mobile":null}}; window._qevents = window._qevents || []; window.moneycaching=false; (function() { var elem = document.createElement('script'); elem.src = "https://secure.quantserve.com/quant.js"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem, scpt); })(); window._qevents.push({ qacct:"p-6Fv0cGNfc_bw8", labels:"Categories.technologyandcomputing" }); var website = (window.location != window.parent.location) ? document.referrer: document.location.href; params = { "cat":"technologyandcomputing", "sscat":"Other" }; (function(c,a,p,t,i,f,y){i=c.createElement(a);t=c.getElementsByTagName(a)[0];i.type='text/javascript';i.async=true;i.src=p;t.parentNode.insertBefore(i,t);})(document,'script','https://p.cpx.to/p/12771/px.js'); var random = Math.floor(Math.random() * 10); if(random == 1){ var pubstack = document.createElement("script"); pubstack.setAttribute("type", "text/javascript"); pubstack.setAttribute("src","https://boot.pbstck.com/v1/tag/6c542246-67d7-49f2-9694-c1795ee9df98"); pubstack.setAttribute("async", "true"); var headelement = document.getElementsByTagName('head')[0]; headelement.appendChild(pubstack); } var notifyme = document.createElement("script"); notifyme.setAttribute("type", "text/javascript"); notifyme.setAttribute("async", "true"); notifyme.setAttribute("src", "https://adtrack.adleadevent.com/mailNotification.php?st=a96081b6-db78-48c4-9f82-b93e316fb1f7"); var headelement = document.getElementsByTagName('head')[0]; headelement.appendChild(notifyme); var sovrn_beacon = document.createElement("script"); sovrn_beacon.setAttribute("type", "text/javascript"); sovrn_beacon.setAttribute("src","https://ap.lijit.com/www/sovrn_beacon_standalone/sovrn_standalone_beacon.js?iid=261720&uid=themoneytizer"); sovrn_beacon.setAttribute("async", "true"); sovrn_beacon.setAttribute("id", "”sBeacon”"); document.getElementsByTagName('head')[0].appendChild(sovrn_beacon); }}) } else { intervalCheckNb4++; } }, 1000) window.nugg = 1; var tmzr = (typeof tmzr != "undefined")? tmzr : {} ; tmzr.que = tmzr.que || []; var d = document, pbs = d.createElement('script'); pbs.setAttribute("type","text/javascript"); var random_sw = Math.floor(Math.random() * 2); var intervalCheckNb5 = 0; var checkInterval5 = setInterval(function() { if (window.top.__tcfapi || intervalCheckNb5 >= 20) { clearInterval(checkInterval5); window.top.__tcfapi('addEventListener', 2, function(tcData, success) { if(success && (tcData.gdprApplies === false || isEmpty(tcData.vendor.consents) === false)) { pbs.setAttribute("src","https://tmzr.themoneytizer.fr/v9.23.0u2.0.21/942cb05a20d6fa3342d7627566c57118/prebid.js"); pbs.onerror = function() { tmzrScriptErrorHandler("https://cdn.themoneytizer.fr/ads/moneybid9_23/build/dist/prebid.js"); }; tcStringToSend = ""; if (tcData.tcString) { tcStringToSend = tcData.tcString; } if (typeof window.apstag !== 'object') { !function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push ([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q ("f",arguments)},setDisplayBids:function(){},targetingKeys:function() {return[]},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p. getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}("apstag", window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js"); apstag.init({ pubID: 'a0dbece0-be46-4355-af6e-eaefdbf5391a', adServer: 'smartadserver', gdpr: { consent: tcStringToSend }, bidTimeout: 2e3 }); } } }) } else { intervalCheckNb5++; } },1000) pbs.setAttribute("async", "true"); var headelement = document.getElementsByTagName('head')[0]; headelement.insertBefore(pbs, headelement.firstChild); var format_size = {"30":[[728,90],[320,100],[300,100]],"1":[[728,90]],"2":[[300,250],[300,168]],"3":[[300,600],[300,250]],"4":[[120,600]],"19":[[300,250],[300,168]],"20":[[160,600]],"26":[[300,250]],"28":[[728,90]],"15":[[250,300],[336,280],[320,50],[300,100],[320,480],[300,50],[320,100]],"31":[[970,250],[800,250],[950,250],[900,250],[970,90]],"35":[[160,600]],"11":[[640,320]]}; var format_size_ix = {"30":[[728,90],[320,100]],"1":[728,90],"2":[300,250],"3":[300,600],"4":[120,600],"19":[300,250],"20":[160,600],"26":[300,250],"28":[728,90],"15":[300,100],"31":[970,250],"36":[728,90],"35":[160,600],"11":[640,480],"6":[728,90],"5":[1800,1000]}; var format_w_adform = {"1":728,"2":300,"3":300,"4":120,"19":300,"20":160,"26":300,"28":728,"15":300,"31":970,"36":728,"35":160,"11":300,"6":728,"5":1800}; var format_h_adform = {"1":90,"2":250,"3":600,"4":600,"19":250,"20":600,"26":250,"28":90,"15":250,"31":250,"36":90,"35":600,"11":600,"6":90,"5":1000}; var format_size_rubicon = {"26322":"2","26300":"15","26323":"10,15","26324":"8","26711":"15","26706":"9","28108":"15","30012":"2","39287":"57","50677":"9","26325":"68"}; var between_w = {"1":"728","2":"300","3":"300","4":"120","6":"728","31":"970","20":"160","19":"300","28":"728"}; var between_h = {"1":"90","2":"250","3":"600","4":"600","6":"90","31":"250","20":"600","19":"250","28":"90"}; function GetMobileDesktop() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ return "mobile"; } else { return "desktop"; } } function GetMobileDesktopId(mobile, desktop) { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ return mobile; } else { return desktop; } } function GetRichAudienceZone(format,desktop,mobile){ if(format == 1 || format == 28 || format == 6 || format == 31){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var ra_zone = mobile; } else { var ra_zone = desktop; } }else{ var ra_zone = desktop; } return ra_zone; } function GetmnameAdform(format,mname){ if((format == 1 || format == 28 || format == 31 || format == 6) && (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ var name = "f"+mname+"m"; }else{ var name = "f"+mname; } return name } function GetwAdform(format){ if(format == 1 || format == 28){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else if(format == 31){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 300; }else{ var my_sizes = 970; } }else if(format == 6){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 320; }else{ var my_sizes = 728; } }else{ var my_sizes = format_w_adform[format]; } return my_sizes; } function GethAdform(format){ if(format == 1 || format == 28){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else if(format == 31){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 250; }else{ var my_sizes = 250; } }else if(format == 6){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = 100; }else{ var my_sizes = 90; } }else{ var my_sizes = format_h_adform[format]; } return my_sizes; } function GetsizeTriplelift(format,custom_footer){ if(format == 6){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[1,1],[320,50],[300,50],[320,100],[300,100]]; }else{ if(custom_footer == 1){ var my_sizes = [[1,1],[728,90],[728,250],[970,90],[1000,90],[1000,30],[990,90],[950,90]]; }else{ var my_sizes = [[1,1],[728,90],[728,250],[970,90],[1000,90],[1000,30],[990,90],[950,90],[300,250]]; } } } return my_sizes; } window.pubstack_publica ={adServer : 'smart-rtb+',tags: [ window.pubstack_ab ]}; function Getsize(format,custom_footer){ var custom_footer = custom_footer || 0; if(format == 1 || format == 28){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[320,50],[300,50],[320,100],[300,100]]; }else{ var my_sizes = [[728,90],[320,50],[300,50],[320,100],[300,100]]; } }else if(format == 31){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[300,250]]; }else{ var my_sizes = [[970, 250],[1000, 30],[1000, 90],[800, 250],[950, 250],[900, 250],[970, 90]]; } } else if(format == 30){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[320,100],[300,100]] }else{ var my_sizes = [[728, 90], [320, 100], [300, 100]]; } } else if(format == 6){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[1,1],[320,50],[300,50],[320,100],[300,100]]; }else{ if(custom_footer == 1){ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90]]; }else{ var my_sizes = [[1,1],[728,90],[970,90],[1000,90],[1000,30],[990,90],[950,90],[300,250]]; } } }else if(format == 15){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [[300,50],[320, 50],[300, 250],[320, 480],[320, 400],[1, 1]]; }else{ var my_sizes = [[300, 250],[1024, 768],[300, 600],[336, 280],[320, 400],[750, 300],[950, 250],[250, 250],[400, 400],[1, 1]]; } }else{ var my_sizes = format_size[format]; } return my_sizes; } function GetsizeRubicon(format){ if(format == 26322 || format == 30012){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = [43,67,44,59,117,16]; return my_size }else{ var my_sizes = [2,43,67,44,59,117,16]; } }else if(format == 39287){ if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ var my_sizes = '15'; }else{ var my_sizes = [15,57,55,56,116,125]; } }else{ var my_sizes = format_size_rubicon[format]; } return [my_size]; } tmzr.que.push(function(){ var videoAdUnit = [] var nativeAdUnit = [] var cornerAdUnit = [] var skinAdUnit = [] var interstitialAdUnit = [] var footerLiteAdUnit = [] var footerAdUnit = [ { code: '26328', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/26328", data: { placement: "6", divId: "sas_26328", pbadslot: "sas_iframe_fixed_26328" } } }, pubstack: {adServer : 'smart-rtb+',tags: [ window.pubstack_ab ], adUnitPath: '26328'}, sizes: Getsize('6','0'), mediaTypes: { banner: { sizes:Getsize('6','0') }, }, bids: [ {bidder: 'moneytizer', params:{ siteId:75922, adId:6, env:GetMobileDesktop() } }, { bidder: 'rise', params: { org: '64a420c03a7fe2000132115a', floorPrice: 0.01, placementId: '133478' } }, { bidder: 'pubmatic', params: { publisherId: '161784', adSlot:'5939578', kadfloor : '0.03' } }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId(1630138, 1630144), publisherSubId : '133478', pubid: '7WYFHG' } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('Uh8Ls2TPFlPGbiy8tcW7hifd', 'uvUcrgH1iI5FR6NxYAaO8zZX').toString(), } }, { bidder: 'eplanning', params: { ci: "2a156", ml: 1 } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "75922-6" } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '75922-developpez-com', adUnitElementId: 'sas_26328', placement: '6', splitKeyword: 'revenue' } }, {bidder: 'sovrn', params:{ tagid:"1023055", bidfloor : 0.01 } }, { bidder: 'adform', params: { inv: 2623, mid: 1868303, pdom: 'developpez.com', priceType: 'net', rcur:'USD', adxDomain: 'adx.adform.net', w:GetwAdform('6'), h:GethAdform('6') } }, { bidder: "onetag", params: { pubId: "7b2ec27f127242e", ext: { placement_name: '26328_75922' } } }, {bidder: 'adtelligent', params: { aid: 909152 } }, {bidder: 'openx', params:{ unit: '557080766', delDomain: 'moneytizer-d.openx.net' } }, { bidder: 'improvedigital', params: { publisherId: 2195, placementId: 23276489 } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38332', zoneId:'1124648', referrer:'https://www.developpez.com', inventory:{'siteid':['75922']}, keywords:['75922'], floor: 0.01 } }, {bidder: 'seedtag', params: { publisherId: '6181-5590-01', adUnitId: '34432120', placement: 'inScreen' } }, ]}, {code: '26328', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/26328", data: { placement: "6", divId: "sas_26328", pbadslot: "sas_iframe_fixed_26328" } } }, sizes: GetsizeTriplelift('6','0'), mediaTypes: { banner: { sizes:GetsizeTriplelift('6','0') } }, bids: [ { bidder: 'triplelift', params: { inventoryCode:GetRichAudienceZone(6,"developpez_com_Footer_Slide-in_desktop","developpez_com_Footer_Slide-in_mobile"), floor: 0.01 } }, { bidder: 'triplelift', params: { inventoryCode: 'MoneyTizer_Footer_HDX_native', floor: 0.01 } },{ bidder: 'triplelift', params: { inventoryCode: 'MoneyTizer_Footer_HDX_native2', floor: 0.01 } }, ]}, ] isEmpty(nativeAdUnit)&&whenFormatFctDefined(window,"Adcall_48311")&&window.Adcall_48311(),isEmpty(skinAdUnit)&&whenFormatFctDefined(window,"Adcall_26325")&&window.Adcall_26325(),isEmpty(cornerAdUnit)&&whenFormatFctDefined(window,"Adcall_80234")&&window.Adcall_80234(),isEmpty(footerAdUnit)&&whenFormatFctDefined(window,"Adcall_26328")&&window.Adcall_26328(),isEmpty(videoAdUnit)&&whenFormatFctDefined(window,"Adcall_45111")&&window.Adcall_45111(),isEmpty(interstitialAdUnit)&&whenFormatFctDefined(window,"Adcall_26755")&&window.Adcall_26755(); window.bidder_geo = 0; var adUnits = [ { code: '26300', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/26300", data: { placement: "2", divId: "sas_26300", pbadslot: "sas_26300" } } }, pubstack: {adServer : 'smart-rtb+',tags: [ window.pubstack_ab ], adUnitPath: '26300'}, mediaTypes: { banner: { sizes: Getsize(2) } }, bids: [ {bidder: 'moneytizer', params:{ siteId:75922, adId:2, country: window.bidder_geo, env:GetMobileDesktop() } }, {bidder: 'outbrain', params: { publisher: { id: '0005ee2620838054ba93f71182884310a6', domain: 'developpez.com' }, tagid: '75922-2' } }, { bidder: 'pubmatic', params: { publisherId: '161784', adSlot:'5938846', kadfloor : '0.03' } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('', 'aa6jPKCn03DW8oVaGuoKahUA').toString(), } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '75922-developpez-com', adUnitElementId: 'sas_26300', placement: '2', splitKeyword: 'revenue' } }, { bidder: 'rise', params: { org: '64a420c03a7fe2000132115a', floorPrice: 0.01, placementId: '71503' } }, { bidder: 'improvedigital', params: { publisherId: 2195, placementId: 23276533 } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'triplelift', params: { inventoryCode:GetRichAudienceZone(2,"developpez_com_Medium_rectangle_ATF",""), floor: 0.01 } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38332', zoneId:'1078246', referrer:'https://www.developpez.com', inventory:{'siteid':['75922']}, keywords:['75922'], floor: 0.01 } }, { bidder: 'eplanning', params: { ci: "2a156", ml: 1 } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "75922-2" } }, { bidder: 'adform', params: { inv: 2623, mid: 1864075, pdom: 'developpez.com', priceType: 'net', rcur:'USD', adxDomain: 'adx.adform.net', w:GetwAdform('2'), h:GethAdform('2') } }, {bidder: 'adtelligent', params: { aid: 909150 } }, {bidder: 'openx', params:{ unit: '557080769', delDomain: 'moneytizer-d.openx.net' } }, {bidder: 'sovrn', params:{ tagid: GetMobileDesktopId('', 1023050).toString(), bidfloor : 0.01 } }, { bidder: 'richaudience', params: { pid:GetRichAudienceZone(2,"kXNHpivx1t",""), supplyType:"site" } }, { bidder: "onetag", params: { pubId: "7b2ec27f127242e", ext: { placement_name: '26300_75922' } } }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId('', 1630103), publisherSubId : '71503', pubid: '7WYFHG' } }, { bidder: 'seedtag', params: { publisherId: '6181-5590-01', adUnitId: '34432122', placement: 'inBanner' } }, { bidder: 'lucead', params: { placementId: GetMobileDesktopId('3223693641', '3223693641').toString(), loader: new Promise((r,e)=>{if(window.lucead_loaded){r();return};window.lucead_loaded=!0;const s=document.createElement('script'); s.src='https://s.lucead.com/prebid/2048491583.js';s.onload=()=>r(window.lucead_prebid);s.onerror=e;document.head.appendChild(s);}), region: 'eu' } }, ]}, { code: '26322', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/26322", data: { placement: "1", divId: "sas_26322", pbadslot: "sas_26322" } } }, pubstack: {adServer : 'smart-rtb+',tags: [ window.pubstack_ab ], adUnitPath: '26322'}, mediaTypes: { banner: { sizes: Getsize(1) } }, bids: [ {bidder: 'moneytizer', params:{ siteId:75922, adId:1, country: window.bidder_geo, env:GetMobileDesktop() } }, {bidder: 'outbrain', params: { publisher: { id: '0005ee2620838054ba93f71182884310a6', domain: 'developpez.com' }, tagid: '75922-1' } }, { bidder: 'pubmatic', params: { publisherId: '161784', adSlot:'5939029', kadfloor : '0.03' } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('TWpVZHErn9OwATL0UnP4Elck', 'uevsIvm575ehAVvY5YMJQNYl').toString(), } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '75922-developpez-com', adUnitElementId: 'sas_26322', placement: '1', splitKeyword: 'revenue' } }, { bidder: 'rise', params: { org: '64a420c03a7fe2000132115a', floorPrice: 0.01, placementId: '51268' } }, { bidder: 'improvedigital', params: { publisherId: 2195, placementId: 23276518 } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'triplelift', params: { inventoryCode:GetRichAudienceZone(1,"developpez_com_Megabanner_ATF_desktop","developpez_com_Megabanner_mobile_ATF"), floor: 0.01 } }, { bidder: 'triplelift', params: { inventoryCode: 'MoneyTizer_MegaBannerHaute_HDX_native', floor: 0.01 } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38332', zoneId:'1078246', referrer:'https://www.developpez.com', inventory:{'siteid':['75922']}, keywords:['75922'], floor: 0.01 } }, { bidder: 'eplanning', params: { ci: "2a156", ml: 1 } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "75922-1" } }, { bidder: 'adform', params: { inv: 2623, mid: 1864063, pdom: 'developpez.com', priceType: 'net', rcur:'USD', adxDomain: 'adx.adform.net', w:GetwAdform('1'), h:GethAdform('1') } }, {bidder: 'adtelligent', params: { aid: 909150 } }, {bidder: 'openx', params:{ unit: '557080769', delDomain: 'moneytizer-d.openx.net' } }, {bidder: 'sovrn', params:{ tagid: GetMobileDesktopId(1023059, 1023051).toString(), bidfloor : 0.01 } }, { bidder: 'richaudience', params: { pid:GetRichAudienceZone(1,"Ms8WRKDWDm","m3I90PI33l"), supplyType:"site" } }, { bidder: "onetag", params: { pubId: "7b2ec27f127242e", ext: { placement_name: '26322_75922' } } }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId(1630110, 1630112), publisherSubId : '51268', pubid: '7WYFHG' } }, ]}, { code: '26323', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/26323", data: { placement: "3", divId: "sas_26323", pbadslot: "sas_26323" } } }, pubstack: {adServer : 'smart-rtb+',tags: [ window.pubstack_ab ], adUnitPath: '26323'}, mediaTypes: { banner: { sizes: Getsize(3) } }, bids: [ {bidder: 'moneytizer', params:{ siteId:75922, adId:3, country: window.bidder_geo, env:GetMobileDesktop() } }, {bidder: 'outbrain', params: { publisher: { id: '0005ee2620838054ba93f71182884310a6', domain: 'developpez.com' }, tagid: '75922-3' } }, { bidder: 'pubmatic', params: { publisherId: '161784', adSlot:'5939212', kadfloor : '0.03' } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('', 'w9TUEcNWuk2nYjrWKB1cBGni').toString(), } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '75922-developpez-com', adUnitElementId: 'sas_26323', placement: '3', splitKeyword: 'revenue' } }, { bidder: 'rise', params: { org: '64a420c03a7fe2000132115a', floorPrice: 0.01, placementId: '45615' } }, { bidder: 'improvedigital', params: { publisherId: 2195, placementId: 23276519 } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'triplelift', params: { inventoryCode:GetRichAudienceZone(3,"developpez_com_Halfpage",""), floor: 0.01 } }, { bidder: 'triplelift', params: { inventoryCode: 'MoneyTizer_300x400_HDX_native', floor: 0.01 } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38332', zoneId:'1078246', referrer:'https://www.developpez.com', inventory:{'siteid':['75922']}, keywords:['75922'], floor: 0.01 } }, { bidder: 'eplanning', params: { ci: "2a156", ml: 1 } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "75922-3" } }, { bidder: 'adform', params: { inv: 2623, mid: 1869269, pdom: 'developpez.com', priceType: 'net', rcur:'USD', adxDomain: 'adx.adform.net', w:GetwAdform('3'), h:GethAdform('3') } }, {bidder: 'adtelligent', params: { aid: 909150 } }, {bidder: 'openx', params:{ unit: '557080769', delDomain: 'moneytizer-d.openx.net' } }, {bidder: 'sovrn', params:{ tagid: GetMobileDesktopId('', 1023056).toString(), bidfloor : 0.01 } }, { bidder: 'richaudience', params: { pid:GetRichAudienceZone(3,"sNacMWiFwm",""), supplyType:"site" } }, { bidder: "onetag", params: { pubId: "7b2ec27f127242e", ext: { placement_name: '26323_75922' } } }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId('', 1630107), publisherSubId : '45615', pubid: '7WYFHG' } }, { bidder: 'seedtag', params: { publisherId: '6181-5590-01', adUnitId: '34432123', placement: 'inBanner' } }, ]}, { code: '30012', ortb2Imp: { ext: { gpid: "/75922/developpez.com/" + GetMobileDesktop() + "/30012", data: { placement: "28", divId: "sas_30012", pbadslot: "sas_30012" } } }, pubstack: {adServer : 'smart-rtb+',tags: [ window.pubstack_ab ], adUnitPath: '30012'}, mediaTypes: { banner: { sizes: Getsize(28) } }, bids: [ {bidder: 'moneytizer', params:{ siteId:75922, adId:28, country: window.bidder_geo, env:GetMobileDesktop() } }, {bidder: 'outbrain', params: { publisher: { id: '0005ee2620838054ba93f71182884310a6', domain: 'developpez.com' }, tagid: '75922-28' } }, { bidder: 'pubmatic', params: { publisherId: '161784', adSlot:'5940127', kadfloor : '0.03' } }, { bidder: 'sharethrough', params: { pkey: GetMobileDesktopId('CgGjvtj4BZl6IqtZOKvFOenO', '12SkPAyrRNYtFBkq79NvqxJf').toString(), } }, {bidder: 'adagio', params:{ organizationId: '1015', site: '75922-developpez-com', adUnitElementId: 'sas_30012', placement: '28', splitKeyword: 'revenue' } }, { bidder: 'rise', params: { org: '64a420c03a7fe2000132115a', floorPrice: 0.01, placementId: '121816' } }, { bidder: 'improvedigital', params: { publisherId: 2195, placementId: 23276491 } }, { bidder: "smilewanted", params: { zoneId: "themoneytizer.com_header_bidding_display" } }, { bidder: 'triplelift', params: { inventoryCode:GetRichAudienceZone(28,"developpez_com_Megabanner_BTF_desktop","developpez_com_Megabanner_mobile_BTF"), floor: 0.01 } }, { bidder: 'triplelift', params: { inventoryCode: 'MoneyTizer_MegaBannerBasse_HDX_native', floor: 0.01 } }, {bidder: 'rubicon', params:{ accountId:'11740', siteId: '38332', zoneId:'1078332', referrer:'https://www.developpez.com', inventory:{'siteid':['75922']}, keywords:['75922'], floor: 0.01 } }, { bidder: 'eplanning', params: { ci: "2a156", ml: 1 } }, { bidder: 'amx', params: { tagId: "dGhlbW9uZXl0aXplci5jb20", adUnitId : "75922-28" } }, { bidder: 'adform', params: { inv: 2623, mid: 1868281, pdom: 'developpez.com', priceType: 'net', rcur:'USD', adxDomain: 'adx.adform.net', w:GetwAdform('28'), h:GethAdform('28') } }, {bidder: 'adtelligent', params: { aid: 909151 } }, {bidder: 'openx', params:{ unit: '557080772', delDomain: 'moneytizer-d.openx.net' } }, {bidder: 'sovrn', params:{ tagid: GetMobileDesktopId(1023061, 1023054).toString(), bidfloor : 0.01 } }, { bidder: "onetag", params: { pubId: "7b2ec27f127242e", ext: { placement_name: '30012_75922' } } }, {bidder: 'criteo', params:{ zoneId: GetMobileDesktopId(1630109, 1630113), publisherSubId : '121816', pubid: '7WYFHG' } }, ]}, ]; // Adagio AB test tmzr.addAdUnits(videoAdUnit); tmzr.addAdUnits(nativeAdUnit); tmzr.addAdUnits(cornerAdUnit); tmzr.addAdUnits(skinAdUnit); tmzr.addAdUnits(footerAdUnit); tmzr.addAdUnits(footerLiteAdUnit); tmzr.addAdUnits(adUnits); tmzr.addAdUnits(interstitialAdUnit); window.top.closeButtonDelay = true; if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ for (var i = 0; i < tmzr.adUnits.length; i++) { for(var j = tmzr.adUnits[i].bids.length -1; j >= 0 ; j--){ if (tmzr.adUnits[i].bids[j].bidder == "richaudience" && tmzr.adUnits[i].code == "26325") { tmzr.adUnits[i].bids.splice(j, 1); } } } } tmzr.enableAnalytics({ provider: 'adagio', options: { organizationId: "1015", site: "75922-developpez-com", } }); function customSmart(adUnit, segments, data, bid) { let segmentsArray = []; let minContextualValue = 50; let sdaData = []; let sdcData = []; // Récupérer les données déjà présentes via sas.getSda() et sas.getSdc() let existingSda = sas.getSda(); let existingSdc = sas.getSdc(); // Fonction pour vérifier si un ID est déjà présent dans existingSda function isIdAlreadyPresentInSda(id) { return existingSda.some(entry => entry.id === id); } // Fonction pour vérifier si un ID est déjà présent dans existingSdc function isIdAlreadyPresentInSdc(id) { return existingSdc.some(entry => entry.id === id); } // Si shared_taxonomy[27440] existe, on l'ajoute à global_taxonomy if (typeof(data) === 'object' && data.shared_taxonomy && data.shared_taxonomy[27440]) { data.global_taxonomy = data.global_taxonomy || {}; data.global_taxonomy[27440] = data.shared_taxonomy[27440]; } try { if (typeof(data) === 'object' && data.global_taxonomy) { Object.values(data.global_taxonomy).forEach(taxonomy => { // Bloc SDA pour global_taxonomy try { let segtaxid = taxonomy.segtaxid ? taxonomy.segtaxid.toString() : 'unknown'; if (taxonomy.segments && taxonomy.segments.length > 0 && !isIdAlreadyPresentInSda(segtaxid)) { sdaData.push({ name: 'sirdata.com', id: segtaxid, segment: taxonomy.segments.map(entry => ({ id: entry.toString() })) }); } } catch (e) { console.log('Erreur dans SDA pour global_taxonomy:', e.message); } // Bloc SDC pour global_taxonomy try { let cattaxid = taxonomy.cattaxid ? taxonomy.cattaxid.toString() : 'unknown'; if (taxonomy.contextual_categories && Object.keys(taxonomy.contextual_categories).length > 0 && !isIdAlreadyPresentInSdc(cattaxid)) { sdcData.push({ name: 'sirdata.com', id: cattaxid, segment: Object.entries(taxonomy.contextual_categories) .filter(([entry, value]) => value > minContextualValue) .map(([entry, value]) => ({ id: entry.toString() })) }); } } catch (e) { console.log('Erreur dans SDC pour global_taxonomy:', e.message); } }); } } catch (e) { console.log('Erreur dans l\'itération de global_taxonomy:', e.message); } try { if(sdaData.length > 0){ sas.setSda(sdaData); } } catch (error) { console.error('Erreur lors de l\'envoi du SDA à Equativ :', error.message); } try { if(sdcData.length > 0){ sas.setSdc(sdcData); } } catch (error) { console.error('Erreur lors de l\'envoi du SDC à Equativ :', error.message); } } tmzr.setConfig({ s2sConfig: [ { enabled: window.enableAdagioS2S || false, adapter: "prebidServer", // Required name: "pbs-adagio", // Recommended accountId: "1015", // Required, provided by Adagio bidders: ["adagio", "improvedigital"], // Required, call Adagio metaSSP via our PBS endpoint. allowUnknownBidderCodes: true, // Allow Prebid Server to bid on behalf of bidders that are not explicitly listed in the adUnit secure: 1, debug: false, timeout: 2700, // This should be approximately 200ms-300ms less than your Prebid.js timeout to allow for all bids to be returned in a timely manner. // Endpoints to Adagio's Prebid Server endpoint: { // Required p1Consent: "https://mp.4dex.io/pbs/openrtb2/auction", noP1Consent: "https://mp.4dex.io/pbs/openrtb2/auction", }, syncEndpoint: { // Required p1Consent: "https://mp.4dex.io/pbs/cookie_sync", noP1Consent: "https://mp.4dex.io/pbs/cookie_sync", }, // User sync syncTimeout: 1000, userSyncLimit: 5, // Recommended - Number of registered syncs allowed per adapter. Default: 5. To allow all, set to 0. extPrebid: {}, }, ], useBidCache: true, enableTIDs: true, deviceAccess: true, auctionOptions: { secondaryBidders: ['richaudience'] }, ortb2:{ site:{ name:'developpez.com', ext: { data: { pagetype: "article", category: "technologyandcomputing", } } }, }, realTimeData: { auctionDelay: 500, dataProviders: [{ name: "SirdataRTDModule", waitForIt: false, params: { partnerId: 29567, key: 50, setGptKeyValues: false, contextualMinRelevancyScore: 50, actualUrl: top.location.href, bidders: [{ bidder: 'rubicon' },{ bidder: 'triplelift' },{ bidder: 'criteo' },{ bidder: 'improvedigital' },{ bidder: 'teads' }, { bidder: 'smilewanted' }, { bidder: 'taboola' }, {bidder: 'moneytizer', customFunction: customSmart}] } }, { name: "adagio", params: { organizationId: "1015", site: "75922-developpez-com", }, }] }, outbrain: { bidderUrl: 'https://b1h.zemanta.com/api/bidder/prebid/bid/', usersyncUrl: 'https://b1h.zemanta.com/usersync/prebid' }, userSync: { aliasSyncEnabled: true }, "schain": { "validation": "off", "config": { "ver":"1.0", "complete": 1, "nodes": [ { "asi":"themoneytizer.com", "sid":"59566", "hp":1 } ] } }, rubicon: {singleRequest: true}, improvedigital: {singleRequest: true,usePrebidSizes:true}, userSync: { aliasSyncEnabled: true, auctionDelay :30, filterSettings: { iframe: { bidders: '*', filter: 'include' }, image: { bidders: '*', filter: 'include' } }, userIds: [{ name: "33acrossId", params: { pid: "0015a00002vNEdMAAW", storeFpid: true }, storage: { name: "33acrossId", type: "html5", expires: 30, refreshInSeconds: 8 * 3600 } }, { name: "criteo" }, { name: "quantcastId", }, { name: "id5Id", params: { partner: 12 }, storage: { type: "html5", name: "id5id", expires: 45 } },{ name: "sharedId", params: { syncTime: 60 }, storage: { name: "sharedid", type: "cookie", expires: 90 }, }, {name: "lotamePanoramaId", params: { clientId: "17553" }}],syncsPerBidder: 50,syncDelay: 3000},enableSendAllBids: false, timeoutBuffer: 400 ,pubcid: {enable: true},disableAjaxTimeout: false, maxRequestsPerOrigin: 60,consentManagement: { gdpr: { cmpApi: 'iab', rules: [{ purpose: 'basicAds', enforcePurpose: false, enforceVendor: true, vendorExceptions: ['gingerad'] }], timeout: 60000, allowAuctionWithoutConsent: true } }}); tmzr.aliasBidder('teads', 'teads_video', {gvlid: 132}); tmzr.aliasBidder('teads', 'teads_display', {gvlid: 132}); tmzr.aliasBidder('teads', 'teads_display2', {gvlid: 132}); tmzr.aliasBidder('appnexus', 'moneytag', {gvlid: 1069}); tmzr.aliasBidder('appnexus', 'gingerad', {gvlid: 32}); tmzr.bidderSettings = { standard: { storageAllowed: true }, moneytizer: { allowZeroCpmBids: true, }, gingerad: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.7; }, storageAllowed: true }, missena: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 1.0498 * 0.92; }, }, missenadirect: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.8; }, }, missenanative: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 1.0498 * 0.5; }, }, '33across': { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.8; }, }, impactify: { bidCpmAdjustment: function(bidCpm, bid){ return bidCpm * 0.8; }, }, onetag: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0498*.85; }, }, eplanning: { storageAllowed: true }, adagio: { storageAllowed: true }, otm: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .8 * 0.009182; }, }, richaudience: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, blueroostermedia: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .7; }, }, adtelligent: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, teads: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .9; }, }, blueroostermedia_old: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .7; }, }, adform: { bidCpmAdjustment : function(bidCpm){ return bidCpm * .88; }, }, criteo: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0498; }, }, teads_display: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0498*.83; }, }, teads_video: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0498*.83; }, }, teads_display2: { bidCpmAdjustment : function(bidCpm){ return bidCpm * 1.0498*.83; }, }, standard: { adserverTargeting: [{ key: "hb_bidder", val: function(bidResponse) { if(bidResponse.bidderCode=="rubiconLite"){ return "rubicon"; }else if(bidResponse.bidderCode=="stickyadstv"){ return "stickyads"; }else{ return bidResponse.bidderCode; } } }, { key: "hb_adid", val: function(bidResponse) { return bidResponse.adId; } },{ key: "hb_height", val: function(bidResponse) { return bidResponse.height; } }, { key: "hb_bid", val: function(bidResponse) { var cpm = bidResponse.cpm*1.22/1.0498; if(bidResponse.adUnitCode =="26325" || bidResponse.adUnitCode == "48311"){ if (cpm < 0.02) { return '0.01'; }else if (cpm < 0.03) { return '0.02'; }else if (cpm < 0.10) { return (Math.floor(cpm * 50) / 50).toFixed(2); } else if (cpm < 5.00) { return (Math.floor(cpm * 20) / 20).toFixed(2); } else if (cpm < 40.00) { return (Math.floor(cpm * 2) / 2).toFixed(2); } else { return '40.00'; } }else{ return cpm; } } }] } }; var myPropertyId = '6JazTGIJh-hokZ3Hzq9-29PxCyY'; window.confiant = window.confiant || {}; window.confiant[myPropertyId] = window.confiant[myPropertyId] || {clientSettings: {}}; var clientSettings = window.confiant[myPropertyId].clientSettings || (window.confiant[myPropertyId].clientSettings = {}); clientSettings.prebidExcludeBidders = ['moneytizer','criteo','teads_video', 'between']; clientSettings.prebidNameSpace = 'tmzr'; clientSettings.callback = function() { console.log("Confiant has blocked the ad",arguments); refreshSlot(26322, window.adsArea26322.capping,window.adsArea26322.isVisible); }; var s = document.createElement("script"); s.type = "text/javascript"; s.setAttribute("async",""); s.src = "https://cdn.confiant-integrations.net/" + myPropertyId + "/gpt_and_prebid/config.js"; document.head.appendChild(s); //tmzr.requestBids({ //adUnitCodes :["26322"], //timeout: 3000, //bidsBackHandler: function(bidResponses) { //bid = tmzr.getHighestCpmBids('video')[0]; //window.vastUrl = bid && bid.vastUrl; //window.targetingParams = tmzr.getAdserverTargeting(); //for (var property in window.targetingParams) { //if (window.targetingParams.hasOwnProperty(property)) { //whenFormatFctDefined(window, 'Adcall_'+property); //} //} whenFormatFctDefined(window, 'Adcall_26300'); whenFormatFctDefined(window, 'Adcall_26322'); whenFormatFctDefined(window, 'Adcall_26323'); whenFormatFctDefined(window, 'Adcall_30012'); whenFormatFctDefined(window, 'Adcall_26328'); //} //}); }); var counter_refresh = []; function Timeout(fn, interval) { var id = setTimeout(fn, interval); this.cleared = false; this.clear = function () { this.cleared = true; clearTimeout(id); }; } var smart_prebid2 = {"26322":"55794","26300":"55789","26323":"55792","26324":"55798","26711":"55790","26706":"55795","30012":"55793","39287":"55791","50677":"55796","28108":"55797"}; tmzr.getTrueHighestCpmBids = function(formatid) { var adid = tmzr.getAdserverTargeting(formatid)[formatid].hb_adid; var getBidResponsesForAdUnitCode = tmzr.getBidResponsesForAdUnitCode(formatid).bids; for(bid in getBidResponsesForAdUnitCode){ if(getBidResponsesForAdUnitCode[bid].adId == adid) return [getBidResponsesForAdUnitCode[bid]]; } return false; } function refreshSlot(formatid,capping,viewability) { function checkBidderByName(arrayofbids,name){ for(var i=0,l=arrayofbids.length;i<l;i++) if(arrayofbids[i].bidder == name) return arrayofbids[i]; return null; } var arr_width = {26322:728,26300:300,26323:300,26324:120,26711:300,26706:160,28108:300,30012:728,39287:970,35:50677,51410:728,28108:300}; var arr_height = {26322:90,26300:250,26323:600,26324:600,26711:250,26706:600,28108:150,30012:90,39287:250,35:50677,51410:90,28108:250}; var strformatid = formatid.toString(); if(counter_refresh[formatid] == null ){ counter_refresh[formatid] = 0; }else{ counter_refresh[formatid] = counter_refresh[formatid]+1; } if(counter_refresh[formatid] < capping){ if(formatid==26300 || formatid==26711){ document.getElementById("sas_"+formatid).style.width = "300px"; document.getElementById("sas_"+formatid).style.height = "250px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if(formatid==26324){ document.getElementById("sas_"+formatid).style.width = "120px"; document.getElementById("sas_"+formatid).style.height = "600px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if((formatid==26322 || formatid==30012) && ( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ document.getElementById("sas_"+formatid).style.width = "728px"; document.getElementById("sas_"+formatid).style.height = "90px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if((formatid==26322 || formatid==30012) && ( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i))){ document.getElementById("sas_"+formatid).style.width = "320px"; document.getElementById("sas_"+formatid).style.height = "100px"; document.getElementById("sas_"+formatid).style.margin = "auto"; } if(formatid==26328){ if(window.top.document.getElementById("sas_iframe_fixed_26328-1")){ window.top.document.getElementById("sas_iframe_fixed_26328-1").remove(); } if(window.top.document.getElementById("sas_iframe_fixed_26328")){ window.top.document.getElementById("sas_iframe_fixed_26328").remove(); } if(window.top.document.getElementById("sas_26328")){ window.top.document.getElementById("sas_26328").innerHtml = ""; window.top.document.getElementById("sas_26328").style = "display: none"; } if(window.top.document.getElementById("sas_container_4683789")){ window.top.document.getElementById("sas_container_4683789").innerHtml = ""; window.top.document.getElementById("sas_container_4683789").style = "display: none"; } } document.getElementById("sas_"+formatid).innerHTML = ""; let divs = document.querySelectorAll("div[id^='sas_intextContainer_']"); divs.forEach(div => div.style.display = 'none'); tmzr.que.push(function() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ for (var i = 0; i < tmzr.adUnits.length; i++) { for(var j = tmzr.adUnits[i].bids.length -1; j >= 0 ; j--){ if (tmzr.adUnits[i].bids[j].bidder == "richaudience" && tmzr.adUnits[i].code == "26325") { tmzr.adUnits[i].bids.splice(j, 1); } } } } if(formatid == 26322 || formatid == 26300 || formatid == 26323 || formatid == 26324 || formatid == 26328 || formatid == 26711 || formatid == 26706 || formatid == 30012 || formatid == 39287 || formatid == 50677 || formatid == 116434 || formatid == 26755) { array_format = { 26322: 1, 26300: 2, 26323: 3, 26324: 4, 26328: 6, 26755: 15, 26711: 19, 26706: 20, 30012: 28, 39287: 31, 50677: 35, 116434: 44 }; delete window.adsAmzn26328.amznBid; delete window.adsAmzn26755.amznBid; apstag.fetchBids({ slots: [{ slotID: 'sas_' + formatid, slotName: '1097/397282/1356421/sas_' + formatid, sizes: Getsize(array_format[formatid]) }], timeout: 2e3 }, function(bids) { if (!bids || !bids.length) { sas.setTargeting({ target: { ['amznbid_'+formatid]: [], ['amzniid_'+formatid]: [], ['amznp_'+formatid]: [], ['refreshamzn']:[1], }, mode: 1, tagIds: "" }); } else { apstag.targetingKeys(); bids.forEach(bid => { sas.setTargeting({ target: { ['amznbid_'+formatid]: [bid.amznbid], ['amzniid_'+formatid]: [bid.amzniid], ['amznp_'+formatid]: [bid.amznp], ['refreshamzn']:[1], }, mode: 1, tagIds: [bid.slotID] }); if(formatid==26328){ window.adsAmzn26328.amznBid = bid; } if(formatid==26755){ window.adsAmzn26755.amznBid = bid; } }); sas.render(); } }); } tmzr.requestBids({ adUnitCodes:[strformatid], bidsBackHandler: function() { sas.clean(formatid); sas.clean(strformatid); document.getElementById("sas_"+formatid).innerHTML = ""; let divs = document.querySelectorAll("div[id^='sas_intextContainer_']"); divs.forEach(div => div.style.display = 'none'); var parentsas = window.parent.document.getElementById('sas_'+formatid) || window.top.document.getElementById('sas_'+formatid); if(parentsas){ parentsas.innerHTML = ""; } window.targetingParams = tmzr.getAdserverTargeting(); sas.cmd.push(function() { tmzr.que.push(function() { bid = tmzr.getTrueHighestCpmBids(strformatid)[0]; if (bid) { var hb_adid = window.targetingParams[strformatid].hb_adid; var sasBid = JSON.parse(JSON.stringify(bid)); sasBid.cpm = window.targetingParams[strformatid].hb_bid; //console.log(window.targetingParams[strformatid]); bid.currency = bid.currency || "USD"; }else{ var sasBid = {}; } sas.setHeaderBiddingWinner("sas_"+strformatid, sasBid); sas.render(); }); }); if(window.targetingParams && !isEmpty(window.targetingParams[formatid]) && window.tm_getpublica == 1){ tmzrCountExec(75922, tagsObject[formatid]['ad_id'], 2); } window.targetingParams = window.targetingParams || []; sas.cmd.push(function() { sas.setEids(tmzr.getUserIdsAsEids()); }); if(typeof Smart_SR_data === 'undefined'){ Smart_SR_data =""; } sas.cmd.push(function() { sas.call("std", { tagId: 'sas_'+formatid, siteId: 397282, pageId: 1356421, formatId: formatid, target:Smart_SR_data, timeout: 3000, schain: "1.0,1!themoneytizer.com,59566,1,developpez.com,developpez.com"}, { networkId: 1097, domain: "https://ww1097.smartadserver.com",onNoad: function() { window.targetingParams = tmzr.getAdserverTargeting(); if(bid.adUnitCode == "26323"){ function verboseTmzr(m) { const urlParams = new URLSearchParams(window.location.search); if(urlParams.has('tmzr_debug')) { console.log("%cTheMoneytizer%c", "background: linear-gradient(to right, #ff8a00, #da1b60, #00d2ff); color: white; padding: 5px;", "color: black;", m); } } let currentBids = tmzr.getBidResponsesForAdUnitCode("26323").bids; let mRectangleList = []; let hPageList = []; let skipList = [] tmzr.getAllWinningBids().forEach((r,k) => { skipList.push(r.adId); }); currentBids.forEach((r,k) => { if(!skipList.includes(r.adId)){ if(r.size==="300x250"){ mRectangleList.push(r); } if(r.size==="300x600"){ hPageList.push(r); } } }) verboseTmzr({list: mRectangleList, type: "medium_rectangle"}); verboseTmzr({list: hPageList, type: "half_page"}); if(mRectangleList.length > 1){ mRectangleList.sort((a, b) => b.cpm - a.cpm); let totalCPM = parseFloat(mRectangleList[0].cpm) + parseFloat(mRectangleList[1].cpm); verboseTmzr("Double medium rectangle found ! ", {totalCPM: totalCPM, extra1: mRectangleList[0], extra2: mRectangleList[1]}); if(totalCPM>=window.targetingParams["26323"].hb_bid){ let i = document.createElement("iframe"); i.frameBorder=0; i.width="300px"; i.height="250px"; i.id="sas_iframe_26323"; i.setAttribute("scrolling", "no"); i.setAttribute("marginheight", 0); i.setAttribute("marginwidth", 0); i.setAttribute("topmargin", 0); i.setAttribute("leftmargin", 0); i.setAttribute("allowtransparency", true); let i2 = document.createElement("iframe"); i2.frameBorder=0; i2.width="300px"; i2.height="250px"; i2.id="sas_iframe_26323_2"; i2.setAttribute("scrolling", "no"); i2.setAttribute("marginheight", 0); i2.setAttribute("marginwidth", 0); i2.setAttribute("topmargin", 0); i2.setAttribute("leftmargin", 0); i2.setAttribute("allowtransparency", true); document.getElementById("sas_26323").appendChild(i); document.getElementById("sas_26323").appendChild(i2); let iframeDoc = i.contentWindow.document; let iframeDoc2 = i2.contentWindow.document; tmzr.renderAd(iframeDoc, mRectangleList[0].adId); tmzr.renderAd(iframeDoc2, mRectangleList[1].adId); verboseTmzr({m: "Two bids has been rendered !", extra1: mRectangleList[0], extra2: mRectangleList[1]}); return; } verboseTmzr("Total CPM of double medium rectangle is lower than winning bid 😕"); } let i = document.createElement("iframe"); i.frameBorder=0; i.width="300px"; i.height="600px"; i.id="sas_iframe_26323"; i.setAttribute("scrolling", "no"); i.setAttribute("marginheight", 0); i.setAttribute("marginwidth", 0); i.setAttribute("topmargin", 0); i.setAttribute("leftmargin", 0); i.setAttribute("allowtransparency", true); document.getElementById("sas_26323").appendChild(i); let iframeDoc = i.contentWindow.document; let hb_adid = window.targetingParams["26323"].hb_adid; verboseTmzr("No double medium rectangle could be rendered, here informations about current render"); verboseTmzr(window.targetingParams["26323"]); tmzr.renderAd(iframeDoc, hb_adid); return; } else if (bid && bid.bidder == "improvedigital" && bid.mediaType == "video") { var arr_width_video ={26300:300,26711:300,26323:300,39287:444,45111:640}; var creatediv = document.createElement("div"); creatediv.id = formatid; creatediv.setAttribute("style","width:"+arr_width_video[formatid]+"px;margin:auto;"); document.getElementById("sas_"+formatid).appendChild(creatediv); var iframeDoc = document; } else if(bid && bid.adUnitCode == 26328) { args = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, height: bid.height, width: bid.width, bidder: bid.bidder, footerPositionTopMobile: false,footerPositionTop: false,delayCloseBtn: false, } window.whatToLoad(6, args); }else if(bid && bid.adUnitCode == 116434) { args = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, height: bid.height, width: bid.width, } window.whatToLoad(44, args); }else if(bid && bid.adUnitCode == 26755) { argsInter = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, height: bid.height, width: bid.width, bidder: bid.bidder, closeButtonDelay: true, } window.whatToLoad(15, argsInter); }else if(bid && bid.mediaType == 'native' && bid.bidder == 'smilewantedfalse') { args = { func: tmzr.renderAd, hb_adid: window.targetingParams[formatid].hb_adid, bidder: bid.bidder, adUnitCode: bid.adUnitCode, native: bid.native } window.whatToLoad('native', args); } else{ var myiframe = document.createElement("iframe"); myiframe.frameBorder=0; if((formatid == 26322 || formatid == 30012) && GetMobileDesktop() == "mobile"){ myiframe.width="320px"; myiframe.height="100px"; }else{ myiframe.width=arr_width[formatid]+"px"; myiframe.height=arr_height[formatid]+"px"; } if (formatid == 26328) { myiframe.width = "0px"; myiframe.height = "0px"; var element = document.getElementById("sas_26328"); if (element) { element.style = "display: none"; } } myiframe.id="sas_iframe_"+formatid; myiframe.setAttribute("scrolling", "no"); myiframe.setAttribute("marginheight", 0); myiframe.setAttribute("marginwidth", 0); myiframe.setAttribute("topmargin", 0); myiframe.setAttribute("leftmargin", 0); myiframe.setAttribute("allowtransparency", true); document.getElementById("sas_"+formatid).appendChild(myiframe); var iframeDoc = myiframe.contentWindow.document; } var hb_adid = window.targetingParams[formatid].hb_adid; if (bid && bid.adUnitCode!="26328") { tmzr.renderAd(iframeDoc, hb_adid); } }}); }); tmzrCountExec(75922, tagsObject[formatid]['ad_id'], 1); } }); }); } } function refreshSlotFooter(formatid, capping) { var strformatid = formatid.toString(); if (counter_refresh[formatid] == null) { counter_refresh[formatid] = 0; } else { counter_refresh[formatid] = counter_refresh[formatid] + 1; } if (counter_refresh[formatid] < capping) { tmzr.que.push(function () { tmzr.requestBids({ adUnitCodes: [strformatid], bidsBackHandler: function () { document.getElementById("sas_" + formatid).innerHTML = ""; let divs = document.querySelectorAll("div[id^='sas_intextContainer_']"); divs.forEach(div => div.style.display = 'none'); var parentsas = window.parent.document.getElementById('sas_' + formatid) || window.top.document.getElementById('sas_' + formatid); if (parentsas) { parentsas.innerHTML = ""; } window.targetingParams = tmzr.getAdserverTargeting(); window.targetingParams[formatid] = window.targetingParams[formatid] || 0; if (window.targetingParams[formatid] == 0) { var moneybid = ""; } else { var hb_adid = "hb_adid=" + window.targetingParams[formatid].hb_adid; var hb_pb = "hb_pb=" + window.targetingParams[formatid].hb_bid; var hb_bidder = "hb_bidder=" + window.targetingParams[formatid].hb_bidder; if (window.targetingParams[formatid].hb_height == "250") { var hb_format = "hb_format=" + formatid + "-1"; } else { var hb_format = "hb_format=" + formatid; } var moneybid = ";" + hb_adid + ";" + hb_pb + ";" + hb_bidder + ";" + hb_format; } sas.refresh(formatid,{target:moneybid}); tmzrCountExec(75922, tagsObject[formatid]['ad_id'], 1); } }); }); } } } var refreshVisibility26322 = function(){ var observers = []; var fetchAdsArea = document.querySelectorAll('*[id^="sas_"]'); var slowBidders = ["teads_video","teads_display","teads_display2","richaudience","blueroostermedia","sharethrough"]; window.slowBidders = slowBidders; var slowBiddersTimer = ["60000","60000","60000","30000","30000","40000"]; var adsAreaId =26322; var visibleRefreshRate =19000; var invisibleRefreshRate =36000; var adsCappingLimit = 50; var slowdown = 60000; var evt = {}; evt.lastPos = 0; evt.lastTime = Date.now(); window.adsArea26322= {}; var visibilitySupport = false; if ('IntersectionObserver' in window) { visibilitySupport = true; } var refreshTimeTableVisible = { 26322: 19000, 26300: 18500, 26323: 20000, 26324: 21500, 26711: 18500, 26706: 23000, 28108: 27000, 30012: 23500, 39287: 19500, 50677: 21000, 51410: 22000, 26328: 25000, 35757: 40000, 80234: 99999999, 116434: 99999999, 26755: 99999999 }; var refreshTimeTableInvisible = { 26322: 36000, 26300: 37000, 26323: 49000, 26324: 52000, 26711: 47000, 26706: 54000, 28108: 56000, 30012: 58000, 39287: 60000, 50677: 62000, 51410: 57000, 26328: 45000, 35757: 60000, 80234: 99999999, 116434: 99999999, 26755: 99999999 }; //window.adsArea26322= el; window.adsArea26322.isVisible = false; window.adsArea26322.isClosed = false; window.adsArea26322.refreshTimer = Date.now(); window.adsArea26322.formatId = adsAreaId; window.adsArea26322.refreshRate = refreshTimeTableVisible[adsAreaId]; window.adsArea26322.capping = 1; window.adsArea26322.cappingLimit = adsCappingLimit; if (visibleRefreshRate != undefined) { refreshTimeTableVisible[adsAreaId] = visibleRefreshRate; } if (invisibleRefreshRate != undefined) { refreshTimeTableInvisible[adsAreaId] = invisibleRefreshRate; } if (visibilitySupport) { var option = { root: null, rootMargin: '0px', threshold: [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0] } var callback = function (entries, observer) { entries.forEach(entry => { if (Math.floor(entry.intersectionRatio * 100) > 50 && !window.adsArea26322.isVisible) { window.adsArea26322.isVisible = true; window.adsArea26322.refreshRate = refreshTimeTableVisible[adsAreaId]; } else if (Math.floor(entry.intersectionRatio * 100) < 50 && window.adsArea26322.isVisible) { window.adsArea26322.isVisible = false; window.adsArea26322.refreshRate = refreshTimeTableInvisible[adsAreaId]; } }); }; observers26322 = new IntersectionObserver(callback, option, true, 1000); observers26322.observe(document.querySelector("#sas_" + adsAreaId)); } else { window.adsArea26322.lastPos = 0; window.adsArea26322.lastTime = Date.now(); evt.scroll = window.addEventListener('scroll', function (e) { if ((Math.abs(window.adsArea26322.lastPos - window.scrollY) > 100) || (Date.now() - window.adsArea26322.lastTime > 200)) { window.adsArea26322.lastPos = window.scrollY; window.adsArea26322.lastTime = Date.now(); var visibilitySensor = true; el = document.querySelector('#sas_26322') style = window.getComputedStyle(el); if (style.getPropertyValue('display') == 'none') { visibilitySensor = false; } if (style.getPropertyValue('opacity') < 0.8) { visibilitySensor = false; } if (el.parentElement) { style = window.getComputedStyle(el.parentElement); if (style.getPropertyValue('overflow') == 'hidden' || style.getPropertyValue('overflow-x') == 'hidden' || style.getPropertyValue('overflow-y') == 'hidden') { if (el.parentElement.getBoundingClientRect.width < el.getBoundingClientRect.width || el.parentElement.getBoundingClientRect.height < el.getBoundingClientRect.height) { visibilitySensor = false; } } } if ( el.getBoundingClientRect().top + (el.getBoundingClientRect().height / 2) < 0 || el.getBoundingClientRect().left < 0 || el.getBoundingClientRect().right > (window.innerWidth || document.documentElement.clientWidth) || el.getBoundingClientRect().bottom - (el.getBoundingClientRect().height / 2) > (window.innerHeight || document.documentElement.clientHeight) ) { visibilitySensor = false; } if (visibilitySensor && !window.adsArea26322.isVisible) { window.adsArea26322.isVisible = true; window.adsArea26322.refreshRate = refreshTimeTableVisible[adsAreaId]; } else if (!visibilitySensor && window.adsArea26322.isVisible) { window.adsArea26322.isVisible = false; window.adsArea26322.refreshRate = refreshTimeTableInvisible[adsAreaId]; } } observers.push(evt); }); } refreshQueueManager26322 = function (formatId, capping) { window.adsArea26322.capping++; window.adsArea26322.refreshTimer = Date.now(); var isClosed = false; if(window.adsArea26322.isClosed != undefined){ if(window.adsArea26322.isClosed){ isClosed = true } } if(formatId == 26328 && false){ if(isClosed == false){ refreshSlotFooter(26322, window.adsArea26322.capping); } }else{ if(isClosed == false) { refreshSlot(26322, window.adsArea26322.capping,window.adsArea26322.isVisible); } } } setInterval(function(){loopChecker26322();}, 1000); loopChecker26322 = function() { if (typeof tmzr.getAllWinningBids == 'undefined') {return} el = window.adsArea26322; if (!isNaN(el.refreshRate) && el.capping < el.cappingLimit && el.formatId != '26328') { lastBidder26322 = {"bidderCode":undefined, "responseTimestamp":0}; tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder26322.responseTimestamp){ lastBidder26322 = bid; } } }) window.adsArea26322.lastBidder = lastBidder26322; if(slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } if ((window.adsArea26322.refreshTimer + el.refreshRate) < Date.now()) { if(((el.refreshTimer + slowdown) < Date.now()) && slowBidders.includes(el.lastBidder.bidder) == true) { refreshQueueManager26322(el.formatId, el.capping); } else if(slowBidders.includes(el.lastBidder.bidder) == false){ refreshQueueManager26322(el.formatId, el.capping); } } } else if (el.formatId != '26325' && el.formatId != '26328' && el.capping < el.cappingLimit) { lastBidder26322 = {"bidderCode":undefined, "responseTimestamp":0}; if(el.lastBidder == undefined || slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder26322.responseTimestamp){ lastBidder26322 = bid; } } }) window.adsArea26322.lastBidder = lastBidder26322; if (window.adsArea26322.refreshTimer + 25000 < Date.now() && !slowBidders.includes(el.lastBidder.bidder)) { refreshQueueManager26322(el.formatId, el.capping); } else if ((window.adsArea26322.refreshTimer + slowdown < Date.now() && slowBidders.includes(el.lastBidder.bidder))) { refreshQueueManager26322(el.formatId, el.capping); } } else if (el.formatId == '26328' && el.capping < el.cappingLimit) { lastBidder26322 = {"bidderCode":undefined, "responseTimestamp":0}; if(el.lastBidder == undefined || slowBidders.indexOf(el.lastBidder.bidder)==-1){ slowdown = 0; } else { slowdown = parseInt(slowBiddersTimer[slowBidders.indexOf(el.lastBidder.bidder)]); } tmzr.getAllWinningBids().forEach(function(bid){ if(bid.adUnitCode==el.formatId){ if(bid.responseTimestamp > lastBidder26322.responseTimestamp){ lastBidder26322 = bid; } } }) window.adsArea26322.lastBidder = lastBidder26322; if (window.adsArea26322.refreshTimer + el.refreshRate < Date.now()) { refreshQueueManager26322(el.formatId, el.capping); } } }; } if(window.nugg_amazon != 1) { window.amzn_targetingParamsList = {}; window.adsAmzn26328 = {}; window.adsAmzn26755 = {}; var checkInterval = setInterval(function() { if (window.apstag) { clearInterval(checkInterval); //window.top.__tcfapi('addEventListener', 2, function(tcData, success) { //if(success && (tcData.gdprApplies === false || isEmpty(tcData.vendor.consents) === false)) { apstag.fetchBids({ slots: [ { slotID: 'sas_26300', slotName: '1097/397282/1356421/sas_26300', sizes: Getsize(2) }, { slotID: 'sas_26322', slotName: '1097/397282/1356421/sas_26322', sizes: Getsize(1) }, { slotID: 'sas_26323', slotName: '1097/397282/1356421/sas_26323', sizes: Getsize(3) }, { slotID: 'sas_30012', slotName: '1097/397282/1356421/sas_30012', sizes: Getsize(28) }, { slotID: 'sas_26328', slotName: '1097/397282/1356421/sas_26328', sizes: Getsize(6) }, ], timeout: 2e3 }, function(bids) { apstag.targetingKeys(); bids.forEach(bid => { if(bid.slotID === "sas_26300") { sas.setTargeting({ target: { amznbid_26300: [bid.amznbid], amzniid_26300: [bid.amzniid], amznp_26300: [bid.amznp], }, mode: 1, tagIds: [bid.slotID] }); if(bid.slotID === "sas_26328"){ window.adsAmzn26328.amznBid = bid; } if(bid.slotID === "sas_26755"){ window.adsAmzn26755.amznBid = bid; } if(0) { paramsList = { [26300]: { ['amznbid_26300']: [bid.amznbid], ['amzniid_26300']: [bid.amzniid], ['amznsz_26300']: [bid.amznsz], ['amznp_26300']: [bid.amznp], ['slotID_26300']: 26300, } } window.amzn_targetingParamsList = Object.assign(window.amzn_targetingParamsList,paramsList); } } if(bid.slotID === "sas_26322") { sas.setTargeting({ target: { amznbid_26322: [bid.amznbid], amzniid_26322: [bid.amzniid], amznp_26322: [bid.amznp], }, mode: 1, tagIds: [bid.slotID] }); if(bid.slotID === "sas_26328"){ window.adsAmzn26328.amznBid = bid; } if(bid.slotID === "sas_26755"){ window.adsAmzn26755.amznBid = bid; } if(1) { paramsList = { [26322]: { ['amznbid_26322']: [bid.amznbid], ['amzniid_26322']: [bid.amzniid], ['amznsz_26322']: [bid.amznsz], ['amznp_26322']: [bid.amznp], ['slotID_26322']: 26322, } } window.amzn_targetingParamsList = Object.assign(window.amzn_targetingParamsList,paramsList); } } if(bid.slotID === "sas_26323") { sas.setTargeting({ target: { amznbid_26323: [bid.amznbid], amzniid_26323: [bid.amzniid], amznp_26323: [bid.amznp], }, mode: 1, tagIds: [bid.slotID] }); if(bid.slotID === "sas_26328"){ window.adsAmzn26328.amznBid = bid; } if(bid.slotID === "sas_26755"){ window.adsAmzn26755.amznBid = bid; } if(0) { paramsList = { [26323]: { ['amznbid_26323']: [bid.amznbid], ['amzniid_26323']: [bid.amzniid], ['amznsz_26323']: [bid.amznsz], ['amznp_26323']: [bid.amznp], ['slotID_26323']: 26323, } } window.amzn_targetingParamsList = Object.assign(window.amzn_targetingParamsList,paramsList); } } if(bid.slotID === "sas_30012") { sas.setTargeting({ target: { amznbid_30012: [bid.amznbid], amzniid_30012: [bid.amzniid], amznp_30012: [bid.amznp], }, mode: 1, tagIds: [bid.slotID] }); if(bid.slotID === "sas_26328"){ window.adsAmzn26328.amznBid = bid; } if(bid.slotID === "sas_26755"){ window.adsAmzn26755.amznBid = bid; } if(0) { paramsList = { [30012]: { ['amznbid_30012']: [bid.amznbid], ['amzniid_30012']: [bid.amzniid], ['amznsz_30012']: [bid.amznsz], ['amznp_30012']: [bid.amznp], ['slotID_30012']: 30012, } } window.amzn_targetingParamsList = Object.assign(window.amzn_targetingParamsList,paramsList); } } if(bid.slotID === "sas_26328") { sas.setTargeting({ target: { amznbid_26328: [bid.amznbid], amzniid_26328: [bid.amzniid], amznp_26328: [bid.amznp], }, mode: 1, tagIds: [bid.slotID] }); if(bid.slotID === "sas_26328"){ window.adsAmzn26328.amznBid = bid; } if(bid.slotID === "sas_26755"){ window.adsAmzn26755.amznBid = bid; } if(0) { paramsList = { [26328]: { ['amznbid_26328']: [bid.amznbid], ['amzniid_26328']: [bid.amzniid], ['amznsz_26328']: [bid.amznsz], ['amznp_26328']: [bid.amznp], ['slotID_26328']: 26328, } } window.amzn_targetingParamsList = Object.assign(window.amzn_targetingParamsList,paramsList); } } }); //sas.render(); }); } }, 500); //}}); window.nugg_amazon = 1; } else { for (adun in window.amzn_targetingParamsList) { Object.entries(window.amzn_targetingParamsList[adun]).forEach(target => { const [key, value] = target; sas.setTargeting({ target: { [target[0]]: [target[1]], }, mode: 1, tagIds: [target[2]] }); }); } } if(typeof crtg_content === 'undefined'){var crtg_content = "";} var mydiv = document.getElementById("75922-1"); var creatediv = document.createElement("div"); creatediv.id = "sas_26322"; if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)){ creatediv.style.width = "320px"; creatediv.style.height = "100px"; }else{ creatediv.style.width = "728px"; creatediv.style.height = "90px"; } creatediv.style.margin = "auto"; if(1 == 2 && 1 == 1 && ((navigator.userAgent.match(/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile/i))||( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)))){ var paragraphs = document.getElementsByTagName("p"); var counter = paragraphs.length; var temp = 0; var myP = null; var myPNumber = null; var coeffFilterBegin = 0.1; var coeffFilterEnd = 0.8; var filterBegin = Math.ceil(coeffFilterBegin * counter); var filterEnd = Math.ceil(counter - (coeffFilterEnd * counter)); var limitPargraphs = 4; function convertHtmlToText(inputText) { var regex = /(<([^>]+)>)/ig; var returnText = "" + inputText; returnText = returnText.replace(regex, ""); return returnText; } if (paragraphs != null && counter > limitPargraphs) { for(var i = filterBegin; i < filterEnd; i++) { var filteringParagraphs = convertHtmlToText(paragraphs[i].innerHTML); var number = filteringParagraphs.split(' ').length; if (temp <= number) { temp = number; myP = filteringParagraphs; myPNumber = i; } } paragraphs[myPNumber].className += " aBigClassNameToAvoidCollision2"; paragraphs[myPNumber].appendChild(creatediv); } else { var divs = document.getElementsByTagName("div"); var counter = divs.length; var coeffFilterBeginDiv = 0.1; var filterBeginDiv = Math.ceil(coeffFilterBeginDiv * counter); if(divs[filterBeginDiv]){ divs[filterBeginDiv].className += " aBigClassNameToAvoidCollision2"; divs[filterBeginDiv].appendChild(creatediv); }else{ mydiv.appendChild(creatediv); } } }else{ mydiv.appendChild(creatediv); } window.Adcall_26322= function(){ sas.cmd.push(function() { sas.setEids(tmzr.getUserIdsAsEids()); tmzr.requestBids({ timeout: 3000, adUnitCodes :["26322"], bidsBackHandler: function(bidResponses) { window.targetingParams = window.targetingParams || []; window.targetingParams["26322"] = tmzr.getAdserverTargeting("26322")[26322]; var arr_width = {26322:728,26300:300,26323:300,26324:120,26711:300,26706:160,28108:300,30012:728,39287:970,35:50677,51410:728,28108:300}; var arr_width_video ={26300:300,26711:300,26323:300,39287:444,45111:640}; var arr_height = {26322:90,26300:250,26323:600,26324:600,26711:250,26706:600,28108:150,30012:90,39287:250,35:50677,51410:90,28108:250}; var bid = tmzr.getHighestCpmBids("26322")[0]; if(bid){ var hb_adid = window.targetingParams[26322].hb_adid; var sasBid = JSON.parse(JSON.stringify(bid)); sasBid.cpm = window.targetingParams[26322].hb_bid; bid.currency = bid.currency || "USD"; }else{ var sasBid ={}; } if(typeof Smart_SR_data === 'undefined'){ Smart_SR_data =""; } sas.setHeaderBiddingWinner("sas_"+26322, sasBid); sas.call("std", { tagId: 'sas_26322', siteId: 397282, pageId: 1356421, formatId: 26322, target:Smart_SR_data, timeout:3000, schain: "1.0,1!themoneytizer.com,59566,1,developpez.com,developpez.com"}, {networkId: 1097, domain: "https://ww1097.smartadserver.com", onNoad: function() { //if (bid && bid.bidder == "improvedigital" && bid.mediaType == "video") { //var creatediv = document.createElement("div"); //creatediv.id = '26322'; //creatediv.setAttribute("style","width:"+arr_width_video[26322]+"px;margin:auto;"); //document.getElementById("sas_26322").appendChild(creatediv); //var iframeDoc = document; //}else{ var myiframe = document.createElement('iframe'); myiframe.frameBorder=0; if((26322 == "26322" || 26322 == "30012") && GetMobileDesktop() == "mobile"){ myiframe.width="320px"; myiframe.height="100px"; }else{ myiframe.width=arr_width[26322]+"px"; myiframe.height=arr_height[26322]+"px"; } myiframe.id="sas_iframe_26322"; myiframe.setAttribute("scrolling", "no"); myiframe.setAttribute("marginheight", 0); myiframe.setAttribute("marginwidth", 0); myiframe.setAttribute("topmargin", 0); myiframe.setAttribute("leftmargin", 0); myiframe.setAttribute("allowtransparency", true); document.getElementById("sas_26322").appendChild(myiframe); var iframeDoc = myiframe.contentWindow.document; //} if (bid && bid.bidder == "criteo" && bid.mediaType == "native" && bid.adUnitCode == 26322) { var json = window.targetingParams[26322]; if(!isEmpty(json) && json.hb_bidder == "criteo") { var nativeScript = document.createElement("script"); nativeScript.src = "https://cdn.jsdelivr.net/npm/prebid-universal-creative@latest/dist/native-render.js"; iframeDoc.body.appendChild(nativeScript); new Promise(() => { nativeScript.onload = function() { var pbNativeTagData = {}; pbNativeTagData.requestAllAssets = true; pbNativeTagData.pubUrl = document.URL; pbNativeTagData.adId = json.hb_adid; document.getElementById("sas_iframe_26322").contentWindow.pbNativeTag.renderNativeAd(pbNativeTagData); } nativeScript.onerror = function() { console.log("error"); } }) } } if (bid) { if(bid.adUnitCode == 80234 && (["vidoomy", "improvedigital", "adform", "onetag", "adagio", "sharethrough", "amx", "pubmatic", "ogury", "openx", "rubicon", "eplanning", "richaudience", "freewheelssp"].includes(bid.bidder))){ args = { func: tmzr.renderAd, iframeDoc: iframeDoc, hb_adid: hb_adid, bidder: bid.bidder, globalBid: bid } window.whatToLoad(38, args); } else if(bid.adUnitCode == 26328) { args = { func: tmzr.renderAd, hb_adid: hb_adid, height: bid.height, width: bid.width, bidder: bid.bidder, footerPositionTopMobile: false,footerPositionTop: false,delayCloseBtn: false, } window.whatToLoad(6, args); }else if(bid.adUnitCode == 26755) { argsInter = { func: tmzr.renderAd, hb_adid: hb_adid, height: bid.height, width: bid.width, bidder: bid.bidder, closeButtonDelay: true, } window.whatToLoad(15, argsInter); }else if(bid.adUnitCode == 116434) { args = { func: tmzr.renderAd, hb_adid: hb_adid, height: bid.height, width: bid.width, } window.whatToLoad(44, args); }else if(bid && bid.mediaType == 'native' && bid.bidder == 'smilewantedfalse') { args = { func: tmzr.renderAd, hb_adid: hb_adid, bidder: bid.bidder, adUnitCode: bid.adUnitCode, native: bid.native } window.whatToLoad('native', args); } else { tmzr.renderAd(iframeDoc, hb_adid); } } }}); } }); } ); tmzrCountExec(75922, 1, 0); var checkiframe = setInterval(function(){ var myframe = creatediv.getElementsByTagName("iframe")[0]; if(myframe){ if(myframe.sandbox == ""){ myframe.setAttribute('sandbox', 'allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation'); myframe.setAttribute('data-forced-sandbox', true); } clearInterval(checkiframe)} },200); refreshVisibility26322(); };