有道云6.0~6.2版本去除广告


  1. 找到 安装目录\theme\build.xml
  2. 隐藏广告信息

搜索 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,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>

按下图修改,便可隐藏广告

3. 隐藏广告占位css

搜索 AdWraperMid,定位到下面代码web

<!-- 底部广告-->
                                <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>

而后按下图修改
svg

文章首次发布于吾勇士的博客   http://wuyongshi.top/youdao