Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluestockingsread/nakeddetails
Universal details revealer. A very simple userscript to automatically open all `<details>` tags on any website.
https://github.com/bluestockingsread/nakeddetails
automation browser-extension content-reveal details-summary greasemonkey javascript open-source tampermonkey tampermonkey-userscript userscript violentmonkey web
Last synced: 19 days ago
JSON representation
Universal details revealer. A very simple userscript to automatically open all `<details>` tags on any website.
- Host: GitHub
- URL: https://github.com/bluestockingsread/nakeddetails
- Owner: BluestockingsRead
- License: mit
- Created: 2024-05-15T17:55:30.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-15T18:55:14.000Z (7 months ago)
- Last Synced: 2024-10-16T19:07:49.564Z (2 months ago)
- Topics: automation, browser-extension, content-reveal, details-summary, greasemonkey, javascript, open-source, tampermonkey, tampermonkey-userscript, userscript, violentmonkey, web
- Language: JavaScript
- Homepage: https://www.bluestockingsread.com
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Naked Details
A very simple userscript to automatically open all `` tags on any website. It's super basic so you can customize it however you wish.- **File:** NakedDetails.user.js
- **Description:** Opens all `` HTML tags on any website. Easily tweakable to target specific sites or details tags with specific classes.
- **Usage:** Install the script using a userscript manager (such as Tampermonkey) to reveal details tags on any website.#### Notes
I'm still learning, but here are some potentially helpful tips from a friend:- **Page Load Timing:** The script doesn't check if the page has fully loaded before it runs. If the script runs before all `` elements are loaded, some may not be opened. To address this, you could run the script after the DOMContentLoaded event or use a MutationObserver to watch for changes in the DOM.
- **Dynamic Content:** If `` elements are dynamically added to the page after the script runs (for example, through AJAX calls or user interaction), those won't be opened by this script. A MutationObserver could also help in this case.
- **Error Handling:** The script catches errors and logs them to the console. However, it might be helpful to provide more context in the error message, such as the current URL or other relevant information.#### License
This script is licensed under the MIT License.