最新消息:

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

网站技巧 admin 10204浏览 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>之前加上上面的代码即可。有兴趣的试试吧!

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

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

 

转载请注明:日记男孩的博客 » 如何隐藏统计代码,隐藏统计代码图标或文字的方法

赞赏

微信赞赏支付宝赞赏

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (12)

  1. 呵呵,支持扫盲贴
    张楠15年前 (2009-10-27)回复
  2. 有统计代码有时候看起来不美观,有这个代码就好看多了。
    simple15年前 (2009-10-28)回复
  3. 隐藏了就不方便点击了
    卢松松15年前 (2009-10-28)回复
  4. 恩,我的都隐藏了
    先看看15年前 (2009-10-28)回复
  5. 这个到无所谓,自己查询不太方便而已
    单点日志15年前 (2009-10-29)回复
  6. 是这么的 呵呵~·
    疾风15年前 (2009-10-29)回复
  7. 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.
    Waschbeckenunterschrank14年前 (2010-01-30)回复
  8. 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.
    Waschbeckenunterschrank14年前 (2010-01-30)回复
  9. 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.
    wedding singer14年前 (2010-02-08)回复
  10. 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.
    wedding singer14年前 (2010-02-08)回复
  11. 我的咋不好用。。。明天再试试
    Xiaohua14年前 (2010-05-13)回复
  12. 怎么我放上去了没有反应的?
    秘密网14年前 (2010-05-18)回复