mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-20 01:12:38 +01:00
0e3071dd50
The entry `toOverwrite.filterLists` is an array of string, where each string is a token identifying a stock filter list, or a URL for an external filter list. This new entry is to make it easier for an administrator to centrally configure uBO with a custom set of filter lists.
59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-03/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"adminSettings": {
|
|
"title": "A valid JSON string compliant with uBO's backup format",
|
|
"description": "All entries present will overwrite local settings.",
|
|
"type": "string"
|
|
},
|
|
"advancedSettings": {
|
|
"title": "A list of [name,value] pairs to populate advanced settings",
|
|
"type": "array",
|
|
"items": {
|
|
"title": "A [name,value] pair",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
}
|
|
},
|
|
"disableDashboard": {
|
|
"title": "Set to true to prevent access to configuration options",
|
|
"type": "boolean"
|
|
},
|
|
"disabledPopupPanelParts": {
|
|
"title": "An array of strings used to remove parts of the popup panel",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
"toAdd": {
|
|
"title": "Settings to add at launch time",
|
|
"type": "object",
|
|
"properties": {
|
|
"trustedSiteDirectives": {
|
|
"title": "A list of trusted-site directives",
|
|
"description": "Trusted-site directives to always add at launch time.",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
}
|
|
}
|
|
},
|
|
"toOverwrite": {
|
|
"title": "Settings to overwrite at launch time",
|
|
"type": "object",
|
|
"properties": {
|
|
"filterLists": {
|
|
"title": "A collection of list identifiers and/or list URLs",
|
|
"description": "The set of filter lists to use at launch time.",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
"trustedSiteDirectives": {
|
|
"title": "A list of trusted-site directives",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|