top | item 47169958 (no title) kg | 3 days ago 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. :( discuss order hn newest titzer|3 days ago 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. roywiggins|3 days ago https://github.com/mozilla/video-bg-play andrewflnr|3 days ago This, but as a built-in browser feature, configurable per-site, and also for all the other potentially useful/creepy web APIs. thih9|3 days ago Both could work. The API could be permission based. E.g. without consent the app would always see itself as in focus. sunaookami|2 days ago So one could stub out https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi... or fake it via an extension (there are actually some already that disable the API by injecting JS that always returns "visible", f.e. https://addons.mozilla.org/firefox/addon/disable-page-visibi...). Don't know if there are more. xenadu02|3 days ago But just use Chrome! Our website only works in Chrome. Everyone should just be using Chrome. What's wrong with a Chrome monoculture?:)
titzer|3 days ago 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.
roywiggins|3 days ago https://github.com/mozilla/video-bg-play andrewflnr|3 days ago This, but as a built-in browser feature, configurable per-site, and also for all the other potentially useful/creepy web APIs.
andrewflnr|3 days ago This, but as a built-in browser feature, configurable per-site, and also for all the other potentially useful/creepy web APIs.
thih9|3 days ago Both could work. The API could be permission based. E.g. without consent the app would always see itself as in focus.
sunaookami|2 days ago So one could stub out https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibi... or fake it via an extension (there are actually some already that disable the API by injecting JS that always returns "visible", f.e. https://addons.mozilla.org/firefox/addon/disable-page-visibi...). Don't know if there are more.
xenadu02|3 days ago But just use Chrome! Our website only works in Chrome. Everyone should just be using Chrome. What's wrong with a Chrome monoculture?:)
titzer|3 days ago
roywiggins|3 days ago
andrewflnr|3 days ago
thih9|3 days ago
sunaookami|2 days ago
xenadu02|3 days ago
:)