W3cubDocs

/Web Extensions

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

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
getLastChecked
No
No
68
?
No
No
?
?
No
?
?
?

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/captivePortal/getLastChecked