mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Related discussion: https://github.com/uBlockOrigin/uBOL-home/discussions/35#discussioncomment-11157444 New policy setting: `rulesets` Type: array Type of array items: string Each item in the list is a list id (as seen in `rulesets/ruleset-details.json`), prefixed with either `+` to enable the ruleset, or `-` to disable the ruleset. Users will not be able to enable or disable rulesets present in the `rulesets` policy. Disabled rulesets will not appear in the dashboard. Use `-*` to remove all non-default rulesets, except for those added using `+[ruleset_id]`. Additionally, some work has been done to properly handle policy changes in a non-blocking and deferred manner, as I observed that it often takes long for calls to `storage.manage.get` to resolve. This potentailly takes care of the following issue: https://github.com/uBlockOrigin/uBOL-home/issues/174
21 lines
606 B
JSON
21 lines
606 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-03/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"noFiltering": {
|
|
"title": "List of domains for which no filtering should occur",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
"disableFirstRunPage": {
|
|
"title": "Disable first run page",
|
|
"type": "boolean"
|
|
},
|
|
"rulesets": {
|
|
"title": "Rulesets to add/remove",
|
|
"description": "Prefix a ruleset id with '+' to add, or '-' to remove. Use '-*' to disable all non-default lists.",
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
}
|
|
}
|
|
}
|