uBlock/platform/mv3/extension/js
Raymond Hill aa05cb32c6
[mv3] Implement strict blocking
Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/214

This implements basic functionality for strict blocking, i.e. the
ability to block navigation to undesirable websites. This is a
first implementation, which converts only filters that are plain
hostnames.

Unlike with uBO, it is not possible to know from which ruleset a
blocking rule originates. Nonetheless, users will have to make a
choice as to whether navigation should proceed or not.

A setting has been added to the dashboard to wholly enable/disable
strict blocking. It is enabled by default.

Potential future improvements, pending investigation on feasability
in an MV3 framework:
- Extend coverage to explicit `document` filters
- Leverage and use `urlskip=` filters in the blocking page in order
  to proceed while bypassing unwanted redirects.
2024-12-03 16:41:34 -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] Implement strict blocking 2024-12-03 16:41:34 -05:00
config.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
dashboard.js [mv3] Add minimal ability to diagnose ruleset issue 2024-07-29 14:54:46 -04:00
debug.js [mv3] Do not collect matched rules by default when side-loaded 2024-11-21 12:54:28 -05:00
ext.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
fetch.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
filter-lists.js [mv3] Batch changes thru dashboard UI to reduce worker's workload 2024-11-18 14:08:30 -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] Implement strict blocking 2024-12-03 16:41:34 -05:00
popup.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
report.js [mv3] Issue labels cannot be set client-side 2024-10-11 16:41:13 -04:00
ruleset-manager.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
scripting-manager.js [mv3] Fix flaw breaking scriptlets injection in optimal/basic mode 2024-11-20 09:04:52 -05:00
settings.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
strictblock.js [mv3] Implement strict blocking 2024-12-03 16:41:34 -05:00
theme.js Change official description in source code top comment 2023-12-04 12:10:34 -05:00
utils.js [mv3] Fix flaw breaking scriptlets injection in optimal/basic mode 2024-11-20 09:04:52 -05:00