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
Raymond Hill
54ed02e302
Import translation work from https://crowdin.com/project/ublock
2024-11-05 09:25:01 -05:00
Raymond Hill
d401527e83
Import translation work from https://crowdin.com/project/ublock
2024-10-31 11:28:06 -04:00
Raymond Hill
ac4506091e
Import translation work from https://crowdin.com/project/ublock
2024-10-28 12:04:34 -04:00
Raymond Hill
9b3e94b23f
Import translation work from https://crowdin.com/project/
2024-10-27 14:46:25 -04:00
Nadav Mermer
2782b16ecf
Allow rulesets enabled in manifest.json to stay enabled when finding language defaults
2024-10-20 18:10:23 +03:00
Raymond Hill
0425bdfd35
Import translation work from https://crowdin.com/project/ublock
2024-10-17 12:44:02 -04:00
Raymond Hill
27f3612fdf
[mv3] Set Optimal as default if extension broad permission at install time
...
This is to prepare uBOL to be ready to set Optimal mode as default
if ever Chromium-based browsers support a way to pre-grant broad host
permissions in a policy.
Related issue:
https://github.com/uBlockOrigin/uBOL-home/discussions/232
https://github.com/uBlockOrigin/uBOL-home/discussions/135
2024-10-17 12:37:21 -04:00
Raymond Hill
2c60bb3b07
[mv3] Issue labels cannot be set client-side
2024-10-11 16:41:13 -04:00
Raymond Hill
d24ffe6bb8
Import translation work from https://crowdin.com/project/ublock
2024-10-04 12:30:37 -04:00
Raymond Hill
0b02c7ccb6
Import translation work from https://crowdin.com/project/ublock
2024-10-01 12:27:56 -04:00
Raymond Hill
3d6984aeaf
Import translation work from https://crowdin.com/project/ublock
2024-09-29 17:06:51 -04:00
Raymond Hill
c6baa2fb51
Import translation work from https://crowdin.com/project/ublock
2024-09-29 11:15:04 -04:00
Raymond Hill
7f117e8d21
Import translation work from https://crowdin.com/project/ublock
2024-09-28 14:14:26 -04:00
Raymond Hill
99191d1363
Import translation work from https://crowdin.com/project/ublock
2024-09-28 14:12:13 -04:00
Raymond Hill
560def639f
[mv3] Add a _chat_ icon in popup panel to report filter issues
...
Just the same as with uBO, but for uBOL.
2024-09-28 14:08:42 -04:00
Raymond Hill
ff57f01026
Code review of fix re "internal error"
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/199
2024-09-22 12:14:52 -04:00
Raymond Hill
4c5a9353b0
Import translation work from https://crowdin.com/project/ublock
2024-09-22 11:50:20 -04:00
Raymond Hill
055973cc3f
Import translation work from https://crowdin.com/project/ublock
2024-09-20 09:16:32 -04:00
Raymond Hill
3238fe48db
Import translation work from https://crowdin.com/project/ublock
2024-09-17 17:48:45 -04:00
Raymond Hill
b62aabda85
Import translation work from https://crowdin.com/project/ublock
2024-09-15 13:25:58 -04:00
Raymond Hill
8fadfb2c5e
Import translation work from https://crowdin.com/project/ublock
2024-09-12 15:40:24 -04:00
Raymond Hill
bec5d53ce0
[mv3] Attempt at mitigation for when "internal error" occurs
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/199
2024-09-06 09:31:17 -04:00
Raymond Hill
520f81fcca
[mv3] Fix injection of scriptlets into embedded contexts
2024-08-20 08:18:03 -04:00
Raymond Hill
34047daa06
Import translation work from https://crowdin.com/project/ublock
2024-08-19 12:02:00 -04:00
Raymond Hill
e73eb23c90
[mv3] Don't filter out tabless requests in "logger"
2024-08-17 10:42:17 -04:00
Raymond Hill
1822d1503f
Import translation work from https://crowdin.com/project/ublock
2024-08-12 10:54:11 -04:00
Raymond Hill
665648ba97
[mv3] Re-word some text for accuracy
2024-08-07 10:03:03 -04:00
Raymond Hill
277977aa8a
[mv3] Remove useless arguments
2024-08-06 15:00:59 -04:00
Raymond Hill
ae6b53479d
[mv3] Minor change to debug output
2024-08-06 14:55:30 -04:00
Raymond Hill
fb037e97d0
[mv3] Improve `remove-attr.js` scriptlet
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/166
2024-08-06 14:47:03 -04:00
Raymond Hill
417dab538c
[mv3] Fix generating `allowAllRequests` rule when default mode is no-filtering
2024-08-04 11:59:16 -04:00
Raymond Hill
9562b19a93
Fall back to "Basic" when removing `all-urls` from "No filtering"
...
Related discussion:
https://github.com/uBlockOrigin/uBOL-home/issues/156#issuecomment-2254576670
2024-08-01 11:24:42 -04:00
Raymond Hill
a0de43aba9
Import translation work from https://crowdin.com/project/ublock
2024-07-29 16:05:15 -04:00
Raymond Hill
c7b54af0a2
[mv3] Add minimal ability to diagnose ruleset issue
...
A new icon has been added to the popup panel, to open a popup
window with a terse list of DNR events for the current tab, in
reverse chronological order (most recent DNR event appears at
the top).
The new ability is available only when the extension is sideloaded,
as per `declarativeNetRequestFeedback` documentation. Ref:
https://developer.chrome.com/docs/extensions/reference/api/declarativeNetRequest#event-onRuleMatchedDebug
Purposefully minimal, so as to have something rather than nothing
when having to diagnose filtering issue with the DNR API. Example:
https://github.com/uBlockOrigin/uBOL-home/issues/156
The content of the popup window does not dynamically update, force
a refresh (F5) to get the most recent DNR events. This might be
improved in the future.
The DNR event buffer is not persisted, so the buffer is empty when
service worker is restarted. This might be improved in the future
by using session storage API.
There is no output filtering ability in this first draft. This
might be improved in the future.
DNR rules are reported. The filter from which a DNR rule
originates is not reported. Given that the rulesets are optimized
after conversion from original filter lists to reduce the DNR rule
count, this is unlikely to ever be possible.
2024-07-29 14:54:46 -04:00
Raymond Hill
2bdbac1b84
Import translation work from https://crowdin.com/project/ublock
2024-07-09 13:16:17 -04:00
Raymond Hill
57ed293760
[mv3] Fix bad test re. managed storage
2024-06-28 13:39:38 -04:00
Raymond Hill
88065d0091
[mv3] Bring procdural cosmetic filtering code up to date with uBO
2024-06-22 11:09:57 -04:00
Raymond Hill
5c69159b36
[mv3] Inject procedural cosmetic filtering script earlier
...
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/139
2024-06-22 11:06:19 -04:00
Raymond Hill
91ee5bdeae
Improve `prevent-addEventListener` scriptlet
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3061#issuecomment-2159662039
2024-06-11 07:44:43 -04:00
Raymond Hill
98977971db
[mv3] Improve generic cosmetic filtering surveyor
2024-05-28 22:08:24 -04:00
Raymond Hill
8ea1bac80b
Trim end of class tokens in generic cosmetic filtering's surveyor
...
Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3257
2024-05-28 18:42:06 -04:00
Raymond Hill
e738eaa447
Import translation work from https://crowdin.com/project/ublock
2024-05-12 15:51:46 -04:00
Raymond Hill
e7951c2114
Import translation work from https://crowdin.com/project/ublock
2024-04-08 08:23:48 -04:00
Raymond Hill
7ca3855395
Import translation work from https://crowdin.com/project/ublock
2024-04-01 08:33:56 -04:00
Raymond Hill
08b8b875ca
Import translation work from https://crowdin.com/project/ublock
2024-03-29 09:26:56 -04:00
Raymond Hill
d3fe073149
Import translation work from https://crowdin.com/project/ublock
2024-03-28 08:21:46 -04:00
Raymond Hill
27e0db1dd2
Import translation work from https://crowdin.com/project/ublock
2024-03-26 12:47:05 -04:00
Raymond Hill
c6019e755b
Import translation work from https://crowdin.com/project/ublock
2024-03-23 13:33:08 -04:00
Raymond Hill
47ae87724a
Import translation work from https://crowdin.com/project/ublock
2024-03-22 14:53:22 -04:00