logoalt Hacker News

kgyesterday at 6:25 PM4 repliesview on HN

Unfortunately, browsers "solved" this by intentionally adding APIs that enable websites to do this to you. It wasn't possible to abuse users this way until the relevant APIs for detecting focus and occlusion were added. :(


Replies

titzeryesterday at 6:34 PM

It's a huge conflict of interest for an ads company to develop a browser, let alone the browser with...(checks notes)...77% market share.

thih9yesterday at 6:28 PM

Both could work. The API could be permission based. E.g. without consent the app would always see itself as in focus.

xenadu02yesterday at 7:34 PM

But just use Chrome! Our website only works in Chrome. Everyone should just be using Chrome. What's wrong with a Chrome monoculture?

:)