Why Nostr? What is Njump?
2024-08-26 17:37:35

Stefan Judis on Nostr: If you go down that path and really must reimplement "link behavior" in JavaScript, ...

If you go down that path and really must reimplement "link behavior" in JavaScript, here's a list of keyboard interactions you should support with your custom "JS link".

Native links support a ton of keyboard interactions:

- navigating to the target URL
- opening tabs or windows in fore or background
- downloading the target HTML. 😅

Maybe the native link is a better choice!

Thanks to for this research!

https://ericwbailey.website/published/basic-keyboard-shortcut-support-for-focused-links/

Author Public Key
npub19xz5yz4h93m39spmsry5q0hhskwymy5j6ajw9l77txa7npxklnmqj4pzaf