Detect the foreground app in Chrome OS

12 views
Skip to first unread message

James

unread,
Sep 17, 2016, 6:04:14 AM9/17/16
to Chromium-Extensions-Announce
Hi,

Is it possible to get the window id or whatever identifier of the foreground app in Chrome OS? I currently try to implement an app to detect user's activity on Chrome OS.

Thank you.

Antony Sargent

unread,
Sep 20, 2016, 1:05:11 PM9/20/16
to James, Chromium-Extensions-Announce
The closest thing we have to that is the chrome.windows API for extensions which lets you see windows with regular web pages and extension pages, but not chrome app windows. 

--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-extensions@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/b7b45f34-d6cf-49c6-bf95-41da7260db86%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages