Skip to content

Instantly share code, notes, and snippets.

@tail-call
Last active August 3, 2020 17:02
Show Gist options
  • Select an option

  • Save tail-call/9360d5f851d13abc7aabd08b08f4e44e to your computer and use it in GitHub Desktop.

Select an option

Save tail-call/9360d5f851d13abc7aabd08b08f4e44e to your computer and use it in GitHub Desktop.
Quine URI
data:text/html,<script>d=document,d.querySelector('*').append(d.createTextNode(location))</script>
Shorter, non-HTML5:
data:text/html,<script>d=document,d.all[0].append(d.createTextNode(location))</script>
@tail-call

tail-call commented Aug 3, 2020 •

Copy link
Copy Markdown
Author

It's not a real quine, but I'm quine proud of myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment