Guest User

Untitled

a guest
Jan 18th, 2016
1,602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery(function () {
  2.   var t_er = [];
  3.   if (window.ANX_async_load_flag == undefined) {
  4.     testDisplay = true;
  5.     t_er.push('ANX_async_load_flag');
  6.   }
  7.   if (window.ads160left == undefined) {
  8.     testDisplay = true;
  9.     t_er.push('ads160left');
  10.   }
  11.   if (window.showAdsMH == undefined) {
  12.     testDisplay = true;
  13.     t_er.push('showAdsMH');
  14.   }
  15.   var scripts = jQuery('script');
  16.   for (var i = 0; i < scripts.length; i++) {
  17.     if (scripts[i].src == 'http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js') {
  18.       if (!adsbygoogle.loaded) {
  19.         testDisplay = true;
  20.         t_er.push('adsbygoogle');
  21.       }
  22.     }
  23.   }
  24.   console.log(t_er);
  25.   if (testDisplay) {
  26.     jQuery('img').not('.post-ratings img, .brand img').attr('src', 'http://img.mangahost.com/br/notavailable.png');
  27.     jQuery('.ads').removeClass('ads336x280 ads728x90 ads160x600 ads300x250');
  28.     jQuery('.ads').html('<div style="padding: 25px 30px; font-size: 21px; display: block !important;background: #333333;margin: 30px;line-height: 100%;"><span style="color:white">Por Favor</span> <span style="color: yellow">Desative Seu <img alt="AdBlock" src="http://img.mangahost.com/br/adblock.png" style="border:none; width:115px"> ou BLOQUEADOR DE AN&Uacute;NCIOS* em nosso site.</span><br><em style="color: #94e0f6">Essa &eacute; a &uacute;nica colabora&ccedil;&atilde;o que pedimos para continuarmos no ar.</em>  <a style="color:white;text-decoration:underline" href="http://img.mangahost.com/br/tutorial_desativar_adblock.jpg" target="_blank" title="Clique!">Clique aqui para saber como desativar!</a><br><br><small style="color:yellow">*Qualquer programa que fa&ccedil;a bloqueio de an&uacute;ncios continuar&aacute; a bloquear as imagens do site.</small></div>');
  29.  
  30.   }
  31. });
Advertisement
Add Comment
Please, Sign In to add comment