Skip to main content

Timeline for Detect browser out of focus

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
S Mar 7 at 20:58 history suggested A-Tech CC BY-SA 4.0
Added relevant tag; Added paragraph breaks for readability; Added bullet point list for readbility
Mar 7 at 11:55 comment added fdomn-m There are other solutions in that question
Mar 7 at 11:44 comment added Diganta Kr Banik @CBroe the thing is I want to detect whether browser is now in focus, I guess chrome allows it through its own api, but that would mean I would have to detect it for specific browsers. I wanted to see if there is any single solution for it. Haven't been able to find any till now.
Mar 7 at 11:42 comment added Diganta Kr Banik @freedomn-m using angular for the project, so don't want to add jquery over it.
Mar 7 at 11:31 comment added fdomn-m Possibly the same question, but it's unclear if things have moved on - the jquery solution seems to still work, but this question not tagged jquery and perhaps a bit of overkill to add it just for this: stackoverflow.com/questions/1060008/…
Mar 7 at 11:30 review Suggested edits
S Mar 7 at 20:58
Mar 7 at 11:29 comment added CBroe Your other app's window must not necessarily cover the browser window, they could both still be visible. If the API reported the page as invisible in that state, it would simply be wrong. (And I don't think it should be the job of an in-browser API, to check on whatever else might be going on on my desktop.)
Mar 7 at 11:24 history asked Diganta Kr Banik CC BY-SA 4.0