avatar

有道云笔记|桌面版|去广告|小笔记
这几天火喵打算整一个用来全平台写笔记的软件,因为苹果 就一个ipad所以也就是安卓和win了。手机上写一半电脑接着写这种。看到说印象笔记支持md了于是立刻试了一下效果并不好,突然想起同样做笔记生意的网易,果然有道云笔记除了界面不华丽,确实简单好用。但是碍于本喵强迫症,左下角有广告啊,咋办呢~

  1. 看到目录下YoudaoNote\theme\有一个build.xml文件,打开他,搜索ads这个缩写,竟然啥都没有,那就搜一下广告吧,嘿嘿有啦~
    全都删掉删掉~重启有道云笔记!咚!糟糕!打开错误,无法打开了!

  2. 不能删那就修改吧
    将底部广告:

    xml
    1
    2
    <!-- 底部广告-->
    <AdWraperMid type="panel" css="public" dockstyle="bottom" visible="false" bounds="0,0,0,161">

    里面的161换成0,即:

    xml
    1
    2
    <!-- 底部广告-->
    <AdWraperMid type="panel" css="public" dockstyle="bottom" visible="false" bounds="0,0,0,0">

    然后去除广告占位符:

    xml
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd">
    <panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,1"/>
    <MiddlePhotoPanel type="panel" css="public" DockStyle="top" Bounds="0,0,0,0" 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>

    PanelAd标签内所有含有BoundsMargin属性的值全都修改为0,0,0,0

    xml
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd">
    <panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,0"/>
    <MiddlePhotoPanel type="panel" css="public" DockStyle="top" Bounds="0,0,0,0" Margin="0,0,0,0">
    <AdPhoto type="photo" css="Ad AdPhoto" AnchorStyle="center" AutoZoom="ZoomEqual" Bounds="0,0,0,0">
    <AdClose type="button" css="adclear" AnchorStyle="topright" Bounds="0,0,0,0" />
    <AdText type="label" css="AdText" AnchorStyle="bottomleft" Bounds="0,0,0,0"/>
    </AdPhoto>

    </MiddlePhotoPanel>
    </PanelAd>

    完成啦~

  3. 现在 有道云笔记 6.9.0.0(去广告版)已经上架软件中心啦,懒小伙伴快去下载哦~

参考 https://blog.csdn.net/Yuyh131/article/details/90235717

文章作者: 火喵
文章链接: https://diary.dorcandy.cn/posts/1b13bafa/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 喵窝・札记
打赏
  • 喵喵感谢您的微信打赏哦~
    喵喵感谢您的微信打赏哦~

评论