天天看點

網易有道雲筆記去掉廣告的最新方法

看到網上大部分的方法都是這樣的:【下面的方法已經失效了】

找到有道雲筆記的安裝路徑,*\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"/>

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

儲存,重新開機有道雲筆記,就可以了。

這個方法在最新版的有道雲筆記已經不能用了,修改檔案後,重新開機軟體會報錯,下面提供最新的方法:

不要删除這一段代碼,将這一段代碼中的數字全部改成 0,下面是最新版的廣告面闆代碼,注意凡是數字的地方

全部改成0就可以了。(原理:廣告還是存在的,隻是顯示大小為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>

繼續閱讀