mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
14ebfbea27
The scriptlet will now still try to trap a specific property if a segment of the chain is not undefined while yet not an object either. For example, this now allows to set a value on `document.body.onselectstart` when `document.body` has not been instantiated yet by the browser parser, whereas this would previously fail because `document.body` would be `null` while the scriptlet was testing against `undefined`. |
||
---|---|---|
.. | ||
scriptlets.js |