Skip to content

Instantly share code, notes, and snippets.

@henriquegogo
Last active February 10, 2025 02:31
Show Gist options
  • Save henriquegogo/4676b9cd6914bbef5b11d83f0ddfffd4 to your computer and use it in GitHub Desktop.
Save henriquegogo/4676b9cd6914bbef5b11d83f0ddfffd4 to your computer and use it in GitHub Desktop.
Request a partial and replace the iframe
<iframe hidden onload="this.replaceWith(...contentDocument.body.children)" src="head.html"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment