网页被嵌入代码<iframe src='http:60.191.247.178ppp.htm' width=50 height=50><iframe> ,如何解决?

宝宝妈妈2023-04-03  30

呵呵

问题稍微有点严重了。

很明显你的网站被挂了马了。

推荐以下方式解决

1,QQ 393819177

2, 查看文件的修改日期,去服务器看相应的日志。

3,删除不是网页程序的后门。

4,检查网站的漏洞。

用window.location.href的就只能在当前页面打开,不能打开新窗口的,用javascript:window.open

<div onClick="javascript:window.open('#','_blank')"></div>

一般一定要新窗口的话,建议还是用A标签。

变通一下就行了,

<div><a style="display:blockwidth:100pxheight:100px" href="#" target="_blank"></a></div>

把A标签变成块就可以控制啦。


转载请注明原文地址:https://54852.com/read/493579.html