Sets the interval, in seconds, used to determine when the system is in an idle state for
idle.onStateChanged events. The default interval is 60 seconds.
The detection interval is specific to the extension that calls the method. Changing the interval in one extension will not affect the detection interval in another extension.
browser.idle.setDetectionInterval( intervalInSeconds // integer )
integer. Threshold, in seconds, used to determine when the system is in an idle state. The minimum value you can supply here is 15.
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.