Differentiate between internal and external links
Currently Tor Metrics opens external links in a new tab. This is bad for two reasons:
- It gives external pages access to window.opener.location which could be used to redirect Tor Metrics users discreetly to a non-Tor Metrics site that does malicious things but looks like Tor Metrics
- It is bad for accessibility where users may use assistive technology that is upset when new tabs appear
- It is bad for users that might not want new tabs all over the place and are perfectly capable of using the back button
It would still be good to be able to distinguish visually where there are external vs. internal links. I will leave the actual design/implementation up to UX people as I have no suggestions that I think are great.
The following StackOverflow post talks about a CSS selector that can be used for external links: