如何屏蔽掉服务器自动加载在<html>前的JS代码?
它加载后的效果是网站底部有个长方条的GOOGLE广告,拖滚动条时,貌似它还是悬浮靠底部的。有哪位高人指点下!
例如下面的代码:
<script>var h_adbar = 93;function he952b2bRL() { var he952b2b=document.getElementById('he952b2b'); var he952b2bStyle; if (he952b2b.style) { he952b2bStyle = he952b2b.style; } if (document.all) { he952b2bStyle.pixelTop = document.body.clientHeight + document.body.scrollTop - he952b2bStyle.pixelHeight-h_adbar; he952b2bStyle.pixelWidth = document.body.clientWidth; he952b2bStyle.pixelLeft = 0; } else { he952b2bStyle.top = window.innerHeight + window.pageYOffset - h_adbar; he952b2bStyle.left = 0; he952b2bStyle.width =window.innerWidth; }}function top_he952b2b() { var maxz = 0; for(i=0;i<document.all.length;i++) { obj = document.all.item(i); if ( obj.tagName == 'DIV' ) { if ( obj.style.zIndex > maxz) { maxz = obj.style.zIndex+1; } } } he952b2b.style.zIndex = maxz+1;} function bottom_adl_init() { he952b2bRL(); setInterval('he952b2bRL()',50); top_he952b2b();}</script><style>#he952b2b { position: absolute; visibility: visible; vertical-align: middle; font-size: 12px; text-align: center;}#B2 { font-size: 12px; }</style><div id='he952b2b'><!-- middAD --><script type="text/javascript">google_ad_client = "pub-7144095601079443";google_ad_width = 728;google_ad_height = 90;google_ad_format = "728x90_as";google_ad_type = "text";google_ad_channel ="";google_page_url = document.location;google_color_border = "FFFFFF";google_color_link = "0000FF";google_color_bg = "FFFFFF";google_color_text = "000000";google_color_url = "008000";google_language = "zh-CN";</script><script type="text/javascript" src=" http://pagead2.googlesyndication.com/pagead/show_ads.js"> -->