fiatjaf / njump

mirror of https://git.njump.me/njump
MIT License
108 stars 24 forks source link

Open clients note link in new tab #36

Open anthony-robin opened 10 months ago

anthony-robin commented 10 months ago

I often use njump to check how content is rendered on different client and loosing the current njump tab on clicking a client force to use back browser or redo the njump note id check to go to another client.

What would you think of adding a target="_blank" attribute to right sidebar client links when opening a content ? Maybe the new tab could be an HTML option that would toggle, on the fly, the target attribute on client list links ?

Thank you for building njump, very helpful and strong tool of everyday :)

fiatjaf commented 10 months ago

Two questions:

  1. Why don't you use the middle-click?
  2. Is it really bad to go back? The njump page should be heavily cached so if you go back it should load instantly.
cxplay commented 9 months ago

I think you should copy the id of the event and then go to the client side to get the content of the event.

anthony-robin commented 9 months ago

Thank you @fiatjaf

  1. Sure I could still use the middle click / right click -> open in new tab / pressing ctrl or cmd before clicking the link. My use case is more to be effective by closing with keyboard shortcut the client tab as soon as I checked the note and then expecting to go back to njump to verify the next one :)
  2. Not a big deal at all, njump is very quick to load !

Feel free to close the issue if you consider it is good as it is now :)