To open everything in a tab in Firefox, many steps are required. You will need some extension to achieve the more complicated ones.
TL;DR
Change the followings:
browser.search.openintabtotruein about:config- Install userChrome.js and add the following script.
- Done.
What decides where something is open ?
When you click or type somewhere in Firefox, there is code that decides where your click or enter should open. This code is mostly javascript, which means we can inspect it and modify it.