Last active
April 25, 2023 13:37
-
-
Save gornostay25/efd74796a87f5ac203d46009650488ab to your computer and use it in GitHub Desktop.
geting page source code in base64
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
var myWindow = window.open("", "_self", ""); myWindow.document.write(""+ btoa(unescape(encodeURIComponent(document.getElementsByTagName("HTML")[0].innerHTML)))+""); | |
//you can use this as bookmark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment