Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(function () {
- var t_er = [];
- if (window.ANX_async_load_flag == undefined) {
- testDisplay = true;
- t_er.push('ANX_async_load_flag');
- }
- if (window.ads160left == undefined) {
- testDisplay = true;
- t_er.push('ads160left');
- }
- if (window.showAdsMH == undefined) {
- testDisplay = true;
- t_er.push('showAdsMH');
- }
- var scripts = jQuery('script');
- for (var i = 0; i < scripts.length; i++) {
- if (scripts[i].src == 'http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js') {
- if (!adsbygoogle.loaded) {
- testDisplay = true;
- t_er.push('adsbygoogle');
- }
- }
- }
- console.log(t_er);
- if (testDisplay) {
- jQuery('img').not('.post-ratings img, .brand img').attr('src', 'http://img.mangahost.com/br/notavailable.png');
- jQuery('.ads').removeClass('ads336x280 ads728x90 ads160x600 ads300x250');
- 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ÚNCIOS* em nosso site.</span><br><em style="color: #94e0f6">Essa é a única colaboraçã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ça bloqueio de anúncios continuará a bloquear as imagens do site.</small></div>');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment