对于强迫症又不想冲会员的人来说,有道云左下角的广告真的难以忍受。下面介绍去除广告的方式。各个版本,若安装的最新版本,直接拉到最下面就行
v6.3.0(含6.3.0)之前版本去除广告方式如下:
此方式对V6.3.0及之前的版本都有效。之后不保证一定能成功。不过思路可以借鉴。
有道云首页界面是使用一个xml生成的。路径为:YoudaoNote\theme\build.xml
在 v6.3.0版本之前是删除 如下段落
<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>
但是 新版本后会检测这一段。如果没有这段,就不加载程序也就无法启动。 不过 既然这个xml是在客户端,不可以删除 不代表不可以修改。将 css 及AnchorStyle 里面值去掉。这样就不会加载样式和文件。也就不会出现图片
V6.3.0版本修改后文件如下:
<PanelAd type="adpanel" css="" ass="mainform panelclient PanelAd">
<panelTopLine type="panel" css="" Dockstyle="top" Bounds="0,0,0,1"/>
<MiddlePhotoPanel type="panel" css="" DockStyle="top" Bounds="0,0,250,160" Margin="0,13,0,13">
<AdPhoto type="photo" css="" AnchorStyle="" AutoZoom="ZoomEqual" Bounds="0,0,200,130">
<AdClose type="button" css="" AnchorStyle="topright" Bounds="-1,1,24,24" />
<AdText type="label" css="" AnchorStyle="bottomleft" Bounds="6,-6,25,10"/>
</AdPhoto>
</MiddlePhotoPanel>
</PanelAd>
效果如下:
在 v6.3.0之后的版本。有道云做了改变,。把左下角广告拆成两部分来写。。然卵用。
两部分都修改就行了。。
如下所示 除了上面的修改外 再 删掉下面这段css中的内容就行了。 然后重启有道云。此时提醒你更新有道云 切勿更新!
<!-- 底部广告-->
<AdWraperMid type="panel" css="" dockstyle="bottom" visible="false" bounds="">
<PanelAdMid type="control" control="PanelAd">
</PanelAdMid>
<LeftShadow type="control" control="MidPanelLeftShadow"/>
</AdWraperMid>
当前时间2019.3.4 有道云更新到了最新版,然后左下角的图案又出来了,上面的配置用了一遍 又不管用了。。。所以 请用如下配置
<PanelAd type="adpanel" css="" ass="mainform panelclient PanelAd">
<panelTopLine type="panel" css="" Dockstyle="top" Bounds="0,0,0,1"/>
<MiddlePhotoPanel type="panel" css="" DockStyle="top" Bounds="0,0,250,160" Margin="0,13,0,13">
<AdPhoto type="photo" css="" AnchorStyle="center" AutoZoom="ZoomEqual" Bounds="">
<AdClose type="button" css="" AnchorStyle="topright" Bounds="-1,1,24,24" />
<AdText type="label" css="" AnchorStyle="bottomleft" Bounds="6,-6,25,10"/>
</AdPhoto>
就是删了 Bounds里面的内容。。。 心累。。为啥每次更新上次的就不能用了、、、
</MiddlePhotoPanel>
</PanelAd>