1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 02:12:44 +01:00
uBlock/platform
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
..
browser Rewrite static filtering parser 2023-01-23 16:53:18 -05:00
chromium Blocking large media elements also prevents autoplay, regardless of size 2024-10-02 13:39:36 -04:00
common Blocking large media elements also prevents autoplay, regardless of size 2024-10-02 13:39:36 -04:00
dig Change official description in source code top comment 2023-12-04 12:10:34 -05:00
firefox Minor code review 2024-10-07 11:56:22 -04:00
mv3 [mv3] Add support to add/remove rulesets through policies 2024-11-11 13:20:54 -05:00
nodejs Update README for npm package 2024-10-07 08:56:34 -04:00
npm Use uBO's default listset 2024-10-11 09:03:30 -04:00
opera Rewrite cname uncloaking code to account for new ipaddress= option 2024-09-12 11:19:57 -04:00
safari Clarify that the code base was really old and obsolete 2019-09-22 09:57:38 -04:00
thunderbird Remove letsblock.it as target for subscribe.js content script 2024-04-03 10:51:39 -04:00