Oh, learned a lovely little Firefox+uBlock trick today. Apparently, if an HTML e...

@gumnos@bsd.cafe

Oh, learned a lovely little Firefox+uBlock trick today.

Apparently, if an HTML <details> element has a shared name="…" value across multiple <details>, they act as an accordion…opening one will close all the others.

This drives me bonkers. If I wanted to close a <details> element, I'd click on it and close it.

So in your uBlock settings, you can add the following rule

*##details[name]:remove-attr(name) 

and it will remove the "name" attribute from all <details> elements on every site and I never have to deal with accordioning again. 🎉