最新删除有道云笔记左下角广告方法

最新删除有道云笔记左下角方法

1.首先找到这个跟广告有关的代码,一般安装位置在:\Youdao\YoudaoNote\theme 中的build.xml文件, 用文本编辑器打开这个文件,搜索以下这段代码:

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

在最新版的有道云笔记中,你不能删除掉这段代码,否则会报错,你只需要将这段代码中所有的数字都改成0就能删掉左下角广告了:

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

大家快试试吧~

猜你喜欢

转载自blog.csdn.net/zhouxin518/article/details/83817571