<script> document.body.innerHTML.replace(/http://images/g, "\<img src='http://images"); document.body.innerHTML.replace(/.jpg/g, ".jpg' \/>"); </script>