Don't open Repository link in new tab by default #128416
Unanswered
stephan281094
asked this question in
npm
Replies: 0 comments 2 replies
-
Consistency should be there. But I for instance, in 99% of cases, prefer a new tab :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! I often use
https://npmjs.org/package/{package-name}
to find the repository where the code of a package is located. The npm website conveniently displays a "Repository" link if one has been specified inside ofpackage.json
. Right now, when clicking this link, the npm website forces the link to be opened in a new tab. In 99% of the cases when I click this link, however, I want it to open in the same tab. It's a frustrating experience to have to close the npm tab every time I just want to go to the repository.In my opinion, the user should be in charge. They should be able to decide whether to open the link in a new tab or not. This is also inconsistent with the "Homepage" link, where the link is not automatically opened in a new tab.
Thank you for taking the time to read this and I'm curious to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions