从Blog上面去掉那该死的“狗狗订阅”的logo !

王朝other·作者佚名  2006-01-10
窄屏简体版  字體: |||超大  

只要一写上Blog公告,就会带出来这个难看的“狗狗订阅”的logo,很不爽,为什么要强加于人!- -*

越看越不爽,杀之!用彼之道,还施彼身!在公告栏中加入下面的代码:

1: <!--// Customized Script Code //-->

2: <SCRIPT language="javascript">

3: <!--//

4: function removeGougouLogoFromMyBlog(removeFlag) {

5: if(removeFlag) {

6: var tagList = document.getElementsByTagName("A");

7: var objFound = null;

8: var keyInfoStr = "";

9: for(var i=0; i<tagList.length; i++) {

10: keyInfoStr = tagList[i].href;

11: if(keyInfoStr.indexOf("gougou.com") != -1 ) {

12: objFound = tagList[i];

13: objFound.style.display = "none";

14: }

15: }

16: }

17: }

18:

19: //直接调用removeGougouLogoFromMyBlog(true)是不会生效的!

20: window.setTimeout("removeGougouLogoFromMyBlog(true)", 0);

21: //-->

22: </SCRIPT>

从此整个世界清静了... ^_^

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航