1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00
uBlock/platform/chromium/managed_storage.json
Raymond Hill 649b3480e0
Add "toOverwrite.filters" entry as managed storage property
The new entry is an array of strings, each representing a
distinct line, and all entries are used to populate the
"My filters" pane.

This offers an more straightforward way for administrators
to specify a list of custom filters to use for all
installations.
2021-01-10 12:31:31 -05:00

65 lines
2.0 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": {
"filters": {
"title": "A collection of filters",
"description": "The set of user filters to use at launch time -- where each entry is a distinct line.",
"type": "array",
"items": { "type": "string" }
},
"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" }
}
}
}
}
}