<html>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
<title>fhcs</title>
<body style='margin:0;padding:0;height:100%' scroll=no>
<iframe id='infrm' name='infrm' marginwidth='0' marginheight='0' width='100%' scrolling=auto src='http://fh.9a18.cn' frameborder='0' height='100%' onload='parent.location.href='?load=true'></iframe>
</html>
<?php
if(isset($_GET['load'])){    $load = $_GET['load'];    if($load == 'true'){        // 当iframe加载完成后,阻断原网页的加载        echo '<script>window.stop();</script>';    }}?>
PHP 技巧:使用 iframe 加载完成后阻止网页加载

原文地址: https://www.cveoy.top/t/topic/nMoe 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录