当前位置 博文首页 > 文章内容

    如何去除有道云笔记广告(windows)

    作者: 栏目:未分类 时间:2020-07-13 9:00:51

    本站于2023年9月4日。收到“大连君*****咨询有限公司”通知
    说我们IIS7站长博客,有一篇博文用了他们的图片。
    要求我们给他们一张图片6000元。要不然法院告我们

    为避免不必要的麻烦,IIS7站长博客,全站内容图片下架、并积极应诉
    博文内容全部不再显示,请需要相关资讯的站长朋友到必应搜索。谢谢!

    另祝:版权碰瓷诈骗团伙,早日弃暗投明。

    相关新闻:借版权之名、行诈骗之实,周某因犯诈骗罪被判处有期徒刑十一年六个月

    叹!百花齐放的时代,渐行渐远!



    一、适用于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>
    

    之后保存,重启有道云笔记,就可以了。