Last active
June 15, 2023 13:48
-
-
Save Le0X8/0c21ce2e42e381a6fb0b8ea1f269156a to your computer and use it in GitHub Desktop.
This one-liner shows you an URL in which you can view the source of the page you're visiting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prompt('Copy the the text below and paste it into the adress bar', URL.createObjectURL(new Blob([new TextEncoder().encode(document.documentElement.outerHTML).buffer], { type: 'text/plain' }))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment