I\'m trying to slightly modify this so that it prompts for the text to search for, followed by the text to replace with, and when all done processing, show a dialog box lett
This worked for me:
javascript:function%20htmlreplace(a,b,element){if(!element)element=document.body;var%20nodes=element.childNodes;for(var%20n=0;n
All I did was replace the old and new with a prompt() function. good bookmarklet.
old
new
prompt()