Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Does not work with Shadow DOM #13

Open
tpluscode opened this issue Aug 4, 2021 · 0 comments
Open

Does not work with Shadow DOM #13

tpluscode opened this issue Aug 4, 2021 · 0 comments

Comments

@tpluscode
Copy link

Because Shadow Roots cause event retargeting, link-hijacker is unable to find the source a element which triggered the event.

The best alternative appears to be composedPath which Edge sadly only supports in version 79+. It could be good enough, still better than not supporting shadow roots in any way at all.

I would be happy to submit a PR.

Any other suggestions?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant