link-hijacker icon indicating copy to clipboard operation
link-hijacker copied to clipboard

Hijack clicks on and within links, probably for client-side routing

Results 4 link-hijacker issues
Sort by recently updated
recently updated
newest added

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](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) which Edge sadly only...

Would you be interested in a PR to switch from commonjs to modules?

If the property `skipOtherOrigin` is set to be true, the callback in `skipFilter` is still called for external links.

[A recent PR to the tabbable library](https://github.com/davidtheclark/tabbable/pull/13) reminded me that you need to take special measures to make stuff like this work within iframes. - Get `document` by getting an...