Please don't implement this! I can now choose to open a link in a new tab (which I often do with a simple middle-mouse-click), but for sites with _blank I can't choose to open the link on the same page.
The Merit+ button opens in a new tab, unlike "Report to moderator". This limits my options as I can't open it without a new tab.
i'm asking for this only for external links; for internal redirection the behavior can remain as it is
btw for phone you don't have a mouse
, and that's why i am requesting this
on phone you often open links when you don't actually want to (by mistake), just by scrolling a page with your fingers
open in new tab. Is that what you wanted?
Do you think I don't know that?
It is just annoying and hard to do with one hand.
The same applies for external links: I can open it any way I want now. After your suggestion, I only get a new tab.
My suggestion is just an example. It can be implemented in many ways and internal redirecting can be handled.
There are even sites that show a messagebox if you want to go outside of the current domain and you have to agree before the redirect takes place.
Here is an example for handling internal redirects
function externalLinks() {
for(var c = document.getElementsByTagName("a"), a = 0;a < c.length;a++) {
var b = c[a];
b.getAttribute("href") && b.hostname !== location.hostname && (b.target = "_blank")
}
}