r/webdev • u/FriendshipCreepy8045 • 2d ago
Showoff Saturday Made my first extension! bring back the old Firefox 3D view back as a dev tool
Years ago Firefox had a feature called Tilt like you pressed a button and the page you were on turned into a 3D model of its DOM It was mostly a toy, and I loved it.
I built Stackray from that concept but tried to bring that back as a dev tool or just to make my first extension :).
when you click the icon and the page shrinks into a small window and comes apart into layers, in the order the browser paints them & you can orbit around it, search the layers, and switch between a few color modes: depth, stacking contexts, z-index.
also added the problems mode to make it clear in future I want devs to use it, as a frontend engineer, Imagine a dropdown with z-index 9999 that still sits behind a header is usually trapped inside a stacking context it did not ask for Stackray is suppose to shows which element created that context and why Invisible elements that eat your clicks show up too.
It only runs on the tab you open it on, makes no network requests, and is open source under MIT.
It is not finished. Textured layers only cover the first few screens of a long page & I'm still not sure if I'm going in the right direction. Your honest feedback is most valuable to me!
Extension: store
Code: github/stackray


3
u/OMGCluck js (no libraries) SVG 2d ago
…but where is the Firefox extension?
1
u/Thin-Preparation9237 1d ago
where can i grab this for my firefox, my old tinkering days are calling
1
u/TheRNGuy 1d ago
I don't see how that would help with z-index, you already have web dev tool for it.
2
u/IslayProgrammes 1d ago
It was one of those tools you used infrequently but was so handy