Expand description
Defines commands and events for browser extensions.
Types, command parameters and event payloads for the Extensions
domain. The method-name constants for the same domain are in
crate::methods.
This domain is experimental and may change without notice.
Structs§
- Clear
Storage Items Params - Clears extension storage in the given
storageArea. - Extension
Info - Detailed information about an extension.
- GetExtensions
Params - Gets a list of all unpacked extensions.
- GetExtensions
Returns - What
Extensions.getExtensionsanswers with. - GetStorage
Items Params - Gets data from extension storage in the given
storageArea. Ifkeysis specified, these are used to filter the result. - GetStorage
Items Returns - What
Extensions.getStorageItemsanswers with. - Load
Unpacked Params - Installs an unpacked extension from the filesystem similar to –load-extension CLI flags. Returns extension ID once the extension has been installed.
- Load
Unpacked Returns - What
Extensions.loadUnpackedanswers with. - Remove
Storage Items Params - Removes
keysfrom extension storage in the givenstorageArea. - SetStorage
Items Params - Sets
valuesin extension storage in the givenstorageArea. The providedvalueswill be merged with existing values in the storage area. - Trigger
Action Params - Runs an extension default action.
- Uninstall
Params - Uninstalls an unpacked extension (others not supported) from the profile.
Enums§
- Storage
Area - Storage areas.