只要一写上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> |
从此整个世界清静了...
^_^