一、适用于6.0之前版本
你隻需要:找到有道雲筆記的安裝路徑,*\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>
之後儲存,重新開機有道雲筆記,就可以了。
二、6.0及以後版本
找到有道雲筆記的安裝路徑,*\Youdao\YoudaoNote\theme\build.xml
用筆記本打開這個檔案,找到PanelAd标簽,大概在366行
<PanelAd type="adpanel" css="public" ass="mainform 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>
删除ass屬性裡面的panelclient這個值,我上面的截圖是删除之後的。
然後找到AdWraperMid這個标簽,大概在466行,修改bounds屬性值為0,0,0,0。
<!-- 底部廣告-->
<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>
之後儲存,重新開機有道雲筆記,就可以了。