mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-09 12:22:33 +01:00
a4aced69dc
Though Firefox shares a lot of WebExtensions code with Chromium,
these platforms have their own specific code paths, for various
reasons.
The reorganization here makes it clear that Chromium platform is
just one flavor of WebExtensions, and as such all Chromium-specific
code paths should no longer be automatically pulled by other
platforms where these code paths are not needed.
Given that the filepath of many files changed, here is the
parent commit to quickly browse back to the previous directory
layout:
ec7db30b2f
74 lines
2.3 KiB
JSON
74 lines
2.3 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" }
|
|
}
|
|
},
|
|
"userSettings": {
|
|
"title": "A list of [name,value] pairs to populate user 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" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|