Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/runtime/reload/index.md
6552 views
------{{AddonSidebar()}}
Reloads the extension.
If there are any pending updates for the extension, that it has deferred by listening to {{WebExtAPIRef("runtime.onUpdateAvailable")}}, then they will be applied on reload.
Syntax
Parameters
None.
Browser compatibility
{{Compat}}
Examples
Reload the extension when the user clicks a browser action's icon:
{{WebExtExamples}}
Note: This API is based on Chromium's
chrome.runtimeAPI. This documentation is derived fromruntime.jsonin the Chromium code.