Skip to content

Instantly share code, notes, and snippets.

@jason-s13r
Last active June 3, 2020 00:35
Show Gist options
  • Save jason-s13r/b19b585ee2379266d03ac1ee8f53d29f to your computer and use it in GitHub Desktop.
Save jason-s13r/b19b585ee2379266d03ac1ee8f53d29f to your computer and use it in GitHub Desktop.
html (+js) quine using data:text/html, for the url bar of a browser.
data:text/html,<html><body><div></div><script>document.getElementsByTagName('div')[0].innerText = 'data:text/html,' + document.getElementsByTagName('html')[0].innerHTML</script></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment