mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-02 00:42:45 +01:00
6d9bef28ff
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). |
||
---|---|---|
.. | ||
scripting | ||
about.js | ||
background.js | ||
dashboard-common.js | ||
dashboard.js | ||
ext.js | ||
fetch.js | ||
mode-manager.js | ||
popup.js | ||
ruleset-manager.js | ||
scripting-manager.js | ||
settings.js | ||
theme.js | ||
utils.js |