Links to external URL's

Discuss recent changes, make suggestions, etc.

Links to external URL's

Postby chrisinkilt » Fri Sep 13, 2013 7:06 pm

Would it be too hard to make all links that lead to external URL's open the link in a new window or tab as a default? Quite annoying when I click on link forgetting to right click first.

Thanks,
Chrisinkilt
chrisinkilt
Active Member
 
Posts: 41
Joined: Sat Oct 08, 2011 7:00 pm

Re: Links to external URL's

Postby crfriend » Sat Sep 14, 2013 12:20 pm

I think I "fixed" that at least once in the past, but it involved a change to the code that got overwritten by the last update. The main drawback is that it affected all URLs, not just external ones.

I'll see what I can do.
Retrocomputing -- It's not just a job, it's an adventure!
User avatar
crfriend
Master Barista
 
Posts: 9748
Joined: Fri Nov 19, 2004 9:52 pm
Location: New England (U.S.)

Re: Links to external URL's

Postby crfriend » Sat Sep 14, 2013 2:10 pm

I think I found -- and changed -- the relevant bits, one line each in three files to add a "target=_blank" option to an HTML anchor statement.

If this doesn't work, or causes unexpected and incorrect behavior, please gripe here or directly to the 'barista" address.

Cheers!
Retrocomputing -- It's not just a job, it's an adventure!
User avatar
crfriend
Master Barista
 
Posts: 9748
Joined: Fri Nov 19, 2004 9:52 pm
Location: New England (U.S.)


Return to Changes at the Cafe

Who is online

Users browsing this forum: No registered users and 1 guest