Created
April 14, 2021 14:16
-
-
Save MarcL/6666006cdfa2ee5e812ce6c63ce3907a to your computer and use it in GitHub Desktop.
Outline DOM elements for debugging - run in your browser console
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
[].forEach.call($$("*"), function(element) { | |
element.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment