javascript:(function(){document.body.innerHTML=document.body.innerHTML.replace(new RegExp(prompt('regex?'),'g'),prompt('replacement string?'))})()
^-- This doesn't work for me.
javascript:(function(){document.body.innerHTML=document.body.innerHTML.replace(prompt('find?'),prompt('replacement string?'))})()
^-- This doesn't work either.
I tested them by bookmarking them and running them on this page. No resulting changes, but on the other hand no errors either.