2019-5-16更新(版本6.8.0)效果: 1.打开安装目录下的build.xml文件 路径:如C:\Program Files\Youdao\YoudaoNote\theme\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关闭有道云笔记广告方法
条件windows安装最新版本有道云笔记(v6.3.0.0)记录安装路径 ; 关闭当前有道云笔记(一定要退出软件 ); 会使用windows记事本(Notepad++更佳 );
步骤打开有道云笔记安装路径(比如:D:\Program Files (x86)\Youdao\YoudaoNote\theme ); 右击build.xml(D:\Program Files (x86)\Youdao\YoudaoNote\theme\build.xml )文件,选择打开方式,用记事本打开; 使用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> 保存文件(Ctrl+s );上述操作,是把页面左下角的广告图片尺寸调小,变成不太可见的图片; 进入default文件夹,右击skin.xml(D:\Program Files (x86)\Youdao\YoudaoNote\theme\default\skin.xml )文件,选择打开方式,用记事本打开; 使用Ctrl+F,搜索关键字(<PanelAd Bounds= );大约在2942行;替换对应代码如下所示: <PanelAd Bounds="0,0,0,0" DockStyle="bottom"></PanelAd> 保存文件(Ctrl+s );上述操作,是把页面左下角广告位去除; 保存所有文件后, 打开有道云笔记,此时已经没有左下角的广告位了; 恭喜你, 成功了;
作者:Miceking 链接:https://www.jianshu.com/p/25966a6633d9 来源:简书 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
|