免费国外空间,国外免费空间,'s Archiver

sharer 发表于 2011-5-18 20:24

在一个免费PHP空间遇到的插广告代码,好神奇!

在一个国外免费PHP空间发现会在每个页面的</html>标签后插入如下代码,形成页面中多处GOOGLE广告条,没法移动,挡住了页面内容。
本来想遵循去掉godaddy免费空间广告的思路去掉这个广告,但是效果不好,这个广告已经防住了<noscript>求各位大大指教![code]<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=6867351;
var sc_invisible=1;
var sc_security="ebb1fdf6";
</script>

<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="counter on tumblr"
href="http://statcounter.com/tumblr/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/6867351/0/ebb1fdf6/1/"
alt="counter on tumblr" ></a></div></noscript>
<!-- End of StatCounter Code -->

<div style="position: absolute; left: 200px; top: 200px;">
<p align=center><script type="text/javascript"><!--
google_ad_client = "ca-pub-9673665459134793";
/* 728x90, made 07.10.09 */
google_ad_slot = "4066842134";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</div>
<p align=center><script type="text/javascript"><!--
google_ad_client = "ca-pub-9673665459134793";
/* 728x90, made 07.10.09 */
google_ad_slot = "4066842134";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>[/code]

sharer 发表于 2011-5-18 20:27

[b]回复 [url=http://www.idc866.com/redirect.php?goto=findpost&pid=73487&ptid=12516]1#[/url] [i]sharer[/i] [/b]
使用<noscript>,只能毙掉[code]<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=6867351;
var sc_invisible=1;
var sc_security="ebb1fdf6";
</script>

<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="counter on tumblr"
href="http://statcounter.com/tumblr/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/6867351/0/ebb1fdf6/1/"
alt="counter on tumblr" ></a></div></noscript>
<!-- End of StatCounter Code -->[/code]这部分,因为它有一个</noscript>,但是后面的1个DIV,2个SCRIPT还是搞不掂!

idc886 发表于 2011-5-19 07:35

哪里的空间?  

贴出样站,以便分析。

页: [1]


Powered by Discuz! Archiver 7.2  © 2001-2012 Comsenz Inc.