如何隐藏统计代码,隐藏统计代码图标或文字的方法

14,696次阅读
12 条评论

如果你比较习惯用国内的统计代码,如CNZZ或者是51LA等,如果你做的是英文站,那么可能你希望能够将统计代码隐藏起来,或者你不希望你的英文站上出现国内统计代码的图标或者文字,那么可以试试以下的方法,

方法很简单,将统计代码放到以下这一小代码中间即可,如:

<span style=”display:none”>这里放你网站上的统计代码 </span>

即:
<span style=”display:none”>
<script src=”http://s101.cnzz.com/stat.php?id=*****&amp;web_id=****”></script></span>

这样,你的统计代码的图标或者文字就被完全隐藏起来了。如果你做的是wordpress博客,那么在footer.php文件里,在</body>之前加上上面的代码即可。有兴趣的试试吧!

原创文章,转载请注明: 转载自日记男孩的博客

本文地址:如何隐藏统计代码,隐藏统计代码图标或文字的方法

 

正文完
 0
评论(12 条评论)
张楠
2009-10-27 22:21:16 回复

呵呵,支持扫盲贴

     中国上海上海市铁通
simple
2009-10-28 01:39:03 回复

有统计代码有时候看起来不美观,有这个代码就好看多了。

     中国贵州省黔东南电信
卢松松
2009-10-28 01:51:11 回复

隐藏了就不方便点击了

     中国北京北京市联通
先看看
2009-10-28 02:45:06 回复

恩,我的都隐藏了

     中国广东省深圳市联通
单点日志
2009-10-29 05:51:28 回复

这个到无所谓,自己查询不太方便而已

     中国江苏省苏州市电信
疾风
2009-10-29 06:17:36 回复

是这么的 呵呵~·

     中国四川省成都市电信
Waschbeckenunterschrank
2010-01-30 16:19:38 回复

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had fun writing this article.

     泰国Chon-BuriCAT
Waschbeckenunterschrank
2010-01-30 19:18:52 回复

Hi, good day. Wonderful post. You have gained a new subscriber. Pleasee continue this great work and I look forward to more of your great blog posts.

     美国密歇根
wedding singer
2010-02-08 09:42:20 回复

Cool, there is actually some great ideas on here some of my subscribers may find this relevant, I will send them a link, many thanks.

     匈牙利Budapest
wedding singer
2010-02-08 10:17:36 回复

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! I’m sure you had fun writing this article.

     韩国首尔首尔SK电讯
Xiaohua
2010-05-13 13:58:43 回复

我的咋不好用。。。明天再试试

     中国辽宁省沈阳市移动
秘密网
2010-05-18 04:11:40 回复

怎么我放上去了没有反应的?

     中国广东省珠海市电信