A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| #define PRETTY //Comment out when you no longer need to read JSON to disable pretty print system-wide | |
| #define USEFLOAT //Use floats for numbers instead of doubles (enable if you're getting too many significant digits in string output) | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| /* | |
| * http://www.opensource.org/licenses/lgpl-2.1.php | |
| * JSONObject class |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |