在线等,急求屏蔽此免费空间广告的代码!!!
这是我网站地址:http://ledusa.9999mb.com/(国外空间,所以有点慢)
我想屏蔽网页上下方的广告,不知有何良策,希望专家们帮忙给出解决方案,谢谢!
------解决方案--------------------TRY:
<html>
<head>
<script type= "text/javascript ">
function clearAD(){
var topad = document.getElementsByName( "google_ads_frame ")[0];
topad.style.width = "0px ";
topad.style.height = "0px ";
topad.style.display = "none ";
}
function igerr(){
return true;
}
window.onerror = igerr;
</script>
</head>
<body onload= "clearAD(); ">
你的内容
</body>
</html>
<script>
/*