Articles tagged: API
Found 3965 documents
- Mozilla/Add-ons/WebExtensions/API/runtime/getURL string. The fully-qualified URL to the resource.
- Mozilla/Add-ons/WebExtensions/API/runtime/id The ID of the add-on. In Firefox, this is the same as the ID you set in the applications ...
- Mozilla/Add-ons/WebExtensions/API/runtime/lastError There are two different ways add-ons can call asynchronous functions:
- Mozilla/Add-ons/WebExtensions/API/runtime/MessageSender An object containing information about the sender of a message or connection request.
- Mozilla/Add-ons/WebExtensions/API/runtime/onBrowserUpdateAvailable Fired when an update for the browser is available, but isn't installed immediately because a ...
- Mozilla/Add-ons/WebExtensions/API/runtime/onConnect Fired when a connection is made from either an extension process or a content script.
- Mozilla/Add-ons/WebExtensions/API/runtime/onConnectExternal Fired when a connection is made from another extension.
- Mozilla/Add-ons/WebExtensions/API/runtime/onInstalled Fired when the extension is first installed, when the extension is updated to a new version, and ...
- Mozilla/Add-ons/WebExtensions/API/runtime/OnInstalledReason The reason that the runtime.onInstalled event is being dispatched.
- Mozilla/Add-ons/WebExtensions/API/runtime/onMessage Fired when a message is sent from either an extension process or a content script.
- Mozilla/Add-ons/WebExtensions/API/runtime/onMessageExternal Fired when a message is sent from another extension/app. Cannot be used in a content script.
- Mozilla/Add-ons/WebExtensions/API/runtime/onRestartRequired Fired when an app or the device that it runs on needs to be restarted. The app should close all its ...
- Mozilla/Add-ons/WebExtensions/API/runtime/OnRestartRequiredReason The reason that the onRestartRequired event is being dispatched.
- Mozilla/Add-ons/WebExtensions/API/runtime/onStartup Fired when a profile that has this extension installed first starts up. This event is not fired ...
- Mozilla/Add-ons/WebExtensions/API/runtime/onSuspend Sent to the event page just before it is unloaded. This gives the extension opportunity to do some ...
- Mozilla/Add-ons/WebExtensions/API/runtime/onSuspendCanceled Sent after onSuspend to indicate that the app won't be unloaded after all.
- Mozilla/Add-ons/WebExtensions/API/runtime/onUpdateAvailable Fired when an update is available, but isn't installed immediately because the app is currently ...
- Mozilla/Add-ons/WebExtensions/API/runtime/openOptionsPage If your add-on does not define an options page, or the browser failed to create one for some other ...
- Mozilla/Add-ons/WebExtensions/API/runtime/PlatformArch The machine's processor architecture.
- Mozilla/Add-ons/WebExtensions/API/runtime/PlatformInfo An object containing information about the current platform.
- Mozilla/Add-ons/WebExtensions/API/runtime/PlatformNaclArch The native client architecture. This may be different from arch on some platforms.
- Mozilla/Add-ons/WebExtensions/API/runtime/PlatformOs The operating system the browser is running on.
- Mozilla/Add-ons/WebExtensions/API/runtime/Port A Port object provides a dedicated messaging channel between two specific endpoints.
- Mozilla/Add-ons/WebExtensions/API/runtime/reload Reloads the app or extension.
- Mozilla/Add-ons/WebExtensions/API/runtime/requestUpdateCheck Checks to see if an update for this extension is available.
- Mozilla/Add-ons/WebExtensions/API/runtime/RequestUpdateCheckStatus Result of a call to runtime.requestUpdateCheck().
- Mozilla/Add-ons/WebExtensions/API/runtime/restart Restart the device when the app runs in kiosk mode. Otherwise, it's no-op.
- Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage Sends a single message to event listeners within your extension or a different extension.
- Mozilla/Add-ons/WebExtensions/API/runtime/sendNativeMessage Send a single message to a native application.
- Mozilla/Add-ons/WebExtensions/API/runtime/setUninstallURL Sets the URL to be visited when the extension is uninstalled. This may be used to clean up ...
- Mozilla/Add-ons/WebExtensions/API/storage Enables WebExtensions to store and retrieve data, and listen for changes to stored items.
- Mozilla/Add-ons/WebExtensions/API/storage/local Represents the local storage area. Items in local storage are local to the machine the extension ...
- Mozilla/Add-ons/WebExtensions/API/storage/managed Respresents the managed storage area. Items in managed storage are set by the domain administrator ...
- Mozilla/Add-ons/WebExtensions/API/storage/onChanged Fired when one or more items change.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea StorageArea is an object representing a change to a storage area.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/clear Removes all items from the storage area.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/get Retrieves one or more items from the storage area.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/getBytesInUse Gets the amount of storage space, in bytes, used one or more items being stored in the storage area.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/remove Removes one or more items from the storage area.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageArea/set Stores one or more items in the storage area, or update existing items.
- Mozilla/Add-ons/WebExtensions/API/storage/StorageChange StorageChange objects contain the following properties:
- Mozilla/Add-ons/WebExtensions/API/storage/sync Represents the sync storage area. Items in sync storage are synced by the browser, and are ...
- Mozilla/Add-ons/WebExtensions/API/tabs Interact with the browser's tab system. You can use this API to get a list of opened tabs and to ...
- Mozilla/Add-ons/WebExtensions/API/tabs/captureVisibleTab Captures the visible area of the currently active tab in the specified window. You must have ...
- Mozilla/Add-ons/WebExtensions/API/tabs/connect Connects to the content script(s) in the specified tab. The runtime.onConnect event is fired in ...
- Mozilla/Add-ons/WebExtensions/API/tabs/create Creates a new tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/detectLanguage Detects the primary language of the content in a tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/duplicate Duplicates a tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/executeScript Injects JavaScript code into a page. For details, see the programmatic injection section of the ...
- Mozilla/Add-ons/WebExtensions/API/tabs/get Retrieves details about the specified tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/getAllInWindow
- Mozilla/Add-ons/WebExtensions/API/tabs/getCurrent Gets the tab that this script call is being made from. May be undefined if called from a non-tab ...
- Mozilla/Add-ons/WebExtensions/API/tabs/getSelected Gets the tab that is selected in the specified window.
- Mozilla/Add-ons/WebExtensions/API/tabs/getZoom Gets the current zoom factor of a specified tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/getZoomSettings Gets the current zoom settings of a specified tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/highlight Highlights the given tabs.
- Mozilla/Add-ons/WebExtensions/API/tabs/insertCSS Injects CSS into a page. For details, see the programmatic injection section of the content scripts ...
- Mozilla/Add-ons/WebExtensions/API/tabs/move Moves one or more tabs to a new position in the same window or in a different window.
- Mozilla/Add-ons/WebExtensions/API/tabs/MutedInfo Tab muted state and the reason for the last state change.
- Mozilla/Add-ons/WebExtensions/API/tabs/MutedInfoReason Specifies the reason a tab was muted or unmuted.
- Mozilla/Add-ons/WebExtensions/API/tabs/onActivated Fires when the active tab in a window changes. Note that the tab's URL may not be set at the time ...
- Mozilla/Add-ons/WebExtensions/API/tabs/onActiveChanged Fires when the selected tab in a window changes. Note that the tab's URL may not be set at the time ...
- Mozilla/Add-ons/WebExtensions/API/tabs/onAttached Fired when a tab is attached to a window, for example because it was moved between windows.
- Mozilla/Add-ons/WebExtensions/API/tabs/onCreated Fired when a tab is created. Note that the tab's URL may not be set at the time this event fired, ...
- Mozilla/Add-ons/WebExtensions/API/tabs/onDetached Fired when a tab is detached from a window, for example because it is being moved between windows.
- Mozilla/Add-ons/WebExtensions/API/tabs/onHighlightChanged Fired when the highlighted or selected tabs in a window changes.
- Mozilla/Add-ons/WebExtensions/API/tabs/onHighlighted Fired when the set of highlighted tabs in a window changes.
- Mozilla/Add-ons/WebExtensions/API/tabs/onMoved Fired when a tab is moved within a window. Only one move event is fired, representing the tab the ...
- Mozilla/Add-ons/WebExtensions/API/tabs/onRemoved Fired when a tab is closed.
- Mozilla/Add-ons/WebExtensions/API/tabs/onReplaced Fired when a tab is replaced with another tab due to prerendering or instant.
- Mozilla/Add-ons/WebExtensions/API/tabs/onSelectionChanged Fires when the selected tab in a window changes.
- Mozilla/Add-ons/WebExtensions/API/tabs/onUpdated Fired when a tab is updated.
- Mozilla/Add-ons/WebExtensions/API/tabs/onZoomChange Fired when a tab is zoomed.
- Mozilla/Add-ons/WebExtensions/API/tabs/query Gets all tabs that have the specified properties, or all tabs if no properties are specified.
- Mozilla/Add-ons/WebExtensions/API/tabs/reload Reload a tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/remove Closes one or more tabs.
- Mozilla/Add-ons/WebExtensions/API/tabs/sendMessage Sends a single message to the content script(s) in the specified tab, with an optional callback to ...
- Mozilla/Add-ons/WebExtensions/API/tabs/sendRequest Sends a single request to the content script(s) in the specified tab, with an optional callback to ...
- Mozilla/Add-ons/WebExtensions/API/tabs/setZoom Zooms a specified tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/setZoomSettings Sets the zoom settings for a specified tab, which define how zoom changes are handled. These ...
- Mozilla/Add-ons/WebExtensions/API/tabs/Tab This type contains information about a tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/TabStatus Whether the tabs have completed loading.
- Mozilla/Add-ons/WebExtensions/API/tabs/TAB_ID_NONE An ID which represents the absence of a browser tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/update Modifies the properties of a tab. Properties that are not specified in updateProperties are not ...
- Mozilla/Add-ons/WebExtensions/API/tabs/WindowType The type of window.
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettings Defines how zoom changes in a tab are handled and at what scope.
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettingsMode Defines how zoom changes are handled, i.e. which entity is responsible for the actual scaling of ...
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettingsScope Defines whether zoom changes will persist for the page's origin, or only take effect in this tab; ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation Get notifications about the various stages of a navigation event.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/getAllFrames Retrieves information about all frames of a given tab.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/getFrame Retrieves information about the given frame. A frame refers to an iframe or a frame of a web page ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onBeforeNavigate Fired when a navigation is about to occur.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCommitted Fired when a navigation is committed. The document (and the resources it refers to, such as images ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCompleted Fired when a document, including the resources it refers to, is completely loaded and initialized.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCreatedNavigationTarget Fired when a new window, or a new tab in an existing window, is created to host a navigation.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onDOMContentLoaded Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onErrorOccurred Fired when an error occurs and the navigation is aborted. This can happen if either a network error ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onHistoryStateUpdated Fired when the frame's history was updated to a new URL. All future events for that frame will use ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onReferenceFragmentUpdated Fired when the reference fragment of a frame was updated. All future events for that frame will use ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onTabReplaced Fired when the contents of the tab is replaced by a different (usually previously pre-rendered) tab.