The functionality in this script was added to the WME natively, so this userscript is no longer relevant.
The latest version of the WME that has been released today changes the layers menu so that it needs to be clicked if you want to show/hide a layer. As this was already present in the beta, I’ve created a small userscript that makes the layers menu show up just by hovering over it, just like it used to do. If you want the layer menu to stick, that can still be done with this userscript active.
It seems very likely to me that this will be fixed in one of the next versions though, as it doesn’t really make sense to change that behaviour completely now.
Just released a small update which makes the script apply itself to the layers menu after you’ve logged in (as that event also seems to cause a redraw of the layers menu).
It is included in WMEFU, but the panel flickers if you try to make it stick, so I prefer behavinator. It’s nice to be able to freeze the panel if you occasionally want to do so.
Interesting. After the latest update, when trying to make the layers panel stick, the panel disappears and becomes transparent. The zoom control moves over, but the panel is not displayed. Anyone else seeing this?
I think I’ll just leave this userscript as it is once the behaviour has been adjusted in the WME. It won’t serve any purpose any more at that point and I’d advice people to just uninstall it, but I’d rather not force people.
For those not aware: the only functionality this userscript still has is the ability to click on the layers button to pin it in place. If you don’t use this functionality, you can remove this userscript without losing anything.