This project provides a simple way to check the number of Shadow DOM elements on any webpage. All you need is to add our bookmarklet to your browser's bookmarks bar and click it whenever you need to inspect a webpage for Shadow DOM elements.
Follow the instructions on this page.
Once you have created the bookmarklet:
- Navigate to the webpage you need to inspect.
- Click the bookmarklet on your bookmarks bar.
- An alert pops up with the number of Shadow DOM elements found on the page.