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

从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>

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

相关文章:

  • 2021-04-27
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-06-12
  • 2021-11-10
  • 2022-12-23
猜你喜欢
  • 2022-03-06
  • 2022-01-09
  • 2021-05-03
  • 2021-06-08
  • 2021-11-01
  • 2021-09-07
  • 2021-10-18
相关资源
相似解决方案