Technically you could do it the other way only in case of PWA.
Set target blank as default for anchor tag.
Add target=self to all internal/dev.to links.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.