Post
Topic
Board Meta
Re: Behavior change request for clicking links
by
al1n
on 01/02/2018, 11:28:26 UTC
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 Smiley, 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? Smiley
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
Code:
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")
  }
}