Forum menu
URL links in the fo...
 

[Closed] URL links in the forum - a question (and a suggestion maybe)

Posts: 0
Free Member
Topic starter
 
[#2144170]

Is it possible to get links set up so that when you click on them it automatically opens a new tab/window (like they do on Retrobike for example)? I know it's not hard to right click and open in a new tab, but it'd be schweet with you could just click on a link and have it do this rather than going straight to the url in the window/tab you're already in (ie. leaves STW forum)...

Am I the only one who finds this a little niggling & annoying? ๐Ÿ˜ณ


 
Posted : 31/10/2010 4:57 pm
Posts: 0
Free Member
 

A vote from me to leave it the way it is - thanks.

Window proliferation? Nein Danke!


 
Posted : 31/10/2010 5:02 pm
Posts: 13591
Full Member
 

I would like it like the OP

have to hold CTRL down and click at the moment


 
Posted : 31/10/2010 5:03 pm
Posts: 0
Free Member
Topic starter
 

well, it's more tab proliferation if you're using the latest browsers...


 
Posted : 31/10/2010 5:04 pm
Posts: 0
Free Member
Topic starter
 

ah, hold CTRL down, didn't know about that trick! cheers ๐Ÿ™‚


 
Posted : 31/10/2010 5:04 pm
Posts: 0
Free Member
 

What about having choice? Those who want a new tab can right click, those who don't, don't.


 
Posted : 31/10/2010 5:05 pm
Posts: 0
Free Member
 

that's how it used to work, pre-hack, though it doesn't conform to normal webpage usage, which is why I suppose it was changed. In Firefox it should be possible to write a greasemonkey script to modify all the links...


 
Posted : 31/10/2010 5:06 pm
Posts: 621
Free Member
 

on most browsers you can middle click to open in a new window or tab


 
Posted : 31/10/2010 5:07 pm
Posts: 6886
Free Member
 

How much time are you pending on forums???? ๐Ÿ˜ฎ


 
Posted : 31/10/2010 5:16 pm
Posts: 0
Free Member
 

here's the Javascript required:
foo=document.getElementsByTagName('a')
for (x in foo) if (foo[x].host != "www.singletrackworld.com") foo[x].target='_blank'


 
Posted : 31/10/2010 5:21 pm
Posts: 4279
Full Member
 

firefox - middle click to open in new tab.

internet explorer - middle click to open in new tab.

non?


 
Posted : 31/10/2010 5:48 pm
Posts: 0
Free Member
 

Chrome - middle click to open in new tab


 
Posted : 31/10/2010 5:49 pm
Posts: 0
Free Member
Topic starter
 

didn't know that either! so, no need to change anything, just a need to educate meself betterer re. internet and mouse usage! ๐Ÿ˜ณ


 
Posted : 31/10/2010 6:00 pm
Posts: 0
Free Member
 

I changed by greasemonkey script slightly:
foo=document.getElementsByTagName('a')
len = foo.length
for ( x = 0; x < len; x ++ ) if (foo[x].host != "www.singletrackworld.com") foo[x].target='_blank'

and it works fine making all external links open in a new tab


 
Posted : 04/11/2010 12:04 pm
Posts: 251
Full Member
 

Just used middle button for the first time (possibly ever)- it works as advertised, doesn't it ๐Ÿ™‚


 
Posted : 04/11/2010 12:15 pm
Posts: 0
Free Member
 

Well, I don't have a middle button, so have to right click then choose an option.

Why is defaulting to open in the same tab letting the user decide any more than automatically open in a new tab? You can override both options. I know technically it's a web standards thing but can't help feeling it's not so relevant now tabs are around


 
Posted : 04/11/2010 12:21 pm