e()
          })

          // header meta

          const $meta = doc.head.querySelectorAll("meta")
          $meta.forEach((meta) => {
            document.head.append(meta)
          })

          const $style = doc.head.querySelectorAll("style")
          $style.forEach((style) => {
            document.head.append(style)
          })

          document.body.innerHTML = doc.body.innerHTML

          scripts.forEach((script) => {
            const $script = document.createElement("script")
            