有道云笔记去除广告方法

找到安装目录下theme,打开build.xml修改这个文件

<PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd" style="display:none !important;" >
            <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>

替换为

<PanelAd type="adpanel" css="public" ass="mainform panelclient PanelAd" style="display:none !important;" >
            <panelTopLine type="panel" css="AdPanel" Dockstyle="top" Bounds="0,0,0,0"/>
            <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,0,0">
                    <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>

 

posted @ 2019-04-11 20:16  苗士军  阅读(718)  评论(0编辑  收藏  举报