如何阻止加载在我的网站管理面板上强制显示广告的外部脚本

问题描述

嗨,我是新手,不久前,一些可能是恶意的广告横幅开始仅在我网站的管理面板上显示,这使我无法上下滚动,而网站上没有其他地方。 我使用chrome检查了代码,并开始在网站文件中的任何地方搜索它的线索,但是我似乎根本找不到任何地方!我什至用原始脚本文件(未安装)逐个文件夹替换了该文件夹,以查看横幅何时消失,但没有消失! 我想知道是否有任何方法可以阻止页面中负责的URL和脚本?

这是页面的屏幕截图:

this is a screenshot of the page

这可能是负责横幅的代码,我在第二个<html><head>标签下注意到了它

<!DOCTYPE html><html><head>
<meta charset="utf-8">
    <style type="text/css"><!--
    html,body,#partner,iframe {height:100%; width:100%; margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;}body {overflow:hidden;}--></style>
    <meta name="expires" content="NOW"><meta name="GOOGLEBOT" content="index,follow,all"><meta name="robots" content="index,all"><meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"></head>
    <body><div id="partner"><style type="text/css">a.mp {float: left; margin: 3x 5px 1px 5px;padding: 4px; border-top: 1px solid #cec5a0; border-bottom: 2px solid #ea0; border-left: 1px solid #cec5a0; border-right: 2px solid #ea0; background: #f8f3d4; text-align: center; text-decoration: none; font: normal 14px Arial;  color: #04336d;} a.mp:hover { text-decoration: underline;}</style><div style="font-family: Arial; text-align:center"><table width="790" cellspacing="0" cellpadding="5" style="margin: 0 auto 0 auto; text-align:left;"><tr><td valign="middle">This domain is expired. If you're the owner,you can <a href="https://www.dynadot.com/community/help/question/renew-domain?drefid=121" rel="nofollow">renew</a> it. If you're not the owner,search for your next <a href="https://www.dynadot.com/domain/search.html?drefid=121" rel="nofollow">domain</a> and then <a href="https://www.dynadot.com/website-builder/?drefid=121" rel="nofollow">build your website</a> for free on <a href="https://www.dynadot.com/?drefid=121" rel="nofollow">Dynadot.com</a>!</td><td valign="middle"><a href="https://www.dynadot.com/market/auction/scriptolution.com?drefid=121" target="_blank" class="mp" rel="nofollow">Buy this domain</a></td><td align="right"><img src="http://parkcloud.dynadot.com/logo.gif" border="0" alt=""></td></tr></table></div></div><script type="e2d3d4d648ff87e4801c6399-text/javascript"><!--
     document.write(
             '<script type="text/javascript" language="JavaScript"'
                     + 'src="//sedoparking.com/frmpark/'
                     + window.location.host + '/'
                     + 'dynadotparking'
                     + '/park.js">'
             + '<\/script>'
     );
    --></script><script type="e2d3d4d648ff87e4801c6399-text/javascript" src="/hp_script.js"></script>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)