请教:如何屏蔽godaddy免费空间的javascript脚本 请各位大蛱们帮忙一下..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>This Web site coming soon</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--A: { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:link { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:visited { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:hover { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #3268B5; text-decoration: underline; font-weight: normal;}.title { font-family: Arial, Verdana, Helvetica; font-size: 10pt; color: #990000; font-weight: bold; font-style: normal; text-decoration: none;}
td { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #000000; font-weight: normal; font-style: normal; text-decoration: none;}-->
</style>
</head><body marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<div align="center">
<table cellpadding="0" cellspacing="0" border="0" width="100%" background="http://images.secureserver.net/hosting_welcome/background.gif" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="1"></td>
<td align="center">
<img src="http://images.secureserver.net/hosting_welcome/header.jpg" width="780" height="75" align="middle"></td>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="1"></td>
</tr>
<tr>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="478"></td>
<td background="http://images.secureserver.net/hosting_welcome/main.jpg" align="center" valign="top">
<table width="540" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<!-- Text Alignment Spacer -->
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="540" height="40"></td>
<!-- Close Text Alignment Spacer -->
</tr>
<tr>
<td>
<!-- div align="center">
<p class="title">domainnamehere.com is coming soon.</p>
</div -->
If you are the owner of this web site you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <A href="http://ftphelp.secureserver.net/index.html">click here for FTP Upload Information</a>. </td>
</tr>
</table></td>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="478"></td>
</tr></table>
</div>
</body>
</html></iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script> 我就是想 屏蔽: 最后面那一段:</iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script> 当然不能让服务器知道的那种,, 我只求屏蔽 此段script 脚本 即可. 先谢谢了.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>This Web site coming soon</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--A: { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:link { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:visited { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #990000; text-decoration: underline; font-weight: normal;}
A:hover { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #3268B5; text-decoration: underline; font-weight: normal;}.title { font-family: Arial, Verdana, Helvetica; font-size: 10pt; color: #990000; font-weight: bold; font-style: normal; text-decoration: none;}
td { font-family: Arial, Verdana, Helvetica; font-size: 9pt; color: #000000; font-weight: normal; font-style: normal; text-decoration: none;}-->
</style>
</head><body marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<div align="center">
<table cellpadding="0" cellspacing="0" border="0" width="100%" background="http://images.secureserver.net/hosting_welcome/background.gif" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="1"></td>
<td align="center">
<img src="http://images.secureserver.net/hosting_welcome/header.jpg" width="780" height="75" align="middle"></td>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="1"></td>
</tr>
<tr>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="478"></td>
<td background="http://images.secureserver.net/hosting_welcome/main.jpg" align="center" valign="top">
<table width="540" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<!-- Text Alignment Spacer -->
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="540" height="40"></td>
<!-- Close Text Alignment Spacer -->
</tr>
<tr>
<td>
<!-- div align="center">
<p class="title">domainnamehere.com is coming soon.</p>
</div -->
If you are the owner of this web site you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, <A href="http://ftphelp.secureserver.net/index.html">click here for FTP Upload Information</a>. </td>
</tr>
</table></td>
<td><img src="http://images.secureserver.net/hosting_welcome/clear.gif" width="1" height="478"></td>
</tr></table>
</div>
</body>
</html></iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script> 我就是想 屏蔽: 最后面那一段:</iframe></noscript></object></layer></span></div></table></body></html><!-- adsok -->
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script> 当然不能让服务器知道的那种,, 我只求屏蔽 此段script 脚本 即可. 先谢谢了.
不知你是不是这个意思
有没有这样的函数..
然后你要的页面不要写具体的HTML.
只写一个onload函数.
用AJAX把你要的东西读出来.
然后
if(document.body)
document.body.innerHTML=yourTxt;
LZ可以用css来隐藏他产生出的广告(一般广告的格式都是固定的)
<script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>
我也想隐藏这一段,LZ实现了也告诉我一下啊