Banner Killer [Code]

  • Thread starter Thread starter toi5
  • Ngày gửi Ngày gửi

toi5

<b><font color = #838383>Try Hard</font></b>
Moderator
Lão Làng GVN
Em mới sưu tầm được mấy cái code cho mấy host dùng để loại bỏ banner nè:D

.TK
Đặt các code sau giữa tag <Head> </Head> của trang chính để loại bỏ những popup đáng ghét
Bạn có 3 cách để làm điều này, những code đầu sau Num 1 cho phép bạn ẩn url thật sự cho khách xem, code sau Num 2 cho phép bạn điều khiển cửa sổ popup, code sau Num 3 cho phép bạn đóng popup sau một thời gian quy định
Mã:
<!-- ############# Num 1 ############# --> 
<!-- BannerKiller , Smart-Hack --> 
<Script> 
   if (window.top != window.self) { window.top.location=window.self } 
</script> 

<!-- ############# Num 2 ############# --> 
<!-- BannerKiller , Smart-Hack --> 
<Script> 
   subwin = window.open("http://YourHost.com/YourAccount/PopupPage","subwindow","height=100,width=486"); 
</Script> 

<!-- ############# Num 2 ############# --> 
<!-- BannerKiller , Smart-Hack --> 
<script language="JavaScript"> 
   setup='toolbar=no,location=no,directories=no,status=no,menubar=no,width=200,height=150' 
   setup += 'scrollbars=no,resizable=no' 
   pop = window.open ("","subwindow",setup) 
   pop.document.write('<head>'); 
   pop.document.write('<Title>'); 
   <!-- This is the title to change for on the new window you open --> 
   pop.document.write('C4r0|yn W0r|d'); 
   pop.document.write('</Title>'); 
   pop.document.write('<script language="javascript">'); 
   pop.document.write('setTimeout('); 
   pop.document.write('"self.close()'); 
   <!-- This is the line to change for how long the window is open --> 
   <!-- Its milliseconds , so 5000 is 5 seconds, 1000 is 1 second. --> 
   pop.document.write(';",5000)'); 
   pop.document.write('</'); 
   pop.document.write('script>'); 
   pop.document.write('</head>'); 
   <!-- This changes the colour of the main background.             --> 
   pop.document.write('<body bgcolor=#FFFF80>'); 
   <!-- This is the actual content of the window you are opening    --> 
   pop.document.write('<center><h3>Dont forget to visit</h3></center>'); 
   pop.document.write('<center><h3><a href="http://smart-hack.com" target="_blank">Smart-Hack</a></h3></center>'); 
   pop.document.write('<center><h6>For all your BannerKillers :)</h6></center>'); 
   pop.document.write('</body>'); 
</script>

50megs.com
Đặt giữa tag <Head> và <Title> trên tất cả các trang của bạn
Mã:
<!-- BannerKiller , Smart-Hack --> 
<NOSCRIPT> 
<!-- <BODY> --> 
</NOSCRIPT>

Fortune City
Đặt nửa đoạn đầu trên tag <HTML> , và nửa đoạn sau trên tag </Body> ở tất cả các trang
Mã:
<!-- BannerKiller , Smart-Hack --> 
<!-- Put This Above The <HTML> Tag--> 
<div style="position:relative;top:-110;z-index:0;background:;"> 
<!--And Put this above the < /BODY> tag--> 
</div>

Free Yellow

Đặt trước tag </Body>
Mã:
<!-- BannerKiller , Smart-Hack --> 
<noembed><xmp>

Geocities (Yahoo!)
Đặt trước tag </HTML> để bỏ popup
Mã:
<!-- BannerKiller , Smart-Hack --> 
<noscript><noscript> 
<plaintext><plaintext>

Hobbiton
Đặt trước tag <HTML>
Mã:
<!----COPY N PASTE----> 
<SCRIPT> 
window.open=null; 
</SCRIPT> 
<!----END---->
 
Hay quá, cám ơn bác toi5, giờ thì thằng yahoo Geocities chết với tui. Cám ơn nhiều.
 
Back
Top