This API provides the ability to determine the status of and detect changes in the network connection. This API can only be used in privileged extensions.
Permissions: networkStatus
networkStatus
Not allowed in: Content scripts, Devtools pages
Status of the network link, if "unknown" then link is usually assumed to be "up"
If known, the type of network connection that is avialable.
Const
Fired when the network connection state changes.
Returns the $(ref:NetworkLinkInfo} of the current network connection.
This API provides the ability to determine the status of and detect changes in the network connection. This API can only be used in privileged extensions.
Permissions:
networkStatusNot allowed in: Content scripts, Devtools pages