chrome_settings_overrides
chrome_settings_overrides
キーを使ってブラウザー設定を上書きします。2 つの設定が利用できます:
"homepage"
、これによりブラウザーのホームページを上書きできます。"search_provider"
、これにより新しい検索エンジンを追加できます。
"chrome_settings_overrides" : {
"homepage": "https://developer.mozilla.org/"
}
"chrome_settings_overrides": {
"search_provider": {
"name": "Discogs",
"search_url": "https://www.discogs.com/search/?q={searchTerms}",
"keyword": "disc",
"favicon_url": "https://www.discogs.com/favicon.ico"
}
}
マニフェストキー: chrome_settings_overrides
|
|
---|---|
型 | Object |
必須 | No |
構文
chrome_settings_overrides
キーは次のプロパティを持つオブジェクトです:
名前 | 型 | 説明 |
---|---|---|
homepage |
String |
Defines the page to be used as the browser's homepage. The replacement is given as a URL. The URL may:
If two or more extensions both set this value, then the setting from the most recently installed one will take precedence. To override new tabs, use "chrome_url_overrides" instead. This is a localizable property. |
search_provider |
Object |
Defines a search provider to add to the browser.
The search provider has a name and a primary search URL. Alternative
URLs may be provided, including URLs for more specialized searches
like image search. In the URL you supply, use
"
The search provider will be presented to the user alongside the
built-in providers. If you include the
This is an object with the properties listed below. All string properties are localizable.
|
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
chrome_settings_overrides | |||||||
homepage | |||||||
search_provider | |||||||
search_provider.alternate_urls | |||||||
search_provider.encoding | |||||||
search_provider.favicon_url | |||||||
search_provider.image_url | |||||||
search_provider.image_url_post_params | |||||||
search_provider.instant_url | |||||||
search_provider.instant_url_post_params | |||||||
search_provider.is_default | |||||||
search_provider.keyword | |||||||
search_provider.name | |||||||
search_provider.prepopulated_id | |||||||
search_provider.search_url | |||||||
search_provider.search_url_get_params | |||||||
search_provider.search_url_post_params | |||||||
search_provider.suggest_url | |||||||
search_provider.suggest_url_get_params | |||||||
search_provider.suggest_url_post_params | |||||||
startup_pages |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.