top | item 47169939

(no title)

andrewflnr | 3 days ago

This is something that browsers should solve.

discuss

order

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. :(

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.

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.

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?

:)

BenjiWiebe|3 days ago

Open a new browser window just for that tab. Presto, that tab is always active, even if that window is underneath another window.

In Firefox you can drag'n'drop a tab "out" of the tab bar, which will move it to a new window. Might work in other browsers too.