News for hackers. Stuff that matters.
Re:The <Usermedia> HTML Element by rho138 on Thursday July 02, 2026 @05:07AM (#48758569)
The immediate thought is re-prompt spam, for eternity, even with an appropriate signal sent from the user agent. This is the same as cookie banners - keep flushing the cookies after each session if the user agent doesn’t accept and wait until they do.

It’s a techbros wet dream on consent. Just keep asking until they say yes.

Re:The <Usermedia> HTML Element by echoangle on Thursday July 02, 2026 @05:42AM (#48758843)
But it’s only showing a button and then the prompt when you click the button. Unless you click the button, it can’t spam you with permissions.
Re:The <Usermedia> HTML Element by timando on Thursday July 02, 2026 @07:13AM (#48759594)
Just make the button transparent over the whole site and make it so you have to accept before it will let you do anything.
Re:The <Usermedia> HTML Element by echoangle on Thursday July 02, 2026 @08:03AM (#48760112)
Opacity is fixed at 1. and obviously you can just break your own site until you get permission, but then people will probably leave before they give your website which has no business accessing the camera permission.