Articles tagged: API
Found 5012 documents
- 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 ...
- 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.
- 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.
- 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/PageSettings The type tabs.PageSettings is used to control how a tab is rendered as a PDF by the ...
- Mozilla/Add-ons/WebExtensions/API/tabs/print Call this function to print the contents of the active tab. If this function is called, the user ...
- Mozilla/Add-ons/WebExtensions/API/tabs/printPreview None.
- 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, optionally bypassing the local web cache.
- Mozilla/Add-ons/WebExtensions/API/tabs/remove Closes one or more tabs.
- Mozilla/Add-ons/WebExtensions/API/tabs/removeCSS Removes from a page CSS which was previously injected by a call to tabs.insertCSS().
- Mozilla/Add-ons/WebExtensions/API/tabs/saveAsPDF Saves the current page as a PDF file. This will open a dialog, supplied by the underlying ...
- Mozilla/Add-ons/WebExtensions/API/tabs/sendMessage Sends a single message from the extension's background scripts (or other privileged scripts, ...
- Mozilla/Add-ons/WebExtensions/API/tabs/sendRequest Sends a single request to the content script(s) in the specified tab, with an optional callback ...
- Mozilla/Add-ons/WebExtensions/API/tabs/setZoom Zooms the specified tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/setZoomSettings Sets zoom settings for the specified tab. These settings are reset to the default settings upon ...
- Mozilla/Add-ons/WebExtensions/API/tabs/Tab The type tabs.Tab contains information about a tab. This provides access to information about ...
- Mozilla/Add-ons/WebExtensions/API/tabs/TabStatus Indicates whether the tab has finished loading.
- Mozilla/Add-ons/WebExtensions/API/tabs/TAB_ID_NONE A special ID value given to tabs that are not browser tabs (for example, tabs in devtools windows).
- Mozilla/Add-ons/WebExtensions/API/tabs/toggleReaderMode Toggles Reader Mode for the given tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/update Navigate the tab to a new URL, or modify other properties of the tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/WindowType The type of window that hosts this tab.
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettings Defines zoom settings for a tab: mode, scope, and default zoom factor.
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettingsMode Defines how zoom changes are handled. Extensions can pass this value into tabs.setZoomSettings() ...
- Mozilla/Add-ons/WebExtensions/API/tabs/ZoomSettingsScope Defines whether zoom changes will persist for the page's origin, or only take effect in this ...
- Mozilla/Add-ons/WebExtensions/API/theme/getCurrent Gets the currently used theme as a Theme object.
- Mozilla/Add-ons/WebExtensions/API/theme/reset Resets any theme that was applied using the theme.update() method.
- Mozilla/Add-ons/WebExtensions/API/theme/update Updates the browser theme according to the content of given Theme object.
- Mozilla/Add-ons/WebExtensions/API/topSites Use the topSites API to get an array containing all the sites listed in the browser's "New Tab" ...
- Mozilla/Add-ons/WebExtensions/API/topSites/get Gets an array containing all the sites listed in the browser's "New Tab" page.
- Mozilla/Add-ons/WebExtensions/API/topSites/MostVisitedURL The MostVisitedURL type contains two properties: the title of a page and its URL.
- Mozilla/Add-ons/WebExtensions/API/types Defines the BrowserSetting type, which is used to represent a browser setting.
- Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting A BrowserSetting is an object representing a browser setting.
- Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting/clear Use BrowserSetting.clear() to clear any changes the extension has made to the browser setting. ...
- Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting/get The BrowserSetting.get() method gets the current value of the browser setting, and an ...
- Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting/onChange The BrowserSetting.onChanged event is fired when the setting is changed.
- Mozilla/Add-ons/WebExtensions/API/types/BrowserSetting/set Use BrowserSetting.set() to change the browser setting to a new value.
- Mozilla/Add-ons/WebExtensions/API/webNavigation Add event listeners for the various stages of a navigation. A navigation consists of a frame in ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/getAllFrames Given a tab ID, retrieves information about all the frames it contains.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/getFrame Retrieves information about a particular frame. A frame may be the top-level frame in a tab or a ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onBeforeNavigate Fired when the browser is about to start a navigation event.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCommitted Fired when a navigation is committed. At least part of the new document has been received from ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCompleted Fired when a document, including the resources it refers to, is completely loaded and ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onCreatedNavigationTarget Fired when a new window, or a new tab in an existing window, is created to host the target of a ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onDOMContentLoaded Fired when the DOMContentLoaded event is fired in the page. At this point the document is loaded ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onErrorOccurred Fired when an error occurs and the navigation is aborted. This can happen if either a network ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onHistoryStateUpdated Fired when the page used the history API to update the URL displayed in the browser's location ...
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onReferenceFragmentUpdated Events have three functions:
- Mozilla/Add-ons/WebExtensions/API/webNavigation/onTabReplaced Fired when the contents of the tab is replaced by a different (usually previously pre-rendered) tab.
- Mozilla/Add-ons/WebExtensions/API/webNavigation/TransitionQualifier Values of this type are strings. Possible values are:
- Mozilla/Add-ons/WebExtensions/API/webNavigation/TransitionType Cause of the navigation: for example, the user clicked a link, or typed an address, or clicked a ...
- Mozilla/Add-ons/WebExtensions/API/webRequest Add event listeners for the various stages of making an HTTP request. The event listener ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/BlockingResponse An object of this type is returned by event listeners that have set "blocking" in their ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/filterResponseData Use this function to create a webRequest.StreamFilter object for a particular request. You can ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/handlerBehaviorChanged Suppose an extension's job is to block web requests against a pattern, and the following ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/HttpHeaders An array of HTTP headers. Each header is represented as an object with two properties: name and ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES The maximum number of times that handlerBehaviorChanged() can be called in a 10 minute period.
- Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired Fired when the server sends a 401 or 407 status code: that is, when the server is asking the ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRedirect Fired when a server-initiated redirect is about to occur.
- Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeRequest This event is triggered when a request is about to be made, and before headers are available. ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders This event is triggered before sending any HTTP data, but after all HTTP headers are available. ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/onCompleted Fired when a request has completed.
- Mozilla/Add-ons/WebExtensions/API/webRequest/onErrorOccurred Fired when a request could not be processed due to an error: for example, a lack of Internet ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/onHeadersReceived Fired when the HTTP response headers associated with a request have been received. You can use ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/onResponseStarted Fired when the first byte of the response body is received.
- Mozilla/Add-ons/WebExtensions/API/webRequest/onSendHeaders This event is fired just before sending headers. If your extension or some other extension ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/RequestFilter An object describing filters to apply to webRequest events.
- Mozilla/Add-ons/WebExtensions/API/webRequest/ResourceType This type is a string, which represents the context in which a resource was fetched in a web ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter A StreamFilter is an object you can use to monitor and modify HTTP responses.
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/disconnect You should always call disconnect() or close() once you don't need to interact with the response ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/error The compatibility table in this page is generated from structured data. If you'd like to ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/ondata The compatibility table in this page is generated from structured data. If you'd like to ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/onerror The compatibility table in this page is generated from structured data. If you'd like to ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/onstart The compatibility table in this page is generated from structured data. If you'd like to ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/resume Resumes a request that was previously suspended through a call to suspend().
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/status The compatibility table in this page is generated from structured data. If you'd like to ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/suspend Suspends a request. After this is called, no more data will be delivered until the request is ...
- Mozilla/Add-ons/WebExtensions/API/webRequest/StreamFilter/write None.
- Mozilla/Add-ons/WebExtensions/API/webRequest/UploadData Contains data uploaded in a URL request.
- Mozilla/Add-ons/WebExtensions/API/windows Interact with browser windows. You can use this API to get information about open windows and to ...
- Mozilla/Add-ons/WebExtensions/API/windows/create Creates a new window.
- Mozilla/Add-ons/WebExtensions/API/windows/CreateType Specifies the type of browser window to create.
- Mozilla/Add-ons/WebExtensions/API/windows/get Gets details about a window, given its ID. The details are passed into a callback.
- Mozilla/Add-ons/WebExtensions/API/windows/getAll Gets information about all open windows, passing them into a callback.
- Mozilla/Add-ons/WebExtensions/API/windows/getCurrent Gets the current browser window, passing its details into a callback.
- Mozilla/Add-ons/WebExtensions/API/windows/getLastFocused Gets the window that was most recently focused — typically the window 'on top'.
- Mozilla/Add-ons/WebExtensions/API/windows/onCreated Fired when a window is created.
- Mozilla/Add-ons/WebExtensions/API/windows/onFocusChanged Fired when the currently focused window changes. Will be windows.WINDOW_ID_NONE if all browser ...
- Mozilla/Add-ons/WebExtensions/API/windows/onRemoved Fired when a window is closed.
- Mozilla/Add-ons/WebExtensions/API/windows/remove Closes a window and all the tabs inside it, given the window's ID.
- Mozilla/Add-ons/WebExtensions/API/windows/update Updates the properties of a window. Use this to move, resize, and (un)focus a window, etc.
- Mozilla/Add-ons/WebExtensions/API/windows/Window Information about a browser window.