Skip to content

Instantly share code, notes, and snippets.

@MelSumner
Created October 3, 2019 18:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save MelSumner/d917e19ca145b6b16b51fa67b4a48139 to your computer and use it in GitHub Desktop.
Save MelSumner/d917e19ca145b6b16b51fa67b4a48139 to your computer and use it in GitHub Desktop.

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:(function(){ document.activeElement.style.border = "1px solid red"; })();

That's it!

@MeKareem2
Copy link

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment