uBlock/platform/mv3/scriptlets
Raymond Hill 0fb845d1ac
[mv3] Load specific cosmetic filtering data on-demand only
The cosmetic filtering data embedded in the content scripts has been
extracted in corresponding JSON files. When a list is enabled, the
corresponding cosmetic filtering data from the JSON files, if any, is
persisted into the extension's local storage.

The cosmetic filtering-related content scripts will load the data
from these JSON files on-demand only and matching cosmetic filters
will be extracted, then the result is cached in the session storage,
ensuring there is no longer a need to perform lookup for the rest
of the browser session.

As a result this further reduces the time to First Contentful Paint.

Related issue:
https://github.com/uBlockOrigin/uBOL-home/issues/557
2025-12-09 15:32:02 -05:00
..
css-generic.template.js [mv3] Eliminate false positives in new generic cosmetic exception code 2025-03-13 19:02:20 -04:00
css-generichigh.template.css Change official description in source code top comment 2023-12-04 12:10:34 -05:00
css-procedural.template.js [mv3] Load specific cosmetic filtering data on-demand only 2025-12-09 15:32:02 -05:00
css-specific.template.js [mv3] Load specific cosmetic filtering data on-demand only 2025-12-09 15:32:02 -05:00
scriptlet.template.js [mv3] Re-work specific cosmetic filtering-related content scripts 2025-12-05 08:54:34 -05:00