Skip to content

Instantly share code, notes, and snippets.

@MelSumner
Created October 3, 2019 18:49
Show Gist options
  • Save MelSumner/d917e19ca145b6b16b51fa67b4a48139 to your computer and use it in GitHub Desktop.
Save MelSumner/d917e19ca145b6b16b51fa67b4a48139 to your computer and use it in GitHub Desktop.

Revisions

  1. MelSumner created this gist Oct 3, 2019.
    13 changes: 13 additions & 0 deletions dae.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    Document Active Element (DAE) is a JavaScript bookmarklet intended to help you more easily identify where the activeElement is on your screen.

    To use:

    1. Add a new bookmark
    2. in the "Name" field, type DAE
    3. in the URL field, add the following code:

    ```javascript
    javascript:(function(){ document.activeElement.style.border = "1px solid red"; })();
    ```

    That's it!