Benchmark-DKbench
view release on metacpan or search on metacpan
data/wiki2.html view on Meta::CPAN
}
function getCustomParamsForMoat() {
var sli1 = "";
var sli2 = "";
var partnerCode = "wikiavideodistroscale500364393303";
var retVal = "&usemoat=1" + "&sli1=" + sli1 + "&sli2=" + sli2 + "&moatpc=" + partnerCode;
return retVal;
}
vx.dvptrack('ww', vx.gdprMacros('{"ww":"GDPR:__IS_GDPR__:__GDPR_CONSENT__:__GDPR_VENDOR__:CCPA:__IS_CCPA__:__CCPA_FLAG__"}','ww', '1', '0','GB'));
var frtargets={"s1180":95,"s1003":95,"s995":95,"s3663":95,"s597":95,"s1032":95,"s596":95,"s1874":95,"s1684":95,"s593":95,"s594":95,"s199":95,"s261":95,"s260":95,"s1109":95,"s417":95,"s1040":95,"s262":95,"s254":95,"s988":95,"s3111":95,"s3709":95,"s25...
var gfrdly=0;
if ('s6474' in frtargets) {
var frspec=frtargets['s6474'];
var randnumber=(Math.random()*100);
if (randnumber<frspec) {
gfrdly=1;
}
}
//window.dsGGvaldiator=function(){
data/wiki2.html view on Meta::CPAN
}
}
for (var tagdef in dvp_meta.adtagdefs) {
dvp_meta.adtagdefs[tagdef].friendly=true;
if (dvp_meta.adtagdefs[tagdef].url) {
if (dvp_meta.adtagdefs[tagdef].url.indexOf("3851171199385532") !== -1 || dvp_meta.adtagdefs[tagdef].url.indexOf("?iu=/34230109") !== -1) { // G1 migration
dvp_meta.adtagdefs[tagdef].url=g1_dfp(dvp_meta.adtagdefs[tagdef].url);
}
dvp_meta.adtagdefs[tagdef].url = dvp_meta.adtagdefs[tagdef].url.replace(/__DYN_WIDTH__/g,dvp_meta.width).replace(/__DYN_HEIGHT__/g,dvp_meta.height);
dvp_meta.adtagdefs[tagdef].url = vx.gdprMacros(dvp_meta.adtagdefs[tagdef].url, dvp_meta.adtagdefs[tagdef].cp, '1', '0','GB');
dvp_meta.adtagdefs[tagdef].url = dvp_meta.adtagdefs[tagdef].url.replace(/__IRISTV_CONTEXT__/g,((dvp_meta.vid && dvp_meta.vid.iristv_context)?encodeURIComponent(dvp_meta.vid.iristv_context):''));
dvp_meta.adtagdefs[tagdef].url = dvp_meta.adtagdefs[tagdef].url.replace(/__DYNAMIC_CUSTOM_PARAMS__/g, getCustomParams());
if(dvp_meta.adtagdefs[tagdef].url.indexOf("ca-video-pub-3851171199385532") !== -1 || dvp_meta.adtagdefs[tagdef].url.indexOf("?iu=/34230109") !== -1) {
if (gfrdly==1) {
//dvp_meta.adtagdefs[tagdef].friendly=true;
} else {
//dvp_meta.adtagdefs[tagdef].friendly=false;
}
//dvp_meta.adtagdefs[tagdef].validator="dsGGvaldiator";
dvp_meta.adtagdefs[tagdef].sdk="ima_html5";
data/wiki2.html view on Meta::CPAN
videoElem.addEventListener('seeked', function() {
vx.debug('seeked loop ' + loopCount);
});
/* END NEW CODE */
function fireMRTagRequest() {
var tagurl = "https://a.jsrdn.com/prebid/tags/p22599-tp-fandom-desktop.json?aca=1&env.dyncp=__DYNAMIC_CUSTOM_PARAMS__&env.sd=fandom.com&env.gc=GB";
tagurl = tagurl.replace(/__DYN_WIDTH__/g,dvp_meta.width).replace(/__DYN_HEIGHT__/g,dvp_meta.height);
tagurl = vx.gdprMacros(tagurl, 'tp', '1', '0','GB');
tagurl = tagurl.replace(/__IRISTV_CONTEXT__/g,((dvp_meta.vid && dvp_meta.vid.iristv_context)?encodeURIComponent(dvp_meta.vid.iristv_context):''));
tagurl = tagurl.replace(/__DYNAMIC_CUSTOM_PARAMS__/g, getCustomParams());
// For tp tag add the IAS config parameters
tagurl = tagurl + getCustomParamsForIAS() + getCustomParamsForMoat();
if (window && window.ads && window.ads.runtime && window.ads.runtime.distroscale && window.ads.runtime.distroscale.adUnit) {
tagurl += "&pub.gam_iu=" + encodeURIComponent(window.ads.runtime.distroscale.adUnit);
}
else {
tagurl += "&pub.gam_iu=" + encodeURIComponent("/5441/wka1b.video/incontent_video/desktop/oasis-article-ic");
( run in 0.652 second using v1.01-cache-2.11-cpan-49f99fa48dc )