Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
Would be useful if the author mentioned some sites this script could be used on... |
|
|
Rod: I believe your problem might be solved if the URL is unescaped _after_ isolating the final destination instead of before. That is, replace the last line with this (untested): links.snapshotItem(i).href = unescape(links.snapshotItem(i).href.replace(/^.*\?.*(http(:\/\/|%3A%2F%2F)[^&]+).*$/i, "$1")); |
|
|
does not work for this link: http://go.fark.com/cgi/fark/go.pl?IDLink=182599... Transforms it to: http://www.westpress.co.uk/displayNode.jsp?node... instead of: |