Closed guus-frenken closed 4 months ago
Simple and elegant way to support shadow DOM. It will be up to the rule writers to split queries that enter into shadow into the two halves.
Will accept this as-is for now - have some additions to it that should arrive later today too (docs, handling the case where Tools.js base is set).
This PR adds support for the parent element to be a shadow DOM/ShadowRoot.
This PR also adds a rule for a number of brands owned by DPG Media that use the consent popup variant that lives in a shadow DOM.
This rule is confirmed to work on at least the following websites:
https://www.gaspedaal.nl https://www.autotrack.nl