Link Enhancer | JavaScriptSource

Link Enhancer

Jeroen Haan Jun 20, 2007


Using this script, outbound links will open in a new window automatically. No need to add anything to the link. The script will also apply a different style to the outbound link to make visitors aware it is an outbound link. You don't have to worry anymore about targets and the appearance, especially if your customers have their own CMS.


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: linkEnhancer.js


Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document


Download the images using the URL below:

Leave a Response


I like the way it adds the image to all the external link on this page lol! Using this script helped me to tackle an old accessibility problem I had. Thanx

jez jones Jul 31, 2007

Great script! It's like the links in the articles on Wikipedia.

Anonymous Jun 20, 2007