News for hackers. Stuff that matters.
Re:Mozilla says Chrome’s latest feature enables surveillance by pteraspidomorph on Thursday September 23, 2021 @10:26PM (#28637984)
I find the page visibility API, supported by every browser including Firefox, just as creepy. Perhaps even more, since most users don't know it exists and gave no permission for it to operate. Websites have no business knowing if I'm looking at them or not, and making assumptions about what I want them to do when I'm not.

https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi...

Re:Mozilla says Chrome’s latest feature enables surveillance by kevingadd on Friday September 24, 2021 @12:25AM (#28638624)
Interestingly, this API is one of the tools Youtube uses to stop you from playing videos in the background on mobile.
Re:Mozilla says Chrome’s latest feature enables surveillance by mrsalt on Friday September 24, 2021 @12:46AM (#28638720)
Here's an old thread about this: https://news.ycombinator.com/item?id=21244440

It's obvious when you the Page Visibility API original editors/authors: https://www.w3.org/TR/page-visibility-2/