套壳别的网站,实现站中站网页,用html的iframe标签实现。
只需在根目录创建一个index.html文件!直接复制以下代码进去

代码如下

<!DOCTYPE html><html lang="zh"><head>  <meta charset="UTF-8">  <meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">  <meta name="viewport" content="width=device-width, initial-scale=1.0">  <link rel="stylesheet" href="main.css">  <title>送来达博客分享blog.songlaida.com</title>  <meta name="keywords" content="送来达" />  <meta name="description" content="送来达">  <link rel="shortcut icon" href="https://blog.songlaida.com/favicon.ico" type="image/x-icon">  <style>    body {      margin: 0;      padding: 0;    }    #myiframe {      width: 100%;      height: 100vh;      border: none;    }  </style>  <script>    function changeFrameHeight() {      var ifm = document.getElementById("myiframe");      ifm.height = document.documentElement.clientHeight;    }    window.onresize = function() {      changeFrameHeight();    };  </script></head><body>  <iframe src="https://blog.songlaida.com" id="myiframe" scrolling="yes" onload="changeFrameHeight()" frameborder="0"></iframe></body></html>