You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>String: GET parameters to send to <code>search_url</code>. Available only in Firefox, for optimal cross-browser compatibility use <code>search_url</code> instead.</dd>
<dd>String: GET parameters to send to <code>suggest_url</code>. Available only in Firefox, for optimal cross-browser compatibility use <code>suggest_url</code> instead.</dd>
<dd>String: POST parameters to send to <code>suggest_url</code>.</dd>
171
-
</dl>
172
-
</td>
173
-
</tr>
174
-
</tbody>
175
-
</table>
41
+
-`homepage`
42
+
- : `string`. Defines the page to be used as the browser's homepage.
43
+
44
+
The replacement is given as a URL. The URL may:
45
+
- point to a file bundled with the extension, in which case it is
46
+
given as a URL relative to the manifest.json file
47
+
- be a remote URL, such as "https://developer.mozilla.org/".
48
+
49
+
If two or more extensions both set this value, then the setting from
50
+
the most recently installed one will take precedence.
51
+
52
+
To override new tabs, use [chrome_url_overrides](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/chrome_url_overrides) instead.
53
+
54
+
This is a [localizable property](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json).
55
+
56
+
-`search_provider`
57
+
- : Defines a search provider to add to the browser.
58
+
59
+
The search provider has a name and a primary search URL. Alternative
60
+
URLs may be provided, including URLs for more specialized searches
61
+
like image search. In the URL you supply, use
62
+
`{searchTerms}` to interpolate the search term into the
63
+
URL, like:
64
+
`https://www.discogs.com/search/?q={searchTerms}`. You can
65
+
also provide POST parameters to be sent along with the search.
66
+
67
+
The search provider will be presented to the user alongside the
68
+
built-in providers. If you include the
69
+
`is_default` property and set it to `true`, the
70
+
new search provider will be the default option. By supplying the
71
+
`keyword` property, you enable the user to select your
72
+
search provider by typing the keyword into the search/address bar
73
+
before the search term.
74
+
75
+
This is an object with the properties listed below. All string
76
+
properties are [localizable](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization#internationalizing_manifest.json).
77
+
-`name`
78
+
- : `string`. The search engine's name, displayed to the user.
79
+
80
+
-`search_url`
81
+
- : `string`. URL used by the search engine. This must be an HTTPS URL.
82
+
83
+
-`is_default` {{optional_inline}}
84
+
- : `boolean`. True if the search engine should be the default choice. On
85
+
Firefox, this is opt-in and the user will only be asked the first
86
+
time the extension is installed. They will not be asked again if a
87
+
search engine is added later.
88
+
89
+
-`alternate_urls` {{optional_inline}}
90
+
- : `array` of `string`. An array of alternative URLs that can be used instead of `search_url`.
91
+
92
+
-`encoding` {{optional_inline}}
93
+
- : `string`. Encoding of the search term, specified as a [standard character encoding name](https://www.iana.org/assignments/character-sets/character-sets.xhtml), such as "UTF-8".
94
+
95
+
-`favicon_url` {{optional_inline}}
96
+
- : `string`. URL pointing to an icon for the search engine. In Manifest V2,
97
+
this must be an absolute HTTP or HTTPS URL. In Manifest V3, this must
98
+
reference an icon provided in the extension as a path relative to the
99
+
extension's root.
100
+
101
+
-`image_url` {{optional_inline}}
102
+
- : `string`. URL used for image search.
103
+
104
+
-`image_url_post_params` {{optional_inline}}
105
+
- : `string`. POST parameters to send to `image_url`.
106
+
107
+
-`instant_url` {{optional_inline}}
108
+
- : `string`. URL used for instant search.
109
+
110
+
-`instant_url_post_params` {{optional_inline}}
111
+
- : `string`. POST parameters to send to `instant_url`.
112
+
113
+
-`keyword` {{optional_inline}}
114
+
- : `string`. Address bar keyword for the search engine.
115
+
116
+
-`prepopulated_id` {{optional_inline}}
117
+
- : `string`. The ID of a built-in search engine to use.
118
+
119
+
-`search_url_get_params` {{optional_inline}}
120
+
- : `string`. GET parameters to send to `search_url`. Available only in Firefox, for optimal cross-browser compatibility use `search_url` instead.
121
+
122
+
-`search_url_post_params` {{optional_inline}}
123
+
- : `string`. POST parameters to send to `search_url`.
124
+
125
+
-`suggest_url` {{optional_inline}}
126
+
- : `string`. URL used for search suggestions. This must be an HTTPS URL.
127
+
128
+
-`prepopulated_id` {{optional_inline}}
129
+
- : `string`. GET parameters to send to `suggest_url`. Available only in Firefox, for optimal cross-browser compatibility use `suggest_url` instead.
130
+
131
+
-`suggest_url_post_params` {{optional_inline}}
132
+
- : `string`. POST parameters to send to `suggest_url`.
0 commit comments