News for hackers. Stuff that matters.
Re:Popover API by nerdponx on Friday May 10, 2024 @09:23AM (#40318667)
And surely this new API will not be abused. Right?
Re:Popover API by lolinder on Friday May 10, 2024 @09:49AM (#40318963)
At this point in the web's development the better question is: will this allow our abusers to do things that weren't possible before or in ways that are less blockable than before?

I think the answer is pretty clearly no to both questions, but it will allow us to simplify a lot of our code that was designed to make actually-useful popovers.

Re:Popover API by jwells89 on Friday May 10, 2024 @11:25AM (#40320122)
It might be, but at least the offending site can be taken care of by closing a single tab.

The part that sucked about old style popups is that they leaked into and on occasion would hijack (in the case of popup chains) your OS’ windowing system and at best make a mess of things or at worst turn your computer unusable.

Re:Popover API by hhreefgguu on Friday May 10, 2024 @10:03AM (#40319129)
It seems like the only context in which it could be abused would be if you have JS disabled but this still works? (Because of course you can do this with JS).

As CSS becomes more powerful it seems like being able to disable these powerful features, while still retaining the “document styling” features, will be important.

Re:Popover API by notatoad on Friday May 10, 2024 @02:04PM (#40321966)
it doesn't allow developers to do anything they can't already do.

it does make those elements easier for adblockers to remove though, by implementing the functionality in a standard way that constrains all the related logic into one easily removable element.