Last active
June 30, 2020 07:03
-
-
Save sehyunchung/ac18cfc9901a41699b7b78248e7bd1f2 to your computer and use it in GitHub Desktop.
blueprint bookmarklet based on zaydek.github.com/debug.css
This file contains hidden or 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: /* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging"in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(path):not(g) { color: hsla(210, 100%, 100%, 0.7) !important; background: hsla(211, 80%, 28%, 0.5) !important; outline: solid 1px hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment