Articles tagged: API
Found 3965 documents
- Mozilla/Add-ons/WebExtensions/API/contextMenus/removeAll Removes all context menu items added by this extension.
- Mozilla/Add-ons/WebExtensions/API/contextMenus/update Updates a previously created context menu item.
- Mozilla/Add-ons/WebExtensions/API/cookies Get and set cookies, and be notified when they change.
- Mozilla/Add-ons/WebExtensions/API/cookies/Cookie Represents information about an HTTP cookie.
- Mozilla/Add-ons/WebExtensions/API/cookies/CookieStore Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate ...
- Mozilla/Add-ons/WebExtensions/API/cookies/get Retrieves information about a single cookie. If more than one cookie of the same name exists for ...
- Mozilla/Add-ons/WebExtensions/API/cookies/getAll Retrieves all cookies from a single cookie store that match the given information. The cookies ...
- Mozilla/Add-ons/WebExtensions/API/cookies/getAllCookieStores Lists all existing cookie stores.
- Mozilla/Add-ons/WebExtensions/API/cookies/onChanged Fired when a cookie is set or removed. As a special case, note that updating a cookie's properties ...
- Mozilla/Add-ons/WebExtensions/API/cookies/OnChangedCause The underlying reason behind the cookie's change. If a cookie was inserted, or removed via an ...
- Mozilla/Add-ons/WebExtensions/API/cookies/remove Deletes a cookie by name.
- Mozilla/Add-ons/WebExtensions/API/cookies/set Sets a cookie with the given cookie data. This method is equivalent to issuing an HTTP Set-Cookie ...
- Mozilla/Add-ons/WebExtensions/API/downloads Interact with the browser's download manager. You can use this module to download files, cancel, ...
- Mozilla/Add-ons/WebExtensions/API/downloads/acceptDanger Prompt the user to either accept or cancel a dangerous download. acceptDanger() does not ...
- Mozilla/Add-ons/WebExtensions/API/downloads/BooleanDelta Represents the difference between two booleans.
- Mozilla/Add-ons/WebExtensions/API/downloads/cancel Cancel a download. When callback is run, the download is cancelled, completed, interrupted or ...
- Mozilla/Add-ons/WebExtensions/API/downloads/DangerType These string constants will never change, however the set of DangerTypes may change.
- Mozilla/Add-ons/WebExtensions/API/downloads/DoubleDelta Represents the difference between two doubles.
- Mozilla/Add-ons/WebExtensions/API/downloads/download Download a file, given its URL.
- Mozilla/Add-ons/WebExtensions/API/downloads/DownloadItem Represents a downloaded file.
- Mozilla/Add-ons/WebExtensions/API/downloads/DownloadQuery Parameters that combine to specify a predicate that can be used to select a set of downloads. Used ...
- Mozilla/Add-ons/WebExtensions/API/downloads/DownloadTime A time specified as a Date object, a number of string representing milliseconds since the epoch, or ...
- Mozilla/Add-ons/WebExtensions/API/downloads/drag Initiate dragging the file to another application.
- Mozilla/Add-ons/WebExtensions/API/downloads/erase Erase matching DownloadItems from history, without deleting the downloaded file.
- Mozilla/Add-ons/WebExtensions/API/downloads/FilenameConflictAction Options for what to do if a filename conflicts with an existing file.
- Mozilla/Add-ons/WebExtensions/API/downloads/getFileIcon Retrieve an icon for the specified download. For new downloads, file icons are available after the ...
- Mozilla/Add-ons/WebExtensions/API/downloads/InterruptReason The reason a download was interrupted.
- Mozilla/Add-ons/WebExtensions/API/downloads/onChanged When any of a downloads.DownloadItem 's properties except bytesReceived changes, this event fires ...
- Mozilla/Add-ons/WebExtensions/API/downloads/onCreated This event fires when a download begins. The listener is passed the downloads.DownloadItem object.
- Mozilla/Add-ons/WebExtensions/API/downloads/onErased Fires with the downloadId when a download is erased from history.
- Mozilla/Add-ons/WebExtensions/API/downloads/open Open the downloaded file.
- Mozilla/Add-ons/WebExtensions/API/downloads/pause Pause the download. If the request was successful the download is in a paused state. Otherwise ...
- Mozilla/Add-ons/WebExtensions/API/downloads/removeFile Remove a downloaded file.
- Mozilla/Add-ons/WebExtensions/API/downloads/resume Resume a paused download. If the request was successful the download is in progress and unpaused. ...
- Mozilla/Add-ons/WebExtensions/API/downloads/search Find DownloadItems. Set query to the empty object to get all DownloadItems. To get a specific ...
- Mozilla/Add-ons/WebExtensions/API/downloads/setShelfEnabled
- Mozilla/Add-ons/WebExtensions/API/downloads/show Show the downloaded file in its folder in a file manager.
- Mozilla/Add-ons/WebExtensions/API/downloads/showDefaultFolder Open the downloads folder in the file manager.
- Mozilla/Add-ons/WebExtensions/API/downloads/State These string constants will never change, however the set of States may change.
- Mozilla/Add-ons/WebExtensions/API/downloads/StringDelta Represents the difference between two strings.
- Mozilla/Add-ons/WebExtensions/API/events Common types used by APIs that dispatch events.
- Mozilla/Add-ons/WebExtensions/API/events/Event An object which allows the addition and removal of listeners for a Chrome event.
- Mozilla/Add-ons/WebExtensions/API/events/Rule Description of a declarative rule for handling events.
- Mozilla/Add-ons/WebExtensions/API/events/UrlFilter Filters URLs for various criteria. See event filtering. All criteria are case sensitive.
- Mozilla/Add-ons/WebExtensions/API/extension Utilities related to your add-on. Get URLs to resources packages with your add-on, get the Window ...
- Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage Alias for runtime.getBackgroundPage().
- Mozilla/Add-ons/WebExtensions/API/extension/getExtensionTabs Returns an array of the JavaScript 'window' objects for each of the tabs running inside the current ...
- Mozilla/Add-ons/WebExtensions/API/extension/getURL Converts a relative path within an extension install directory to a fully-qualified URL.
- Mozilla/Add-ons/WebExtensions/API/extension/getViews Returns an array of the Window objects for each of the pages running inside the current extension.
- Mozilla/Add-ons/WebExtensions/API/extension/inIncognitoContext True for content scripts running inside incognito tabs, and for extension pages running inside an ...
- Mozilla/Add-ons/WebExtensions/API/extension/isAllowedFileSchemeAccess Retrieves the state of the extension's access to the 'file://' scheme (as determined by the ...
- Mozilla/Add-ons/WebExtensions/API/extension/isAllowedIncognitoAccess Retrieves the state of the extension's access to Incognito-mode (as determined by the ...
- Mozilla/Add-ons/WebExtensions/API/extension/lastError An alias for runtime.lastError.
- Mozilla/Add-ons/WebExtensions/API/extension/onRequest Fired when a request is sent from either an extension process or a content script.
- Mozilla/Add-ons/WebExtensions/API/extension/onRequestExternal Fired when a request is sent from another extension.
- Mozilla/Add-ons/WebExtensions/API/extension/sendRequest Sends a single request to other listeners within the extension. Similar to runtime.connect, but ...
- Mozilla/Add-ons/WebExtensions/API/extension/setUpdateUrlData Sets parameters for the extension's update URL. This value is ignored for extensions that are ...
- Mozilla/Add-ons/WebExtensions/API/extension/ViewType The type of extension view.
- Mozilla/Add-ons/WebExtensions/API/extensionTypes Some common types used in other WebExtension APIs.
- Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageDetails Details about the format and quality of an image.
- Mozilla/Add-ons/WebExtensions/API/extensionTypes/ImageFormat The format of an image.
- Mozilla/Add-ons/WebExtensions/API/extensionTypes/InjectDetails Details of the script or CSS to inject. Either the code or the file property must be set, but both ...
- Mozilla/Add-ons/WebExtensions/API/extensionTypes/RunAt The soonest that the JavaScript or CSS will be injected into the tab.
- Mozilla/Add-ons/WebExtensions/API/i18n Functions to internationalize your add-on. You can use these APIs to get localized strings from ...
- Mozilla/Add-ons/WebExtensions/API/i18n/detectLanguage Detects the language of the provided text using the Compact Language Detector (CLD).
- Mozilla/Add-ons/WebExtensions/API/i18n/getAcceptLanguages Gets the accept-languages of the browser. This is different from the locale used by the browser. To ...
- Mozilla/Add-ons/WebExtensions/API/i18n/getMessage Gets the localized string for the specified message.
- Mozilla/Add-ons/WebExtensions/API/i18n/getUILanguage Gets the UI language of the browser. This is different from i18n.getAcceptLanguages which returns ...
- Mozilla/Add-ons/WebExtensions/API/i18n/LanguageCode A language tag such as "en-US" or " fr ".
- Mozilla/Add-ons/WebExtensions/API/idle Find out when the user's system is idle, locked, or active.
- Mozilla/Add-ons/WebExtensions/API/idle/IdleState String describing the device's idle state.
- Mozilla/Add-ons/WebExtensions/API/idle/onStateChanged Fired when the system changes to an active, idle or locked state. The event fires with "locked" if ...
- Mozilla/Add-ons/WebExtensions/API/idle/queryState Returns "locked" if the system is locked, "idle" if the user has not generated any input for a ...
- Mozilla/Add-ons/WebExtensions/API/idle/setDetectionInterval Sets the interval, in seconds, used to determine when the system is in an idle state for ...
- Mozilla/Add-ons/WebExtensions/API/notifications/clear Clears a notification, given its ID.
- Mozilla/Add-ons/WebExtensions/API/notifications/create Creates and displays a notification.
- Mozilla/Add-ons/WebExtensions/API/notifications/getAll Gets the set of all current notifications created by the add-on.
- Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions This type contains all the data needed to:
- Mozilla/Add-ons/WebExtensions/API/notifications/onButtonClicked Fired when the user clicks one of the notification's buttons.
- Mozilla/Add-ons/WebExtensions/API/notifications/onClicked Fired when the user clicks a notification, but not on any of the notification's buttons (for that, ...
- Mozilla/Add-ons/WebExtensions/API/notifications/onClosed Fired when a notification is closed, either by the system or by the user.
- Mozilla/Add-ons/WebExtensions/API/notifications/TemplateType This is a string, and represents the type of notification to create. There are four types of ...
- Mozilla/Add-ons/WebExtensions/API/notifications/update Updates a notification, given its ID.
- Mozilla/Add-ons/WebExtensions/API/pageAction A page action is shown as a clickable icon inside the browser's address bar. You can listen for ...
- Mozilla/Add-ons/WebExtensions/API/pageAction/getPopup Gets the URL for the HTML document set as the popup for this page action.
- Mozilla/Add-ons/WebExtensions/API/pageAction/getTitle Gets the title of the page action.
- Mozilla/Add-ons/WebExtensions/API/pageAction/hide Hides the page action for a given tab.
- Mozilla/Add-ons/WebExtensions/API/pageAction/ImageDataType Pixel data for an image.
- Mozilla/Add-ons/WebExtensions/API/pageAction/onClicked Fired when a page action icon is clicked. This event will not fire if the page action has a popup.
- Mozilla/Add-ons/WebExtensions/API/pageAction/setIcon Sets the icon for the page action. The icon can be specified either as the path to an image file or ...
- Mozilla/Add-ons/WebExtensions/API/pageAction/setPopup Sets the HTML document to be opened as a popup when the user clicks on the page action's icon.
- Mozilla/Add-ons/WebExtensions/API/pageAction/setTitle Sets the title of the page action. This is displayed in a tooltip over the page action.
- Mozilla/Add-ons/WebExtensions/API/pageAction/show Shows the page action for a given tab. The page action is shown whenever the given tab is the ...
- Mozilla/Add-ons/WebExtensions/API/runtime This module provides information about your add-on and the environment it's running in. It also ...
- Mozilla/Add-ons/WebExtensions/API/runtime/connect Attempts to connect listeners within an extension (such as the background page), or other ...
- Mozilla/Add-ons/WebExtensions/API/runtime/connectNative Connects to a native application in the host machine.
- Mozilla/Add-ons/WebExtensions/API/runtime/getBackgroundPage Retrieves the Window for the add-on's background page.
- Mozilla/Add-ons/WebExtensions/API/runtime/getManifest object. The manifest.
- Mozilla/Add-ons/WebExtensions/API/runtime/getPackageDirectoryEntry Returns a DirectoryEntry for the package directory.
- Mozilla/Add-ons/WebExtensions/API/runtime/getPlatformInfo Returns information about the current platform.