blokiranje reklama na xtgem,sextgem,wapka sajtovima
Forum Tehnologija WapMaster Sekcija


GRO
GrofWap  
 20.11.2016 u 19:39

e hvala
ICE
IcE  
 20.11.2016 u 19:41

e nista
ICE
IcE  
 20.11.2016 u 19:44

bolje resenje od ovog javascripta je css ,ako reklame imaju svoj "container" ili "wrapper" jednostavno stavis css da nadje i sakrije to
  1. #ime-wrappera{visibility:hidden;}
GRO
GrofWap  
 20.11.2016 u 19:46

nazalost ne nisu reklame staticne, problem je ogroman nakon sto udes na stranicu nakon 5 sekundi redirekta te na reklame ili da preuzmes neku tamo aplikaciju koja je u biti zlonamjerna
ICE
IcE  
 20.11.2016 u 19:52

imas link ovde u partnerima sajta?
GRO
GrofWap  
 20.11.2016 u 19:55

IcE, da zadnji link
ICE
IcE  
 20.11.2016 u 19:59

jes bio vidio pobjego glavom bez obzira citavo vrijeme reloaduje prozor i ucitava bog te pitaj sta ali predpostavljam ovo
  1. <script type='text/javascript' src='//eegoh7o.bid/ba/01/51/ba0151ea593b6c4d982c33e6bea7257f.js'></script><script type="text/javascript" src="http://sextgem.com/js/page_templates_simple.js"></script><!----><noscript></noscript><script type="text/javascript"></script><textarea style="display:none;"></textarea><style></style><iframe style="display:none;width:0px;height:0px;border:0"></iframe><noframes></noframes><script type="text/javascript" id="xtjs"> (function (){
  2.  
  3. var d, b, ad_pos = false, el_rolling_ads, html, el, el_inner, el_new = '', i = 0;
  4.  
  5. function xt_cache () {
  6. d = document;
  7. b = d.getElementsByTagName('body')[0];
  8. html = d.documentElement;
  9. el = d.getElementById( 'st1479664335' );
  10. el_inner = d.getElementById( 'a1479664335' );
  11. el_rolling_ads = el.getElementsByClassName( 'rolling_ad' );
  12. }
  13.  
  14. xt_cache();
  15.  
  16. if ( el.children[ 0 ] !== el_inner && el.children[ 0 ].tagName == "A" ) {
  17.  
  18. for ( i = 1; i < el.children.length; i++ ) {
  19. el_new += el.children[i].outerHTML;
  20. }
  21.  
  22. el.innerHTML = el_inner.outerHTML.split( '>' )[ 0 ] + '>' + el_new + '</span>';
  23.  
  24. xt_cache();
  25. }
  26. else if ( el.offsetParent === null ) {
  27. b.insertBefore( el, b.firstChild );
  28.  
  29. xt_cache();
  30. ad_pos = true;
  31. }
  32.  
  33. if (d.getElementById('kosmos-banner')) {
  34. ad_pos = true;
  35. }
  36.  
  37. el.style.display="block";
  38. el.style.textAlign="center";
  39. el.style.position="fixed";
  40. if ( ad_pos ) { el.style.top=10+"px"; el.style.bottom='auto'; } else { el.style.bottom=10+"px"; }
  41. el.style.left="0";
  42. el.style.right="0";
  43. el.style.height="1px";
  44.  
  45. var el_imgs = el.getElementsByTagName( 'IMG' );
  46. for (i=0,len=el_imgs.length; i<len; i++) { el_imgs[i].onload = fix_height; }
  47.  
  48. function fix_height () {
  49. el.style.marginBottom = el_inner.offsetHeight+"px";
  50. if ( ad_pos ) {
  51. html.style.paddingTop = el_inner.offsetHeight+9+"px";
  52. } else {
  53. html.style.paddingBottom = el_inner.offsetHeight+9+"px";
  54. }
  55. }
  56.  
  57. setTimeout(function(){fix_height();},200);
  58.  
  59. var closebutton = d.createElement('IMG');
  60. closebutton.src = 'http://xtgem.com/images/close2.png?v=0.01';
  61. closebutton.alt = '[x]';
  62. closebutton.setAttribute( 'class', '_xt_ad_close_internal' );
  63. closebutton.onclick = function () { closebutton.setAttribute( 'style', 'display: none !important' ); el.style.position = 'static'; closebutton.onclick = null; html.style.paddingBottom = '0'; html.style.paddingTop = '0'; if ( d.getElementById('wr1479664335') ) { d.getElementById('wr1479664335').style.bottom = '0'; } };
  64. el_inner.appendChild(closebutton);
  65.  
  66. // lets roll ads if needed
  67. if ( el_rolling_ads )
  68. {
  69. function roll_ads () {
  70. var i = 0,
  71. len = el_rolling_ads.length,
  72. curr_ad,
  73. next_ad,
  74. first_ad = el_rolling_ads[ 0 ];
  75.  
  76. for ( ; i < len; i++) {
  77. curr_ad = el_rolling_ads[ i ];
  78. next_ad = el_rolling_ads[ i + 1 ] ? el_rolling_ads[ i + 1 ] : first_ad;
  79.  
  80. if ( curr_ad.className.indexOf( ' roll_on' ) !== -1 ) {
  81. curr_ad.className = curr_ad.className.replace(' roll_on', '');
  82. next_ad.className = next_ad.className + ' roll_on';
  83. break;
  84. }
  85. }
  86. setTimeout(roll_ads, 3500);
  87. }
  88. roll_ads();
  89. }
  90. }());</script>
GRO
GrofWap  
 20.11.2016 u 20:01

imas neki savjet sta da uradim?
ICE
IcE  
 20.11.2016 u 20:03

ono sto bi moglo pomogne a moze se dobije iz ovog javascripta je element kojeg js sam kreira a to je rolling_ad
dakle moes pokusat sa css-om da maknes rolling_ad
  1. .rolling_ad{visibility:hidden;}

ili
  1. .rolling_ad{display:none;}
GRO
GrofWap  
 20.11.2016 u 20:04

IcE, ajde inbox ako moze

Forum početna