Links to external URL's

Discuss recent changes, make suggestions, etc.
Post Reply
chrisinkilt
Active Member
Posts: 41
Joined: Sat Oct 08, 2011 7:00 pm

Links to external URL's

Post by chrisinkilt »

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
User avatar
crfriend
Master Barista
Posts: 14431
Joined: Fri Nov 19, 2004 9:52 pm
Location: New England (U.S.)
Contact:

Re: Links to external URL's

Post by crfriend »

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: 14431
Joined: Fri Nov 19, 2004 9:52 pm
Location: New England (U.S.)
Contact:

Re: Links to external URL's

Post by crfriend »

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!
Post Reply