So many comments debating the philosophy around this. I like it when these type of sites open a new tab for me. Is there a way to just code in a toggle between the two link opening types?
This is the type of thing I have to fight against daily. You already have both action available - left click or middle click. Don't bloat your software with band aids for problems that don't exist - just train your users better.
The reason it’s a debate is because both interfaces / flows are broken.
Back/forth, new tab, currently open tab switch, bookmark, needs to be redesigned from first principal. They all approximate different versions of similar intents.