GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for onStateChanged.

Developer library 6

captivePortal

ents - captivePortal.onConnectivityAvailable - : Fires when the captive portal service determines that the user can connect to the internet. - captivePortal.onStateChanged - : Fires when the captive portal state changes. h2 ## Browser compatibility <!-- // Copyright 2015 The Chromium Authors. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are p

onStateChanged

Fires when the captive portal state changes. ## Syntax ```js-nolint browser.captivePortal.onStateChanged.addListener(listener) browser.captivePortal.onStateChanged.removeListener(listener) browser.captivePortal.onStateChanged.hasListener(listener) ``` Events have three functions: - `addListener(listener)` - : Adds a listener to this event. - `removeListener(listener)` - : Stop listening to this event. The `li

idle

umber of seconds, or `"active"` otherwise. - idle.setDetectionInterval() - : Sets the interval used to determine when the system is in an idle state for idle.onStateChanged events. ## Events - idle.onStateChanged - : Fired when the system changes state. h2 ## Browser compatibility > [!NOTE] > This API is based on Chromium's [`chrome.idle`](https://developer.chrome.com/docs/extensions/reference/api/idle) AP

idle.setDetectionInterval()

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. ## Syntax ```js-nolint browser.idle.setDetectionInterval( intervalInSeconds // integer

idle.onStateChanged

ults to 60, but can be set using idle.setDetectionInterval(). - "active" when the user generates input on an idle system. ## Syntax ```js-nolint browser.idle.onStateChanged.addListener(listener) browser.idle.onStateChanged.removeListener(listener) browser.idle.onStateChanged.hasListener(listener) ``` Events have three functions: - `addListener(listener)` - : Adds a listener to this event. - `removeListener(list

Firefox 51 release notes for developers

## Changes for add-on and Mozilla developers ### WebExtensions - New APIs: - idle.queryState() ([Firefox bug 1299846](https://bugzil.la/1299846)) - idle.onStateChanged ([Firefox bug 1299775](https://bugzil.la/1299775)) - management.getSelf() ([Firefox bug 1283116](https://bugzil.la/1283116)) - management.uninstallSelf() ([Firefox bug 1220136](https://bugzil.la/1220136)) - runtime.getBrowserInfo() ([Firef

JSON results · Services directory