ds300 / jetzt

Speed reader extension for chrome
Other
485 stars 124 forks source link

Grabbing focus when window get's focus #158

Closed peteruithoven closed 8 years ago

peteruithoven commented 8 years ago

I noticed that at least in Firefox, when the browser lost focus and got focus again the key handling didn't work anymore. Adding an onfocus handler wasn't enough, I also needed to add a small timeout.