runtime.requestUpdateCheck()

Checks to see if an update for this extension is available.

Syntax

browser.runtime.requestUpdateCheck(
  function(status, details) {...} // function
)

Parameters

callback
function. The function is passed the following arguments:
status
runtime.RequestUpdateCheckStatus. Result of the update check.
detailsOptional
object. If status is "update_available", this contains more information about the update. It is an object containing a single property:
version
string. The update's version.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?NoYes33
Firefox
Basic supportNo

Examples

Acknowledgements

This API is based on Chromium's chrome.runtime API. This documentation is derived from runtime.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,