Skip to content

Instantly share code, notes, and snippets.

@LewisAlderman
Last active May 12, 2018 15:43
Show Gist options
  • Select an option

  • Save LewisAlderman/2910caad936a0816cda94e19aad82873 to your computer and use it in GitHub Desktop.

Select an option

Save LewisAlderman/2910caad936a0816cda94e19aad82873 to your computer and use it in GitHub Desktop.

Revisions

  1. LewisAlderman revised this gist May 12, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion bookmark.min.js
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    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.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: 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();
    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.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.15rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: 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();
  2. LewisAlderman revised this gist May 12, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion debug.css
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    *:not(path):not(g) {
    color: hsla(210, 100%, 100%, 0.9) !important;
    background: hsla(210, 100%, 50%, 0.5) !important;
    outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;
    outline: solid 0.125rem hsla(210, 100%, 100%, 0.5) !important;

    box-shadow: none !important;
    }
  3. LewisAlderman created this gist May 12, 2018.
    1 change: 1 addition & 0 deletions bookmark.min.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: 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();
    7 changes: 7 additions & 0 deletions debug.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    *:not(path):not(g) {
    color: hsla(210, 100%, 100%, 0.9) !important;
    background: hsla(210, 100%, 50%, 0.5) !important;
    outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;

    box-shadow: none !important;
    }
    1 change: 1 addition & 0 deletions licence.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    MIT License | zaydek.github.com/debug.css