idle.queryState()

Read More at MDN Docs

Safe to Use

idle.queryState() is not safe to use.

It’s supported by 34% of global browsers.

Browsers

ChromeDec 11, 2008v1.0.0
26%100%
100% of Chrome users are running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeApr 5, 2017v15.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxMar 8, 2016v45.0.0
3%100%
100% of Firefox users are running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Dec 11, 2008 v1.0.0
26%100%
100% of Chrome users are running a supported version.
Dec 11, 2008 – Latest
v1.0.0+
26%100%

Full Support

Edge
Apr 5, 2017 v15.0.0
5%100%
100% of Edge users are running a supported version.
Apr 5, 2017 – Latest
v15.0.0+
5%100%

Full Support

Firefox
Mar 8, 2016 v45.0.0
3%100%
100% of Firefox users are running a supported version.
Mar 8, 2016 – Latest
v45.0.0+
3%100%

Full Support

Before version 51, Firefox always reports 'active'. After version 51, Firefox reports 'active' or 'idle' as appropriate.

Firefox for Android
Aug 2, 2016 v48.0.0
Firefox for Android supports this feature.
Aug 2, 2016 – Latest
v48.0.0+

Full Support

Before version 51, Firefox always reports 'active'. After version 51, Firefox reports 'active' or 'idle' as appropriate.

Opera
Unknown v1.0.0
1%100%
100% of Opera users are running a supported version.
Unknown
v1.0.0+
1%100%

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Unsupported
Safari on iOS does not support this feature.

No Support

Contribute