新版本有道云去左下角广告

对于强迫症又不想冲会员的人来说,有道云左下角的广告真的难以忍受。下面介绍去除广告的方式。 

此方式对V6.3.0及之前的版本都有效。之后不保证一定能成功。不过思路可以借鉴。
有道云首页界面是使用一个xml生成的。路径为:YoudaoNote\theme\build.xml
 在  v6.3.0版本之前是删除 如下段落

  <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>

但是 新版本后会检测这一段。如果没有这段,就不加载程序也就无法启动。 不过 既然这个xml是在客户端,不可以删除 不代表不可以修改。将 css 及AnchorStyle  里面值去掉。这样就不会加载样式和文件。也就不会出现图片

V6.3.0版本修改后文件如下:
  <PanelAd type="adpanel" css="" ass="mainform panelclient PanelAd">
            <panelTopLine type="panel" css="" Dockstyle="top" Bounds="0,0,0,1"/>
            <MiddlePhotoPanel type="panel" css="" DockStyle="top" Bounds="0,0,250,160" Margin="0,13,0,13">
               <AdPhoto type="photo" css="" AnchorStyle="" AutoZoom="ZoomEqual" Bounds="0,0,200,130">
                    <AdClose type="button" css="" AnchorStyle="topright" Bounds="-1,1,24,24" />
                    <AdText type="label" css="" AnchorStyle="bottomleft" Bounds="6,-6,25,10"/>
                </AdPhoto>
            </MiddlePhotoPanel>
        </PanelAd>
效果如下:
新版本有道云去左下角广告