你那个空间也太……算了,写了一个小脚本给你,试试看吧:<html> <head> <title>Clear Ad</title> </head> <body> <a href="http://www.pillmedics.com/cgi-bin/affiliates/clickthru.cgi?id=pinkservers" target="_top"><img src="http://www.pinkservers.net/adimages/sponsors/pillmedics/banner01.gif" width=468 height=60 border=1 alt="Click to Visit"></a> <script type="text/javascript"><!-- // Hide the elements 'a' which 'href' start with special string, // not necessary if the content of the link is empty. /* for (var i=0; i<document.links.length; i++) { var a = document.links[i]; if (a.href.indexOf("http://www.pillmedics.com") != -1) { a.style.display = "none"; } } */// Hide the elements 'img' which 'src' start with special string. for (var i=0; i<document.images.length; i++) { var e = document.images[i]; if (e.src.indexOf("http://www.pinkservers.net") != -1) { e.style.display = "none"; e.src = ""; } } //--></script> </body> </html>
<head>
<title>Clear Ad</title>
</head>
<body>
<a href="http://www.pillmedics.com/cgi-bin/affiliates/clickthru.cgi?id=pinkservers" target="_top"><img src="http://www.pinkservers.net/adimages/sponsors/pillmedics/banner01.gif" width=468 height=60 border=1 alt="Click to Visit"></a>
<script type="text/javascript"><!--
// Hide the elements 'a' which 'href' start with special string,
// not necessary if the content of the link is empty.
/*
for (var i=0; i<document.links.length; i++) {
var a = document.links[i];
if (a.href.indexOf("http://www.pillmedics.com") != -1) {
a.style.display = "none";
}
}
*/// Hide the elements 'img' which 'src' start with special string.
for (var i=0; i<document.images.length; i++) {
var e = document.images[i];
if (e.src.indexOf("http://www.pinkservers.net") != -1) {
e.style.display = "none";
e.src = "";
}
}
//--></script>
</body>
</html>