mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
e55cae6232
Make sure the parser is safely compatible with old resources format -- for those users still using custom resources (via `userResourcesLocation`). Prepare code for future fix to <https://github.com/uBlockOrigin/uBlock-issues/issues/156>: This commit introduces a new private Map() object, `uBOSafe`, accessible by all injected scriptlets. This private safe can be used to store data which can be shared with different scriptlets. The idea is for scriptlets to use that safe to graciously deal with the need to install multiple listeners for the same property. |
||
---|---|---|
.. | ||
scriptlets.js |