You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When checking if an inserter function contains shadow DOM, the code expects the argument to be a string (argument is added as innerHTML on a new html tag).
But many of the functions do not operate on strings, so the "checked" HTML becomes something like:
Furthermore, elements inside shadow DOM will not be found when looking for frames using querySelectorAll, so we can just insert shadow DOM (as a DOM node, not string) containing an iframe, and use that:
Thanks for contributing. The main maintainer of this project is temporary unavailable, but we'll definitely get back to this.
The plan is to tighten some limitations on DOM usage that Snow already introduces and fixing the missing overrides where possible. Some of the work has started (see PR tab)
When checking if an inserter function contains shadow DOM, the code expects the argument to be a string (argument is added as
innerHTML
on a newhtml
tag).But many of the functions do not operate on strings, so the "checked" HTML becomes something like:
Furthermore, elements inside shadow DOM will not be found when looking for frames using
querySelectorAll
, so we can just insert shadow DOM (as a DOM node, not string) containing an iframe, and use that:The text was updated successfully, but these errors were encountered: