zoukankan      html  css  js  c++  java
  • 从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>

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

    antony
    :antony1029@163.com
    :http://antony1029.cnblogs.com
  • 相关阅读:
    F. Journey
    D. Divide
    C. Counting Pair
    A. A Big Dinner
    E
    D -Sale
    第十三课 历史记录画笔工具
    第十二课 文字工具
    第十一课 模糊工具、海绵工具、仿制图章工具
    第十课 切片工具 修复画笔工具 修补工具 颜色替换工具
  • 原文地址:https://www.cnblogs.com/antony1029/p/295844.html
Copyright © 2011-2022 走看看