标题:
在一个免费PHP空间遇到的插广告代码,好神奇!
[打印本页]
作者:
sharer
时间:
2011-5-18 20:24
标题:
在一个免费PHP空间遇到的插广告代码,好神奇!
在一个国外免费PHP空间发现会在每个页面的</html>标签后插入如下代码,形成页面中多处GOOGLE广告条,没法移动,挡住了页面内容。
本来想遵循去掉godaddy免费空间广告的思路去掉这个广告,但是效果不好,这个广告已经防住了<noscript>求各位大大指教!
<!-- 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>
复制代码
作者:
sharer
时间:
2011-5-18 20:27
回复
1#
sharer
使用<noscript>,只能毙掉
<!-- 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 -->
复制代码
这部分,因为它有一个</noscript>,但是后面的1个DIV,2个SCRIPT还是搞不掂!
作者:
idc886
时间:
2011-5-19 07:35
哪里的空间?
贴出样站,以便分析。
欢迎光临 免费国外空间,国外免费空间, (http://idc866.com/)
Powered by Discuz! 7.2