Created
May 11, 2020 04:37
-
-
Save Xyborg/43f62997c3527cf16a135173d2505cbc to your computer and use it in GitHub Desktop.
A simple JS to view the DOM for the current window.
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
javascript:var win = window.open("", "Dom Viewer by @Xyborg", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1000,height=700,top=50,left=20");win.document.body.appendChild(document.createTextNode(document.getElementsByTagName('html')[0].innerHTML)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment