Here's what I think is a handy 'bookmarklet'. If you have it as a button on your bookmarks or favorites bar and click it, it will highlight all links within the current page in yellow. Clicking again will remove the highlight. I suspect there are probably add-ons out there that do a similar thing, but I haven't looked.
Code: Select all
javascript:function%20Traverse(task,node){this.iterate=function%20iterate(task,node){for(var%20x=0;x<node.childNodes.length;x++){var%20childNode=node.childNodes[x];task(childNode);if(childNode.childNodes.length>0)this.iterate(task,childNode);}}}var%20traverse=new%20Traverse();traverse.iterate(Highlight,document.body);function%20Highlight(node){if(node.nodeName=='A'){node.style.backgroundColor=(node.style.backgroundColor=='yellow')?'inherit':'yellow';}}
The original function was by a chap called Ben de Haan. I modified it to be a bookmarklet and to toggle the highlight. Andy.
Added: I should also warn you that it would take a while with a large page!