910e62b5创建于 1月15日历史提交
<body>
  <iframe width=300px height=300px></iframe>
  <script>
    var url = window.location.href;
    url = url.replace(/a\.com/, "b.com");
    url = url.replace(/oopif\.html/, "oopif_frame.html");
    document.querySelector('iframe').setAttribute('src', url);
  </script>
</body>