Want to view everything at once? Follow these easy steps to create a bookmark that runs JS code to search for toggles in the DOM and change their state.
Set it up once, use it anytime!
- Open your browser’s bookmark manager. This is usually found in the bookmarks menu.
- Right-click in the bookmark manager and select ‘Add new bookmark’ or ‘Create new bookmark’.
- A dialog box should appear. Enter anything in the name field, example 'Awesome Toggles'.
- Paste this safe JS code into the URL field.
javascript:(function(){document.querySelectorAll('details > summary > strong').forEach(strong => { if (strong.textContent.trim().length > 0) { strong.closest('details').open = true; }});})();
- Save the new bookmark. That's it!
Now, whenever you're viewing the README.md of Awesome Topics, simply click this bookmark to unveil all toggle content at once. 😉