Created
November 16, 2012 09:45
-
-
Save DrewDouglass/4085989 to your computer and use it in GitHub Desktop.
JavaSript Outline All HTML Elements
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:elem=document.getElementById("dev-outliner");if(elem){elem.parentNode.removeChild(elem);}else{document.body.insertAdjacentHTML('beforeEnd', '<style id="dev-outliner">*{border:1px rgba(255,0,255,0.4) solid !important;}</style>');} |
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:elem=document.getElementById("dev-outliner");if(elem){elem.parentNode.removeChild(elem);}else{document.body.insertAdjacentHTML('beforeEnd', '<style id="dev-outliner">*{outline:1px rgba(255,0,255,0.4) solid !important;}</style>');} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment