document.OperaCheckLoops = 10;
function fOperaCheckLoops() {
if(document.OperaCheckLoops > 0){
if(window.getComputedStyle(document.body)['display'] == 'none') {
ym(90533905, 'params', {
AllBrowsers: 'Content zablokirovan'
});
//console.log('Content zablokirovan');
} else {
document.OperaCheckLoops--;
setTimeout("fOperaCheckLoops()", 400);
}
} else {
//console.log('loops ended');
}
}
setTimeout("fOperaCheckLoops()", 300);