salut mecsdans le but de supprimer la pub de l'hebergeur gratuit php/mysql www.100webspace.com ,je poste ce message pour construire une script anti-pub ,ca veut dire une script qui echappe la fonctionalite de cette script (c'est la script que 100webspace place au haut de chaque page de site : exemple : [ Lien ] , la page 555.htm est completement vide -sans titre et sans meta et sans aucune balise - cela permet de savoir la script de pub en consultant la sourse de la page ) :voila la script :
<div id='1293440689' style='text-align:center'><table bgcolor="#000000" align="center" border="0" cellpadding="1" cellspacing="0" width="778"> <tr> <td width="100%"> <table background="/icons/100ws/bg1.gif" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#E7E7E7"> <tr> <td width="10%"><a title='Free web hosting by 100WebSpace.com' href='http://www.100webspace.com'><img border=0 alt='Free web hosting by 100WebSpace.com' src="/icons/100ws/freewebhosting.gif" width="172" height="24"></a></td> <td height="24" align="center" width="90%" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;"> <a href=" [ Lien ]" title="100mb free web space" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">100mb free web space</a> | <a href=" [ Lien ]" title="web hosting by lonex" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">web hosting by lonex</a> | <a href=" [ Lien ]" title="2 tier affiliate program" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">2 tier affiliate program</a> | <a href=" [ Lien ]" title="linux hosting" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">linux hosting</a> | <a href=" [ Lien ]" title="web hosting" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">web hosting</a> | <a href='#' style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="banner_links_sh(false);" onMouseOut="this.style.color= '#000000';" onClick='banner_links_sh(true);'>links</a> </td> </tr> </table> <div style='display:none;text-align:right;' id='banner_links'> <table background="/icons/100ws/bg2.gif" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#E7E7E7"> <tr> <td height="24" align='center' style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;"> <a href=" [ Lien ]" target="_blank" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">web hosting</a> | <a href=" [ Lien ]" target="_blank" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">cheap web hosting</a> | <a href=" [ Lien ]" target="_blank" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">website hosting</a> | <a href=" [ Lien ]" title="free web hosting" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">free web hosting</a> | <a href=" [ Lien ]" title="web hosting by ntchosting" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">web hosting by ntchosting</a> | <a href=" [ Lien ]" target="_blank" style="font-weight: normal; font-family:Tahoma; color:#000000; font-size:11px; text-decoration: none;" onMouseOver="this.style.color = '#0000FF'" onMouseOut="this.style.color = '#000000'">online advertising</a> </td> </tr> </table> </div> </td> </tr></table><table align="center" border="0" cellpadding="1" cellspacing="0" width="778"> <tr>
<td width="100%"> <script language="JavaScript"> <!-- //------------------------------------------------- function check_browser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5); return this; } //------------------------------------------------- function check_banner(){ var bw = new check_browser(); var PageWidth = (bw.ns4 || bw.ns5) ? innerWidth : document.body.offsetWidth - 20; var PageHeight = (bw.ns4 || bw.ns5) ? innerHeight : document.body.offsetHeight - 20; if (parent && (PageWidth < 300 || PageHeight < 200)) { var el = document.getElementById('1293440689'); el.style.display = "none"; } } //------------------------------------------------- function banner_links_sh(isc){ var el = document.getElementById('banner_links'); if(el.style.display=='none') el.style.display = 'block'; else{ if(!isc) return true; el.style.display = 'none'; } return true; } //------------------------------------------------- function google_ad_request_done(google_ads) { if (google_ads.length < 1 ) return; var colspana = (google_ads.length<3)?3:google_ads.length; document.write("<table cellpadding='0' cellspacing='0' BORDER=0 style='width:778px;background-color:#ffffff;border-style:solid;border-width:1px;border-color:#000000;'>"); document.write("<tr><td align='left' style='padding: 2 2 2 2;background-color:#E9E9E9;border-style:solid;border-width:0 0 1 0;border-color:#000000;' colspan='"+colspana+"'>"); if (google_info.feedback_url) { document.write("<a href='" + google_info.feedback_url +"' style='color:#333333;font-family:Tahoma;font-size: 9px; padding-left:6px; text-decoration:none;'>Ads by Google</a>"); } else { document.write("Ads By Google"); } document.write("</td></tr><tr>"); if (google_ads[0].type == 'text') { for(i = 0; i < google_ads.length; ++i) { document.write("<td nowrap style='padding:2 2 2 2;cursor:pointer;cursor:hand;'>" + "<table width='100%' height='100%' bgcolor='#F4FAFF' style='border: 1px solid #000000; padding:3 3 3 3;' cellspacing='0' cellpadding='0'>"+ "<tr><td id='taw"+i+"' onFocus=\"ss('go to "+google_ads[i].visible_url+"')\" onMouseOver=\"ss('go to "+google_ads[i].visible_url+"')\" "+ "onMouseOut=\"cs()\" onClick=\"ga(this,event)\"><a id='aw"+i+"' target='_top' style='font-weight:bold;font-family:Tahoma; font-size:12px;"+ "color:#0000FF;' href='" + google_ads[i].url + "'>" + google_ads[i].line1 + "</a><br>" + "<div style='font-family:Tahoma; font-size:11px; color:#000000;'>"+google_ads[i].line2 + "<br>" + google_ads[i].line3 + "<br></div>" + "<a style='font-family:Tahoma; font-size:11px; color:green;' href='" + google_ads[i].url + "' >" + google_ads[i].visible_url + "</a></td></tr></table>"); } /* if(google_ads.length < 3 ){ document.write("<td nowrap><form method='get' action='http://www.google.com/custom' target='_top'>"+ "<table bgcolor='#ffffff' border='0'>"+ "<tr><td nowrap='nowrap' valign='middle' align='left' height='32'>"+ "<a href='http://www.google.com/'>"+ "<img src='http://www.google.com/logos/Logo_25wht.gif' border='0' alt='Google' align='middle'></img></a>"+ "<input type='text' name='q' size='21' maxlength='255' value=''></input>"+ "<input type='image' src='/icons/100ws/searchbut.gif' name='sa' value='Search'></input>"+ "<input type='hidden' name='client' value='pub-3460518834604685'></input>"+ "<input type='hidden' name='forid' value='1'></input>"+ "<input type='hidden' name='channel' value='0974414919'></input>"+ "<input type='hidden' name='ie' value='ISO-8859-1'></input>"+ "<input type='hidden' name='oe' value='ISO-8859-1'></input>"+ "<input type='hidden' name='cof' value='GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;'></input>"+ "<input type='hidden' name='hl' value='en'></input>"+ "</td></tr></table>"+ "</form></td>"); } */ document.write("</tr>"); } if (google_ads[0].type == 'image') { document.write("<tr><td align='center'>" + "<a href='" + google_ads[0].url + "'style='text-decoration: none'>" + "<img src='" + google_ads[0].image_url + "' height='" + google_ads[0].height + "' width='" + google_ads[0].width + "' border='0'></a></td></tr>"); } document.write ("</table>"); } //------------------------------------------------- function ss(w,id) {window.status = w;return true;} //------------------------------------------------- function cs(){window.status='';} //------------------------------------------------- function ca(a) {top.location.href=document.getElementById(a).href;} //------------------------------------------------- function ga(o,e) {if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h)r = h.id;}}else {h = e.srcElement;f = h.parentNode;if (f) p = f.id;t = h.id;}if (t==a || p==a || r==a)return true;top.location.href=document.getElementById(a).href;}} //------------------------------------------------- window.onload = check_banner; --> </script> <script language="JavaScript"> <!-- google_ad_client = "pub-3460518834604685"; google_ad_channel ="7355677264"; google_ad_output = "js"; google_max_num_ads = 4; google_safe = "medium"; google_feedback = "on"; google_ad_type = "text_image"; google_color_line = "ff0000"; --> </script> <script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> <noscript> <img height=1 width=1 border=0 src="http://pagead2.googlesyndication.com/pagead/imp.gif?client=pub-3460518834604685&event=noscript"/><br /> </noscript> </td> </tr></table></div><script type="text/javascript" language="javascript" src="http://counter.fateback.com/java.php?user=11469"></script><noscript><a href=" [ Lien ]" target="_blank"><img src=" [ Lien ]" alt="counter" border="0"></a></noscript>
<!-- ### 1293440689 ### (fixer) -->
merci aux participants .....
pk tu nous donne tout le code ?
bon voila un script java qui va supprimer ads google mais une toute petite banniere restera
mé ça dans toute tes pages:::
<head><script language=javascript> function kill_ad() { window.top.document.body.cols = "*,0"; setTimeout("kill_ad()",10); } function setInterval(x,y) { return 0; } window.setTimeout("kill_ad()",10); </script> </head><body><html><head> <title></title></head>
<body>
</body>
</html>valaa c fini plu de pub !!!!...:::webcapitain:::...
Se souvenir du profil
Mot de passe oublié ? / Activation de compteCréer un compte
1 904 115 membres 19 nouveaux aujourd'hui 16 196 membres club