分享

Windows版有道云笔记去广告

 如颖随行 2020-11-07

2019-5-16更新(版本6.8.0)效果:

去广告后效果

1.打开安装目录下的build.xml文件
路径:如C:\Program Files\Youdao\YoudaoNote\theme\build.xml

build.xml

2.精简模式(两栏)去广告
搜索:底部广告
将 Bounds="0,0,0,161"中的161改为0,即 Bounds="0,0,0,0"

精简模式去广告

3.三栏模式去广告
搜索:MiddlePhotoPanel
将Bounds="0,0,0,1"中的1改为0,即 Bounds="0,0,0,0"
将Bounds="0,0,200,130"中的200改为0,即 Bounds="0,0,0,130"

三栏模式去广告

4.三栏模式去广告优化(2019-5-16补充)
进入安装目录下default文件夹打开skin.xml文件
路径:如C:\Program Files\Youdao\YoudaoNote\theme\default\skin.xml
搜索:<PanelAd Bounds=
改为:Bounds="0,0,0,0"

三栏模式去广告优化

5.建议将修改后的build.xml文件和skin.xml文件备份,下次更新版本后直接替换

更新日志
2019年5月2日:教程为网上搬运,亲测截图写于2019-5-2;步骤3中有其他教程将多个bounds值都修改为0,但是实测后只要修改一处就可以(将Bounds="0,0,200,130"中的200改为0,即 bounds="0,0,0,130"),修改之后三栏模式左侧有一条线。

三栏模式去广告

Windows版本有道云笔记去广告方法

参考资料CSDN关闭有道云笔记广告方法

条件

  1. windows安装最新版本有道云笔记(v6.3.0.0)记录安装路径;

  2. 关闭当前有道云笔记(一定要退出软件);

  3. 会使用windows记事本(Notepad++更佳);

步骤

  1. 打开有道云笔记安装路径(比如:D:\Program Files (x86)\Youdao\YoudaoNote\theme);

  2. 右击build.xml(D:\Program Files (x86)\Youdao\YoudaoNote\theme\build.xml)文件,选择打开方式,用记事本打开;

  3. 使用Ctrl+F,搜索关键字(mainform panelclient PanelAd);替换对应代码如下所示:

    <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,5,5" Margin="0,2,0,2">
                <AdPhoto type="photo" css="Ad AdPhoto" AnchorStyle="center" AutoZoom="ZoomEqual" Bounds="0,0,5,5">
                    <AdClose type="button" css="adclear" AnchorStyle="topright" Bounds="-1,1,2,2" />
                    <AdText type="label" css="AdText" AnchorStyle="bottomleft" Bounds="1,-1,2,3"/>
                </AdPhoto>
    
            </MiddlePhotoPanel></PanelAd>
  4. 保存文件(Ctrl+s);上述操作,是把页面左下角的广告图片尺寸调小,变成不太可见的图片;

  5. 进入default文件夹,右击skin.xml(D:\Program Files (x86)\Youdao\YoudaoNote\theme\default\skin.xml)文件,选择打开方式,用记事本打开;

  6. 使用Ctrl+F,搜索关键字(<PanelAd Bounds=);大约在2942行;替换对应代码如下所示:

    <PanelAd Bounds="0,0,0,0" DockStyle="bottom"></PanelAd>
  7. 保存文件(Ctrl+s);上述操作,是把页面左下角广告位去除;

  8. 保存所有文件后, 打开有道云笔记,此时已经没有左下角的广告位了;

  9. 恭喜你, 成功了;

作者:Miceking
链接:https://www.jianshu.com/p/25966a6633d9
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多