Oddbean new post about | logout
 nostr:npub1dwdttqfyfcufh0r2cunnt85699lwm79jmjv4jz0p9pw3aerfhp4s5ggj96 nostr:npub14w37fjdpkezfacsz3q8r97yqs9e0cquntlfkamgdhewnpaud4x9qtu9vjx All of the windows and sub-windows on a desktop know if they have focus right now or don't have focus.

But if you run a browser in a desktop inside of a virtual machine, everything running in the virtual machine doesn't know that the VM client window has lost focus -- there's no protocol for passing that message around.

Simplest way to do what you ask, without programming, is to run a desktop Linux OS in a VM with the target web page thinking it's "focused" when it's not.