diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index e79eab45bc91190..6539125f5784c6f 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -12954,10 +12954,6 @@ "aswan" ] }, - "Mozilla/Add-ons/WebExtensions/API/downloads/drag": { - "modified": "2020-10-15T21:44:35.541Z", - "contributors": ["wbamberg", "Makyen", "chrisdavidmills"] - }, "Mozilla/Add-ons/WebExtensions/API/downloads/erase": { "modified": "2020-10-15T21:44:38.278Z", "contributors": ["wbamberg", "Makyen", "chrisdavidmills"] diff --git a/files/en-us/mozilla/add-ons/webextensions/api/downloads/drag/index.md b/files/en-us/mozilla/add-ons/webextensions/api/downloads/drag/index.md deleted file mode 100644 index b0803c673de8e50..000000000000000 --- a/files/en-us/mozilla/add-ons/webextensions/api/downloads/drag/index.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: downloads.drag() -slug: Mozilla/Add-ons/WebExtensions/API/downloads/drag -page-type: webextension-api-function -browser-compat: webextensions.api.downloads.drag ---- - -{{AddonSidebar()}} - -The **`drag()`** function of the {{WebExtAPIRef("downloads")}} API initiates dragging the downloaded file to another application. - -## Syntax - -```js-nolint -chrome.downloads.drag( - downloadId // integer -) -``` - -This API is also available as `browser.downloads.drag()`. - -### Parameters - -- `downloadId` - - : An `integer` representing the `id` of the {{WebExtAPIRef("downloads.DownloadItem", "DownloadItem")}} in question. - -## Browser compatibility - -{{Compat}} - -{{WebExtExamples}} - -> **Note:** This API is based on Chromium's [`chrome.downloads`](https://developer.chrome.com/docs/extensions/reference/downloads/#method-drag) API. - - diff --git a/files/en-us/mozilla/add-ons/webextensions/api/downloads/index.md b/files/en-us/mozilla/add-ons/webextensions/api/downloads/index.md index d9f1b9670af7fe1..ebf7a939c3dac81 100644 --- a/files/en-us/mozilla/add-ons/webextensions/api/downloads/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/api/downloads/index.md @@ -60,8 +60,6 @@ To use this API you need to have the "downloads" [API permission](/en-US/docs/Mo - : Removes a downloaded file from disk, but not from the browser's download history. - {{WebExtAPIRef("downloads.acceptDanger()")}} - : Prompts the user to accept or cancel a dangerous download. -- {{WebExtAPIRef("downloads.drag()")}} - - : Initiates dragging the downloaded file to another application. - {{WebExtAPIRef("downloads.setShelfEnabled()")}} - : Enables or disables the gray shelf at the bottom of every window associated with the current browser profile. The shelf will be disabled as long as at least one extension has disabled it. diff --git a/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme/index.md b/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme/index.md index 15711c7dd38c490..6d96f16b7b99e37 100644 --- a/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/manifest.json/theme/index.md @@ -126,36 +126,6 @@ Images should be 200 pixels high to ensure they always fill the header space ver
-headerURL
{{Deprecated_Inline}}String
- Warning: headerURL
has been removed in
- Firefox 70. You will begin to get warnings in Firefox 65 and later
- if you load a theme that uses this property. Use
- theme_frame
instead.
-
- The URL of a foreground image to be added to the header area and - anchored to the upper right corner of the header area. -
-
- Optional in desktop Firefox from Firefox 60 onwards. One of
- theme_frame
or headerURL
had to be specified
- before Firefox 60. Note also that in Firefox 60 onwards, any
- {{cssxref("text-shadow")}} applied to the header text is
- removed if no headerURL
is specified (see
- [Firefox bug 1404688](https://bugzil.la/1404688)).
-
- In Firefox for Android, headerURL
or
- theme_frame
must be specified.
-
theme_frame
String
- Optional in desktop Firefox 60 onwards. One of
- theme_frame
or headerURL
had to be specified
- before Firefox 60.
-
- In Firefox for Android, headerURL
or
- theme_frame
must be specified.
+ Optional in desktop Firefox 60 onwards. Required in Firefox for Android.
-
|
-
-
-
-
- Warning:
- The color of the header area background, displayed in the part of the
- header not covered or visible through the images specified in
-
-
-
- See example--"theme": { - "colors": { - "accentcolor": "red", - "tab_background_text": "white" - } -}- |
- ||||||||
bookmark_text |
@@ -441,7 +373,7 @@ All these properties can be specified as either a string containing any valid [C } - + | ||||||||
textcolor {{Deprecated_Inline}} |
-
-
-
-
- Warning: The color of the text displayed in the header area. -
-
-
- See example--"theme": { - "colors": { - "frame": "black", - "toolbar": "white", - "textcolor": "red" - } -}- |
- ||||||||
toolbar |
@@ -1342,8 +1243,6 @@ All these properties can be specified as either a string containing any valid [C
Additionally, this key accepts various properties that are aliases for one of the properties above. These are provided for compatibility with Chrome. If an alias is given, and the non-alias version is also given, then the value will be taken from the non-alias version.
-> **Warning:** Beginning Firefox 70, the following properties are removed: `accentcolor` and `textcolor`. Use `frame` and `tab_background_text` instead. Using these values in themes loaded into Firefox 65 or later will raise warnings.
-
|