Skip to content

Commit

Permalink
Remove long gone WebExtensions features
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Dec 19, 2023
1 parent 496ddf3 commit 146dc75
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 159 deletions.
4 changes: 0 additions & 4 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,36 +126,6 @@ Images should be 200 pixels high to ensure they always fill the header space ver
</tr>
</thead>
<tbody>
<tr>
<td><code>headerURL </code>{{Deprecated_Inline}}</td>
<td><code>String</code></td>
<td>
<div class="notecard warning">
<p>
<strong>Warning:</strong> <code>headerURL</code> 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
<code>theme_frame</code> instead.
</p>
</div>
<p>
The URL of a foreground image to be added to the header area and
anchored to the upper right corner of the header area.
</p>
<p>
Optional in desktop Firefox from Firefox 60 onwards. One of
<code>theme_frame</code> or <code>headerURL</code> 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 <code>headerURL</code> is specified (see
[Firefox bug 1404688](https://bugzil.la/1404688)).
</p>
<p>
In Firefox for Android, <code>headerURL</code> or
<code>theme_frame</code> must be specified.
</p>
</td>
</tr>
<tr>
<td><code>theme_frame</code></td>
<td><code>String</code></td>
Expand Down Expand Up @@ -213,7 +183,7 @@ Images should be 200 pixels high to ensure they always fill the header space ver

### colors

These properties define the colors used for different parts of the browser. They are all optional (but note that `"accentcolor"` and `"textcolor"` were mandatory in Firefox before version 63). How these properties affect the Firefox UI is shown here:
These properties define the colors used for different parts of the browser. They are all optional. How these properties affect the Firefox UI is shown here:

<table class="fullwidth-table standard-table">
<tbody>
Expand Down Expand Up @@ -251,38 +221,6 @@ All these properties can be specified as either a string containing any valid [C
</tr>
</thead>
<tbody>
<tr>
<td>
<p><code>accentcolor</code> {{Deprecated_Inline}}</p>
</td>
<td>
<div class="notecard warning">
<p>
<strong>Warning:</strong> <code>accentcolor</code> 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 the
<code>frame</code> property instead.
</p>
</div>
<p>
The color of the header area background, displayed in the part of the
header not covered or visible through the images specified in
<code>"headerURL"</code> and <code>"additional_backgrounds"</code>.
</p>
<details open>
<summary>See example</summary>
<pre class="brush: json">
"theme": {
"colors": {
"accentcolor": "red",
"tab_background_text": "white"
}
}</pre
>
</details>
<p><img alt="Browser firefox is red with white text. Browsers tabs are lighter red, also with white text. URL bar is very light red with black text" src="theme-accentcolor.png" /></p>
</td>
</tr>
<tr>
<td><code>bookmark_text</code></td>
<td>
Expand Down Expand Up @@ -924,33 +862,6 @@ All these properties can be specified as either a string containing any valid [C
<p><img alt="Browser firefox has a picture of an insect theme. URL bar is lighter grey with white icons. The selected tab text is red with white background." src="theme-tab_text.png" /></p>
</td>
</tr>
<tr>
<td><code>textcolor</code> {{Deprecated_Inline}}</td>
<td>
<div class="notecard warning">
<p>
<strong>Warning:</strong> <code>textcolor</code> 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
<code>tab_background_text</code> instead.
</p>
</div>
<p>The color of the text displayed in the header area.</p>
<details open>
<summary>See example</summary>
<pre class="brush: json">
"theme": {
"colors": {
"frame": "black",
"toolbar": "white",
"textcolor": "red"
}
}</pre
>
</details>
<p><img alt="Browser firefox is black. Browser's tab and URL bar are white with red text and red icons." src="theme-textcolor.png" /></p>
</td>
</tr>
<tr>
<td><code>toolbar</code></td>
<td>
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 146dc75

Please sign in to comment.