zoukankan      html  css  js  c++  java
  • 如何去除有道云笔记广告(windows)

    一、适用于6.0之前版本

    你只需要:找到有道云笔记的安装路径,*YoudaoYoudaoNote hemeuild.xml
    用笔记本打开这个文件,找到‘左下角广告’这几个字,把下面的代码删掉:

    <PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd">
             <panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,1"/>
             <AdPhoto type="photo" css="Ad AdPhoto" ass="common fill"/>
             <AdText type="label" css="AdText" AnchorStyle="topleft" Bounds="20,135,25,10" Margin="0,0,0,0"/>
    </PanelAd>
    

    之后保存,重启有道云笔记,就可以了。

    二、6.0及以后版本

    找到有道云笔记的安装路径,*YoudaoYoudaoNote hemeuild.xml
    用笔记本打开这个文件,找到PanelAd标签,大概在366行

    <PanelAd type="adpanel" css="public" ass="mainform PanelAd">
        <panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,1"/>
        <MiddlePhotoPanel type="panel" css="public" DockStyle="top" Bounds="0,0,250,160" Margin="0,13,0,13">
            <AdPhoto type="photo" css="Ad AdPhoto" AnchorStyle="center" AutoZoom="ZoomEqual" Bounds="0,0,200,130">
                <AdClose type="button" css="adclear" AnchorStyle="topright" Bounds="-1,1,24,24" />
                <AdText type="label" css="AdText" AnchorStyle="bottomleft" Bounds="6,-6,25,10"/>
            </AdPhoto>
        </MiddlePhotoPanel>
    </PanelAd>
    

    删除ass属性里面的panelclient这个值,我上面的截图是删除之后的。
    然后找到AdWraperMid这个标签,大概在466行,修改bounds属性值为0,0,0,0。

    <!-- 底部广告-->
    <AdWraperMid type="panel" css="public" dockstyle="bottom" visible="false" bounds="0,0,0,0">
        <PanelAdMid type="control" control="PanelAd">
        </PanelAdMid>
        <LeftShadow type="control" control="MidPanelLeftShadow"/>
    </AdWraperMid>
    

    之后保存,重启有道云笔记,就可以了。

  • 相关阅读:
    归并排序(Merge Sort)
    AtCoder AGC035D Add and Remove (状压DP)
    AtCoder AGC034D Manhattan Max Matching (费用流)
    AtCoder AGC033F Adding Edges (图论)
    AtCoder AGC031F Walk on Graph (图论、数论)
    AtCoder AGC031E Snuke the Phantom Thief (费用流)
    AtCoder AGC029F Construction of a Tree (二分图匹配)
    AtCoder AGC029E Wandering TKHS
    AtCoder AGC039F Min Product Sum (容斥原理、组合计数、DP)
    AtCoder AGC035E Develop (DP、图论、计数)
  • 原文地址:https://www.cnblogs.com/xiaolei2017/p/13291471.html
Copyright © 2011-2022 走看看