其他分享
首页 > 其他分享> > 百度网盘PC端去除广告

百度网盘PC端去除广告

作者:互联网

说明:即使开通超级会员,百度网盘PC端仍弹出可恶的广告弹窗,而且反馈都是敷衍式回答。现分享当前版本可用的调整方案。

方案:修改文件方式:C:\Users\用户名\AppData\Roaming\baidu\BaiduNetdisk\skin\duiengineskin.zip

替换两个文件:xml\MainPanel\TitlePanel.xml 和 xml\MainPanel\TransPanel\TransLeftPanel.xml

TitlePanel.xml

<caption name="CaptionPanel" pos="0,0,-0,-0">
  <!--logo-->
  <img pos="20,12,@122,@26" skin="titlepanel_logo"></img>
  
  <!--文字运营位-->
  <link name="link_header_ad" pos="-670,|-8" crtext="C9A566" font="0000:微软雅黑" align="left" maxwidth="0" cursor="hand" dotted="1" show="0"></link>
  
  <!--icon广告-->
  <!-- <imgbtn name="btn_icon_ad" pos="-588,|-14,@28,@28" skin="titlepanel_ad_skin" cursor="hand" show="0"></imgbtn>  -->

  <!--游戏icon-->
  <!-- <imgbtn name="btn_game_icon_ad" pos="-544,|-14,@28,@28" skin="titlepanel_game_center_skin" cursor="hand" ></imgbtn>  -->
 
  <!--用户头像-->
  <img name="img_userhead" pos="-390,|-15,@30,@30" skin="titlepanel_default_head">
    <img name="img_userhead_frame" pos="0,0,-0,-0" skin="titlepanel_headframe"/>
    <img name="img_userhead_cert_status" pos="16,18,@13,@13" skin="titlepanel_cert_status_icon" show="0"/>
  </img>
 
  <!--用户昵称-->
  <text name="txt_nickname" pos="-342,|-8" crtext="333333" font="0000:微软雅黑" align="left" cursor="arrow" maxwidth="200" dotted="1"></text>
  <!--会员身份标识-->
  <imgbtn name="btn_crown" pos="-252,|-8,@32,@16" skin="titlepanel_translucent" icoskin="titlepanel_vipclose" cursor="hand"/>
  
   <!--企业认证-->
  <dlg name="dlg_enterprise" pos="-380,|-7,@60,@14">
    <link name="link_enterprise_authentication" pos="0,0" font="0004:微软雅黑" crtext="0065DD" cursor="hand"></link>
    <!-- <imgbtn name="btn_enterprise_arrow" pos="[4,|-5,@12,@12" skin="enterprise_down_btn" cursor="arrow" show="0"></imgbtn> -->
  </dlg>
  
  <!--会员中心-->
  <imgbtn name="btn_vipcenter" pos="-252,|-20,@84,@40" class="cls_titlepanel_vipcenter_btn" txtyoffset="2" show="0"></imgbtn>
  <dlg name="dlg_coupon" pos="[-28,|-22,@34,@15" skin="titlepanel_vipcenter_cornel" show="0">
    <text name="text_coupon" pos="6,0" font2="facename:微软雅黑;adding:-2" crtext="ffffff"></text>
  </dlg>
  <text name="text_vipcenter" class="cls_titlepanel_vipcenter_btn" show="0"></text>

  <dlg name="title_right_region" pos="-179,10,-119,-10">
    <!--消息-->
    <imgbtn name="btn_message" pos="14,|-8,@15,@16" skin="titlepanel_message_btn" cursor="arrow" tip="%str1506%"></imgbtn>
    <img name="img_newmsg_reddot" pos="[-5,|-8,@8,@8" skin="titlepanel_reddot" show="0"/>
    <!--设置-->
    <imgbtn name="btn_setting" pos="[14,|-8,@15,@16" skin="titlepanel_setting_btn" cursor="arrow" tip="%str1507%"></imgbtn>
  </dlg>
  
  <!--窗口属性-->
  <hr pos="-98,|-8,@1,@16" size="1" crbg="d6d8dd"/>
  <imgbtn name="btn_minimize" skin="titlepanel_minmize_btn" pos="-84,|-8,@15,@16" cursor="arrow" tip="%str251%"/>
  <imgbtn name="btn_maximize" skin="titlepanel_maximize_btn" pos="-56,|-8,@15,@16" cursor="arrow" tip="%str1503%"/>
  <imgbtn name="btn_restore" skin="titlepanel_restore_btn" pos="-56,|-8,@15,@16" cursor="arrow" tip="%str1504%" show="0"/>
  <imgbtn name="btn_close" skin="titlepanel_close_btn" pos="-30,|-8,@15,@16" cursor="arrow" tip="%str250%"></imgbtn>
</caption>
View Code

TransLeftPanel.xml

<dlg name="dlg_opbtn_list" pos="0,0,-0,-0" crbg="f9fafb">
  <dlg pos="0,8,-0,@38">
    <imgbtn name="btn_op_download" pos="0,0,-0,-0" skin="transpanel_left_download_btn" 
            class="cls_transleftpanel_op_btn" txtxoffset="55">%str1800%</imgbtn>
    <hr name="hr_line_download" pos="0,0,@3,-0" crbg="06a8ff" show="0"/>
  </dlg>
  <dlg pos="0,46,-0,@38">
    <imgbtn name="btn_op_upload" pos="0,0,-0,-0" skin="transpanel_left_upload_btn" 
            class="cls_transleftpanel_op_btn"  txtxoffset="55">%str1801%</imgbtn>
    <hr name="hr_line_upload" pos="0,0,@3,-0" crbg="06a8ff" show="0"/>
  </dlg>
  <dlg pos="0,84,-0,@38">
    <imgbtn name="btn_op_history" pos="0,0,-0,-0" skin="transpanel_left_history_btn" 
            class="cls_transleftpanel_op_btn"  txtxoffset="55">%str1802%</imgbtn>
    <hr name="hr_line_history" pos="0,0,@3,-0" crbg="06a8ff" show="0"/>
  </dlg>
  <hr name="text_line" pos="30,128,145,129" crbg="ededed"/>
  <dlg pos="0,133,-0,@38">
    <imgbtn name="btn_op_cloud" pos="0,0,-0,-0" skin="transpanel_left_cloud_btn" 
            class="cls_transleftpanel_op_btn"  txtxoffset="55" show="0">%str3750%</imgbtn>
    <hr name="hr_line_cloud" pos="0,0,@3,-0" crbg="06a8ff" show="0"/>
  </dlg>
  
  <hr pos="-1,0,-0,-0" size="1" crbg="F1F1F1"/>
</dlg>
View Code

说明:请做好备份后再做修改。

标签:xml,MainPanel,百度网,--,PC,TitlePanel,去除
来源: https://www.cnblogs.com/cai1432452416/p/15063701.html