2017-03-07 19:31:43 +03:00
[
{
"namespace" : "manifest" ,
"types" : [
{
"$extend" : "WebExtensionManifest" ,
"properties" : {
"chrome_settings_overrides" : {
"type" : "object" ,
"optional" : true ,
"additionalProperties" : { "$ref" : "UnrecognizedProperty" } ,
"properties" : {
"homepage" : {
"type" : "string" ,
2018-02-01 05:21:32 +03:00
"format" : "homepageUrl" ,
2017-03-07 19:31:43 +03:00
"optional" : true ,
"preprocess" : "localize"
2017-06-02 23:59:43 +03:00
} ,
"search_provider" : {
"type" : "object" ,
"optional" : true ,
"additionalProperties" : { "$ref" : "UnrecognizedProperty" } ,
"properties" : {
"name" : {
"type" : "string" ,
"preprocess" : "localize"
} ,
"keyword" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize"
} ,
"search_url" : {
"type" : "string" ,
"format" : "url" ,
"pattern" : "^https://.*$" ,
"preprocess" : "localize"
} ,
"favicon_url" : {
"type" : "string" ,
"optional" : true ,
2019-11-15 19:30:08 +03:00
"format" : "relativeUrl" ,
2017-06-02 23:59:43 +03:00
"preprocess" : "localize"
} ,
"suggest_url" : {
"type" : "string" ,
"optional" : true ,
2019-04-12 00:30:47 +03:00
"pattern" : "^https://.*$|^$" ,
2017-08-14 18:56:47 +03:00
"preprocess" : "localize"
2017-06-02 23:59:43 +03:00
} ,
"instant_url" : {
"type" : "string" ,
"optional" : true ,
"format" : "url" ,
"preprocess" : "localize" ,
"deprecated" : "Unsupported on Firefox at this time."
} ,
"image_url" : {
"type" : "string" ,
"optional" : true ,
"format" : "url" ,
"preprocess" : "localize" ,
"deprecated" : "Unsupported on Firefox at this time."
} ,
2019-04-12 00:30:47 +03:00
"search_url_get_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
"description" : "GET parameters to the search_url as a query string."
} ,
2017-06-02 23:59:43 +03:00
"search_url_post_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
2018-09-29 01:03:04 +03:00
"description" : "POST parameters to the search_url as a query string."
2017-06-02 23:59:43 +03:00
} ,
2019-04-12 00:30:47 +03:00
"suggest_url_get_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
"description" : "GET parameters to the suggest_url as a query string."
} ,
2018-10-03 23:23:16 +03:00
"suggest_url_post_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
"description" : "POST parameters to the suggest_url as a query string."
} ,
2017-06-02 23:59:43 +03:00
"instant_url_post_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
"deprecated" : "Unsupported on Firefox at this time."
} ,
"image_url_post_params" : {
"type" : "string" ,
"optional" : true ,
"preprocess" : "localize" ,
"deprecated" : "Unsupported on Firefox at this time."
} ,
2019-04-12 00:30:47 +03:00
"search_form" : {
"type" : "string" ,
"optional" : true ,
"format" : "url" ,
"pattern" : "^https://.*$" ,
"preprocess" : "localize"
} ,
2017-06-02 23:59:43 +03:00
"alternate_urls" : {
"type" : "array" ,
"items" : {
"type" : "string" ,
"format" : "url" ,
"preprocess" : "localize"
} ,
"optional" : true ,
"deprecated" : "Unsupported on Firefox at this time."
} ,
"prepopulated_id" : {
"type" : "integer" ,
"optional" : true ,
"deprecated" : "Unsupported on Firefox."
} ,
2018-11-06 20:34:31 +03:00
"encoding" : {
"type" : "string" ,
"optional" : true ,
"description" : "Encoding of the search term."
} ,
2017-06-02 23:59:43 +03:00
"is_default" : {
"type" : "boolean" ,
"optional" : true ,
2017-07-18 19:28:33 +03:00
"description" : "Sets the default engine to a built-in engine only."
2018-10-03 23:23:16 +03:00
} ,
"params" : {
"optional" : true ,
"type" : "array" ,
"items" : {
"type" : "object" ,
"properties" : {
"name" : {
"type" : "string" ,
"description" : "A url parameter name"
} ,
"condition" : {
"type" : "string" ,
"optional" : true ,
"enum" : [ "purpose" , "pref" ] ,
"description" : "The type of param can be either \"purpose\" or \"pref\"."
} ,
"pref" : {
"type" : "string" ,
"optional" : true ,
2019-11-22 00:54:06 +03:00
"description" : "The preference to retrieve the value from." ,
"preprocess" : "localize"
2018-10-03 23:23:16 +03:00
} ,
"purpose" : {
"type" : "string" ,
"optional" : true ,
"enum" : [ "contextmenu" , "searchbar" , "homepage" , "keyword" , "newtab" ] ,
"description" : "The context that initiates a search, required if condition is \"purpose\"."
} ,
"value" : {
"type" : "string" ,
"optional" : true ,
2019-04-12 00:30:47 +03:00
"description" : "A url parameter value." ,
"preprocess" : "localize"
2018-10-03 23:23:16 +03:00
}
}
} ,
"description" : "A list of optional search url parameters. This allows the additon of search url parameters based on how the search is performed in Firefox."
2017-06-02 23:59:43 +03:00
}
}
2017-03-07 19:31:43 +03:00
}
}
}
}
}
]
}
2017-04-07 19:14:08 +03:00
]