i know the java script exists as i used to use something similiar, can't find it atm. i need to be able to set a redirect code in front of all external links, including sending them through a proxy of mine.
you can use javascript for redirections using the following code: document.location.href = 'http://www.yourdomain.com'; you can place the code in a function and call the function onLoad.