I’m assuming you mean something like (in Javascript):
var links = document.getElementsByTagName('a');
for (var i = 0; i < links.length; i++) {
if (links[i].href == "http://www.google.com/") links[i].href = "http://www.blather.blorg/"
}
Tested and works on Firefox 3.
4
solved replace specific link to ******* [closed]