Articles tagged: Method
Found 1846 documents
- Archive/Add-ons/bookmarks.export Exports bookmarks to an HTML bookmark file.
- Archive/Add-ons/bookmarks.import Imports bookmarks from an HTML bookmark file.
- Archive/Firefox_OS/API/DataStore/add The add() method of the DataStore interface adds a new record to the data store; if the record ...
- Archive/Firefox_OS/API/DataStore/clear The clear() method of the DataStore interface deletes all records from the data store, leaving ...
- Archive/Firefox_OS/API/DataStore/get The get() method of the DataStore interface retrieves one or more objects from the current data ...
- Archive/Firefox_OS/API/DataStore/getLength The getLength() method of the DataStore interface returns the number of records stored in the ...
- Archive/Firefox_OS/API/DataStore/put The put() method of the DataStore interface updates an existing record in the data store.
- Archive/Firefox_OS/API/DataStore/remove The remove() method of the DataStore interface deletes one or more objects from the current data ...
- Archive/Firefox_OS/API/DataStore/sync The sync() method of the DataStore interface opens a cursor that allows you to step through any ...
- Archive/Firefox_OS/API/DataStoreCursor/close The close() method of the DataStoreCursor interface makes a request to terminate the cursor.
- Archive/Firefox_OS/API/DataStoreCursor/next The next() method of the DataStoreCursor interface makes a request to retrieve information about ...
- Archive/Firefox_OS/API/MozActivityRequestHandler/postError The postError method is used to send back an error message to the app that made the activity ...
- Archive/Firefox_OS/API/MozActivityRequestHandler/postResult The postResult method is used to send back an answer to the app that made the activity request.
- Archive/Firefox_OS/API/MozAlarmsManager/add The add method is used to retrieve a list of pending alarms.
- Archive/Firefox_OS/API/MozAlarmsManager/getAll The getAll method is used to retrieve a list of pending alarms.
- Archive/Firefox_OS/API/MozAlarmsManager/remove The remove method is used to retrieve a list of pending alarms.
- Archive/Firefox_OS/API/Navigator/mozHasPendingMessage This method is used to know if there are pending messages of a given type (true) ot not (false).
- Archive/Firefox_OS/API/Navigator/mozSetMessageHandler This method is used to allow applications to register a function handler that can receive — and ...
- Archive/Marketplace/API/DOMApplicationsManager/getAll The getAll() method of the DOMApplicationsManager interface lists all installed apps in the ...
- Archive/Marketplace/API/DOMApplicationsManager/setEnabled The setEnabled() method of the DOMApplicationsManager interface sets an application to be ...
- Archive/Marketplace/API/DOMApplicationsRegistry/checkInstalled Gets information about the given app. This can be used to determine if the app is installed.
- Archive/Marketplace/API/DOMApplicationsRegistry/getInstalled Get a list of all installed apps from this origin. For example, if you call this on the Firefox ...
- Archive/Marketplace/API/DOMApplicationsRegistry/getSelf Returns information about the calling app, if any. You can use this to determine if an app is ...
- Archive/Marketplace/API/DOMApplicationsRegistry/install Triggers the installation of an app. During the installation process, the app is validated and ...
- Archive/Marketplace/API/DOMApplicationsRegistry/installPackage Installs a packaged app.
- Archive/Marketplace/API/Navigator_(Marketplace)/mozPay The mozPay function is used to perform payments. It enables an app to use in-app payments.
- Archive/Web/Window.importDialog Because opening windows on mobile isn't necessarily appropriate, the Firefox Mobile team ...
- Glossary/Mixin A mixin is a coherent set of methods and properties implemented by other interfaces and classes. ...
- Learn/JavaScript/Building_blocks/Functions Another essential concept in coding is functions, which allow you to store a piece of code that ...
- Mozilla/Add-ons/Add-on_Manager/UpdateCheckListener UpdateCheckListeners are passed the results of update checks performed by the AddonUpdateChecker.
- Mozilla/Add-ons/Add-on_Manager/UpdateListener An UpdateListener receives messages from an update check for a single add-on, though it is ...
- Mozilla/Add-ons/Plugins/Reference/Browser-side This chapter describes methods in the plug-in API that are provided by the browser; these allow ...
- Mozilla/Add-ons/WebExtensions/API/alarms/clear Cancels an alarm, given its name.
- Mozilla/Add-ons/WebExtensions/API/alarms/clearAll Cancels all active alarms.
- Mozilla/Add-ons/WebExtensions/API/alarms/create Creates a new alarm.
- Mozilla/Add-ons/WebExtensions/API/alarms/get Gets an alarm, given its name. The alarm is passed into a callback function as an alarms.Alarm ...
- Mozilla/Add-ons/WebExtensions/API/alarms/getAll Gets all active alarms. The alarms are passed into a callback, as an array of alarms.Alarm objects.
- Mozilla/Add-ons/WebExtensions/API/bookmarks/create Creates a bookmark or folder as a child of the BookmarkTreeNode with the specified parentId. To ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/get Given the ID of a bookmarks.BookmarkTreeNode or an array of such IDs, the bookmarks.get() method ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/getChildren bookmarks.getChildren() retrieves all the immediate children of a given bookmark folder, ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/getRecent The bookmarks.getRecent() method retrieves a specified number of the most recently added ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/getSubTree The bookmarks.getSubTree() method asynchronously retrieves a bookmarks.BookmarkTreeNode, given ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/getTree bookmarks.getTree() returns an array containing the root of the bookmarks tree as a ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/move The bookmarks.move() method moves the specified BookmarkTreeNode to the specified destination ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/remove The bookmarks.remove() method removes a single bookmark or an empty bookmark folder.
- Mozilla/Add-ons/WebExtensions/API/bookmarks/removeTree The bookmarks.removeTree() method recursively removes a bookmark folder and all of its contents.
- Mozilla/Add-ons/WebExtensions/API/bookmarks/search The bookmarks.search() function searches for bookmarks matching the given query. Matching ...
- Mozilla/Add-ons/WebExtensions/API/bookmarks/update bookmarks.update() updates the title and/or URL of a bookmark, or the name of a bookmark folder.
- Mozilla/Add-ons/WebExtensions/API/browserAction/disable Disables the browser action for a tab, meaning that it cannot be clicked when that tab is active.
- Mozilla/Add-ons/WebExtensions/API/browserAction/enable Enables the browser action for a tab. By default, browser actions are enabled for all tabs.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getBadgeBackgroundColor Gets the background color of the browser action's badge.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getBadgeText Gets the browser action's badge text.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getPopup Gets the HTML document set as the popup for this browser action.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getTitle Gets the browser action's title. Just as you can set the title on a per-tab basis using ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/setBadgeBackgroundColor Sets the background color for the badge.
- Mozilla/Add-ons/WebExtensions/API/browserAction/setBadgeText Sets the badge text for the browser action. The badge is displayed on top of the icon.
- Mozilla/Add-ons/WebExtensions/API/browserAction/setIcon Sets the icon for the browser action. The icon can be specified either as the path to an image ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/setPopup Sets the HTML document that will be opened as a popup when the user clicks on the browser ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/setTitle Sets the browser action's title. The title is displayed in a tooltip over the browser action's ...
- Mozilla/Add-ons/WebExtensions/API/commands/getAll Gets all commands for this add-on that you have registered using the commands manifest.json key.
- Mozilla/Add-ons/WebExtensions/API/contextMenus/create Creates a new context menu item.
- Mozilla/Add-ons/WebExtensions/API/contextMenus/remove Removes a context menu item.
- Mozilla/Add-ons/WebExtensions/API/contextMenus/removeAll Removes all context menu items added by this add-on.
- Mozilla/Add-ons/WebExtensions/API/contextMenus/update Updates a previously created context menu item.
- Mozilla/Add-ons/WebExtensions/API/cookies/get The get() method of the cookies API retrieves information about a single cookie, given its name ...
- Mozilla/Add-ons/WebExtensions/API/cookies/getAll The getAll() method of the cookies API retrieves all cookies from a single cookie store that ...
- Mozilla/Add-ons/WebExtensions/API/cookies/getAllCookieStores The getAllCookieStores() method of the cookies API returns a list of all cookie stores.
- Mozilla/Add-ons/WebExtensions/API/cookies/remove The remove() method of the cookies API deletes a cookie, given its name and URL.
- Mozilla/Add-ons/WebExtensions/API/cookies/set The set() method of the cookies API sets a cookie containing the specified cookie data. This ...
- Mozilla/Add-ons/WebExtensions/API/downloads/acceptDanger The acceptDanger () function of the downloads API prompts the user to either accept or cancel a ...
- Mozilla/Add-ons/WebExtensions/API/downloads/cancel The cancel () function of the downloads API cancels a download.
- Mozilla/Add-ons/WebExtensions/API/downloads/download The download() function of the downloads API downloads a file, given its URL and other optional ...
- Mozilla/Add-ons/WebExtensions/API/downloads/drag The drag () function of the downloads API initiates dragging the downloaded file to another ...
- Mozilla/Add-ons/WebExtensions/API/downloads/erase The erase () function of the downloads API erases matching DownloadItems from the browser's ...
- Mozilla/Add-ons/WebExtensions/API/downloads/getFileIcon The getFileIcon () function of the downloads API retrieves an icon for the specified download.
- Mozilla/Add-ons/WebExtensions/API/downloads/open The open () function of the downloads API opens the downloaded file with its associated application.
- Mozilla/Add-ons/WebExtensions/API/downloads/pause The pause () function of the downloads API pauses a download.
- Mozilla/Add-ons/WebExtensions/API/downloads/removeFile The removeFile () function of the downloads API removes a downloaded file from disk.
- Mozilla/Add-ons/WebExtensions/API/downloads/resume The resume () function of the downloads API resumes a paused download.
- Mozilla/Add-ons/WebExtensions/API/downloads/search The search() function of the downloads API queries the DownloadItems available in the browser's ...
- Mozilla/Add-ons/WebExtensions/API/downloads/setShelfEnabled The setShelfEnabled () function of the downloads API enables or disables the gray shelf at the ...
- Mozilla/Add-ons/WebExtensions/API/downloads/show The show () function of the downloads API shows the downloaded file in its containing folder in ...
- Mozilla/Add-ons/WebExtensions/API/downloads/showDefaultFolder The showDefaultFolder () function of the downloads API opens the default downloads folder in the ...
- 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 ...
- Mozilla/Add-ons/WebExtensions/API/extension/getURL Converts a relative path within an add-on's 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 ...
- Mozilla/Add-ons/WebExtensions/API/extension/isAllowedFileSchemeAccess This API is also available as browser.extension.isAllowedFileSchemeAccess() in a version that ...
- 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/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/history/addUrl Adds a record to the browser's history of a visit to the given URL. The visit's time is recorded ...
- Mozilla/Add-ons/WebExtensions/API/history/deleteAll Deletes all visits from the browser's history.
- Mozilla/Add-ons/WebExtensions/API/history/deleteRange Removes all visits to pages that the user made during the given time range. If this removes all ...
- Mozilla/Add-ons/WebExtensions/API/history/deleteUrl Removes all visits to the given URL from the browser history.
- Mozilla/Add-ons/WebExtensions/API/history/getVisits Retrieves information about all visits to the given URL.
- Mozilla/Add-ons/WebExtensions/API/history/search Searches the browser's history for history.HistoryItem objects matching the given criteria.
- 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. ...
- Mozilla/Add-ons/WebExtensions/API/i18n/getMessage Gets the localized string for the specified message.