Looking For Javascript Assistance

Discussion in 'HTML & Website Design' started by dalerobbins, May 23, 2007.

  1. #1
    I'm looking for a utility script, or assistance in composing one, that will scan through the html from a web page and add codes to all the URL links.

    I would like this to be self contained in one html page... and to accept the cut-n-paste input of html code into a textarea, then add codes to all URL links in this format <a href="%%track http://www.whatever.com%%"> and output the processed html code into another textarea in the same page. (This is for a Lyris tracking proceedure.)

    I also need for this to "ignore" certain URL links that I specify, and not add tracking codes in those.

    I could also use the ability to search and correct hexidecimal coding errors, such as replace "|" for %7C, replace ":" for %3A, or replace "%" for %25.

    Thanks for any help or direction you can offer!
     
    dalerobbins, May 23, 2007 IP