getLastChecked

Returns the time since the last request was completed.

Syntax

var state = browser.captivePortal.getLastChecked()

Return value

A Promise that is fulfilled with an integer representing time in milliseconds.

Browser compatibility

Report problems with this compatibility data on GitHub
webextensions-desktopwebextensions-mobile
ChromeEdgeFirefoxOperaSafariFirefox for Android
getLastChecked

Legend

Full support
Full support
No support
No support