window.yaContextCb = window.yaContextCb || []
((counterHostname) => {
window.MSCounter = { counterHostname: counterHostname };
window.msCounterExampleCom = {};
window.mscounterCallbacks = window.mscounterCallbacks || [];
window.mscounterCallbacks.push(() => {
window.msCounterExampleCom = new MSCounter.counter({ account: "ren_tv", tmsec: "ren_tv", autohit: false });
});
const newScript = document.createElement("script");
newScript.onload = function () {
window.msCounterExampleCom.hit();
};
newScript.async = true;
newScript.src = `${counterHostname}/ncc/counter.js`;
const referenceNode = document.querySelector("script");
if (referenceNode) {
referenceNode.parentNode.insertBefore(newScript, referenceNode);
} else {
document.firstElementChild.appendChild(newScript);
}
})("https://tns-counter.ru/");
window.yaContextCb.push(()=>{
Ya.adfoxCode.create({
ownerId: 241452,
containerId: 'adfox_16796574778423508',
params: {
pp: 'i',
ps: 'ccup',
p2: 'iedw'
}
})
})