1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00
uBlock/platform/mv3/extension/js
Raymond Hill 6d9bef28ff
[mv3] Fix issue with updateContentScripts API and other fixes
Avoid using updateContentScripts() as it suffers from an unexpected
behavior, causing injected content scripts to lose proper order
at injection time. The order in which content scripts are injected
is key for uBOL content scripts. Potential out of order injection
was causing cosmetic filtering to be broken.

Use actual storage API to persist data across service worker
wake-ups and browser launches. uBOL was trying to avoid using
storage API, at the cost of somewhat hacky code (using DNR API
to persist settings).

Make use of session storage if available, to speed up
initialization of waking up the service worker (which at this
point is necessary to properly implement cosmetic filtering).
2023-06-05 09:15:59 -04:00
..
scripting [mv3] Mitigation: Inject CSS user styles to enforce cosmetic filtering 2023-06-04 11:32:55 -04:00
about.js Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
background.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
dashboard-common.js Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
dashboard.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
ext.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
fetch.js [mv3] Add support for specific cosmetic filtering 2022-09-15 13:14:08 -04:00
mode-manager.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
popup.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
ruleset-manager.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
scripting-manager.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
settings.js [mv3] Fix issue with updateContentScripts API and other fixes 2023-06-05 09:15:59 -04:00
theme.js Code maintenance: replace uDom.js with dom.js 2022-11-12 09:51:22 -05:00
utils.js [mv3] Mitigation: Inject CSS user styles to enforce cosmetic filtering 2023-06-04 11:32:55 -04:00