I am making a bookmarklet that would change all letters, like "R", with other letters, like "W", or possibly replace whole words. I have tried using the following code, but it messes up the website, and shows the elements in the element.
javascript: $("body").text($("body").text().replace("r", "w"));
Would there be a solution for this?
For those of you who are wondering what I would use this for, I am trying to make a code that would turn this:
Hello, my name is Jonathan Grasswell, and I would like to propose a new idea for a tractor.
Into this:
Hewwo, my nyame is Jonnyathyan Gwyassweww, aynd I wouwd wike to pwopose a nyew ideya fow ay twactow.
Basically, a "OWOfier". Also, would it be possible to insert a random emoticon 20% of the time after a period?