Developer test fixture

Overly Detailed Stress Test

Run your installed Overly Detailed userscript through a deliberately challenging gauntlet of <details> use cases.

← Back to the live demo

Expected result

Auto-open ON: Every test section should be open by the time the page settles.

Auto-open OFF + reload: Only the intentionally pre-opened section should start open.

Quick check: Reload with Auto-open ON. If any test stays closed, something's up. 🧐

When opening this page as a local file, your userscript manager may need permission to access file:// URLs.

TEST 01 Plain, already in the page

An ordinary collapsed section

Nothing unusual. This is the case the original v1 script handled: one accordion, no funny business.

Another one, for company

Two in a row, so a partial sweep can't leave one behind. We believe in the buddy system.

This one ships open

Already open before the script runs. It should remain that way. No closing what was already revealed.

TEST 02 Nested three deep

Outer level

Opening the parent should not be the only thing that happens.

Middle level

Yo dawg, I heard you like details, so I put details in your details!

Inner level

If this is open too, nesting is handled properly, and you have reached Enlightenment*.

*NOTE: Enlightenment not guaranteed.

TEST 03 Added after the page loads

One section appears on a timer, well after the script has finished its first pass. Arriving in 2 seconds.

TEST 04 Added on demand

The real test of the watcher. The first button appends a bare <details> element. The second appends an ordinary wrapper containing nested sections. Everything should open by itself.

TEST 05 Leaving your clicks alone

Close the section below by hand, then use either button above. It should stay closed. A script watching the open attribute would reopen it instead.

Close me, then add a section

Still closed? Good. This script respects boundaries.

TEST 06 Userscript menu commands

These checks use the commands available from your userscript manager's menu.

TEST 07 Exclusive Accordions: There Can Be Only One

Native <details name> grouping permits only one section to remain open at a time.

Exclusive accordion — Section 1

If all-details mode works, I should remain visible.

Exclusive accordion — Section 2

I normally close Section 1 when opened.

Exclusive accordion — Section 3

All three should be visible when Overly Detailed overrides the accordion.

Restore check: Choose Close all details on this page, then open Section 1 followed by Section 2. Section 1 should close automatically, confirming that the original exclusive grouping was restored.

TEST 08 Exclusive, and late to the party

Both advertised features at once. The group arrives inside a wrapper after the page has settled, so the watcher is handed the wrapper rather than the sections and has to free each one on the way down. All three should turn up open.

Each press builds a separate group, so a second press is also a check that two neutralized accordions don't collapse into one.

Restore check: The same as TEST 07, on a group that was never in the original markup. After Close all details on this page, each added group should go back to opening one section at a time, independently of the others.