For Chrome

For Edge

Forces Chrome to open links in the same tab by default instead of new or background tab, and pop-up windows as new tabs.

Test it!