最新刪除有道雲筆記左下角廣告方法
阿新 • • 發佈:2018-12-16
最新刪除有道雲筆記左下角方法
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>
大家快試試吧~