MDN self-hosted library · e01.org

captivePortal.getLastChecked()

Returns the time since the last request was completed.

no runnable cells webextension-api-function upstream source

Returns the time since the last request was completed.

Syntax

let state = browser.captivePortal.getLastChecked()

Return value

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

Browser compatibility