tabs.reload()

Reload a tab.

Syntax

browser.tabs.reload(
  tabId,            // optional integer
  reloadProperties, // optional object
  function() {...}  // optional function
)

Parameters

tabIdOptional
integer. The ID of the tab to reload; defaults to the selected tab of the current window.
reloadPropertiesOptional
object.
bypassCacheOptional
boolean. Whether using any local cache. Default is false.
callbackOptional
function.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

Example add-ons

Acknowledgements

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

Document Tags and Contributors

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