uBlock/platform/mv3/extension/js
Raymond Hill 15dae359f7
[mv3] Add support to add/remove rulesets through policies
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
2024-11-11 13:20:54 -05:00
..
scripting [mv3] Remove useless arguments 2024-08-06 15:00:59 -04:00
admin.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
background.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
config.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
dashboard.js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
debug.js [mv3] Don't filter out tabless requests in "logger" 2024-08-17 10:42:17 -04:00
ext.js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
fetch.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
matched-rules.js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
mode-manager.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
popup.js [mv3] Add a _chat_ icon in popup panel to report filter issues 2024-09-28 14:08:42 -04:00
report.js [mv3] Issue labels cannot be set client-side 2024-10-11 16:41:13 -04:00
ruleset-manager.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
scripting-manager.js [mv3] Fix injection of scriptlets into embedded contexts 2024-08-20 08:18:03 -04:00
settings.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
theme.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
utils.js [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00