2. There should be a webext-exclusive API for placing items above the top layer.
And then maybe next year they will propose a new syntax for setting z-index to epsilon zero.
Moreover, Windows literally added support for the "even more topmost" feature later - they're called "bands", and supported by CreateWindowInBand(), except IIRC Microsoft later restricted support for that function to its own signed binaries, presumably to prevent vendors from abusing it. Needless to say, the addition of that function didn't violate the accepted rules of metaphysics.
but that's what those blogposts were about! The customer wanted their window to be on top of every other window - even if the other window is asking to be on top of every other window!
If you have a secret "super-duper-topmost" window flag, then you're not really satisfying the customer's request. but if you do indeed have this super-duper-topmost window flag, what happens if two windows tried to ask for the same? How do you decide which goes ultimately on top?
If what you say is true, the only way they prevented that is by not making the new super topmost accessible to users, which isn’t really fulfilling the users request.
> And it’ll try something nastier, like enumerating all the processes on the system, attaching to each one with debug privilege, and suspending all the threads.
This is like playing corewars with Windows desktop software :)
> “Note to self: Do not get into a walls-and-ladders contest with Raymond.”
Don't play with the person who knows all the lower levels :)
Popups have existed on the web for ages. This just proves a more convenient syntax without having to inject dom elements at the end of the body element (which is how popups are traditionally done).
There should be a webext-exclusive API for placing items above the top layer.
Together with a priority in extension settings.
Well, since I control the whole content and know there's no dialog or anything else like that on my blog I could put it in toplevel, but what if I had? What if multiple stacked dialogs were to be opened (Win 3.1 style)? Is it possible to order things inside this toplevel? Maybe using z-index?
In any case, I'm just discovering this but it seems to be more about having a container with specific positioning than just replacing z-index (which is merely a consequence of that container loving outside of the <html> object). Also makes me want to have a bottom-level as well (e.g implementing cool effects on the background, think X11 root window).
z-index: 999 !important; top-layer: 999 !important; -webKit-actually-paint-me-last: true !inportant;