logoalt Hacker News

andrewflnryesterday at 6:24 PM2 repliesview on HN

This is something that browsers should solve.


Replies

BenjiWiebeyesterday at 7:09 PM

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.

kgyesterday at 6:25 PM

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

show 4 replies