JOKER450 | Bonjour,
Quand je seurfe j’ai des fois un script nommer "displayHandler" qui demande à être télécharger sont contenu.
Que veut dire se script et comment l’empêcher de venir ?
Code :
- document.write('<a href="https://tracead.com/clickHandler.php?sId=3139&bId=87101" target="_blank" id="tracead_banner_87101"><img src="https://tracead.com/static/advertiser_files/2544/banner_87101.gif" alt="Online Subscription CT+VT FR" border="0" /></a>');
- function AddScrollEvent(b){var a=window.onscroll;if(typeof window.onscroll!="function" ){window.onscroll=b}else{window.onscroll=function(){if(a){a()}b()}}}function GetClientSize(){var a={width:0,height:0};if(document.body&&document.body.offsetWidth){a={width:document.body.offsetWidth,height:document.body.offsetHeight}}else{if(document.compatMode=="CSS1Compat"&&document.documentElement&&document.documentElement.offsetWidth){a={width:document.documentElement.offsetWidth,height:document.documentElement.offsetHeight}}else{if(window.innerWidth&&window.innerHeight){a={width:window.innerWidth,height:window.innerHeight}}}}return a}function GetBannerPos(c){var b={x:0,y:0},a=document.getElementById(c);if(a.offsetParent){do{b.x+=a.offsetLeft;b.y+=a.offsetTop}while(a=a.offsetParent)}return b}function GetBannerSize(b){var a=document.getElementById(b);return{width:a.offsetWidth,height:a.offsetHeight}}function GetClientPos(){var a={x:0,y:0};if(typeof window.pageYOffset!="undefined" ){a.x=window.pageXOffset;a.y=window.pageYOffset}else{if(typeof document.documentElement.scrollTop!="undefined"&&document.documentElement.scrollTop>0){a.x=document.documentElement.scrollLeft;a.y=document.documentElement.scrollTop}else{if(typeof document.body.scrollTop!="undefined" ){a.x=document.body.scrollLeft;a.y=document.body.scrollTo}}}return a}function BannerVisible(e){var d,c,b,a;d=GetBannerPos(e);c=GetBannerSize(e);b=GetClientPos();a=GetClientSize();return((d.y-b.y)<a.height&&(d.y-b.y)>=0&&(d.x-b.x)<a.width&&(d.x-b.x)>=0)||((d.y-b.y+c.height)<=a.height&&(d.y-b.y+c.height)>0&&(d.x-b.x+c.width)<=a.width&&(d.x-b.x+c.width)>0)}function SendRequest(a){var b=new Image(1,1);b.src=a};var tracead_87101_displayed = false;
- function Banner87101Callback()
- {
- if (BannerVisible("tracead_banner_87101" ) && !tracead_87101_displayed)
- {
- SendRequest("https://tracead.com/callbackHandler.php?sId=3139&cId=5307&bId=87101" );
- tracead_87101_displayed = true;
- }
- }
- AddScrollEvent(function() { Banner87101Callback(); });
- Banner87101Callback();
|
|