Showing posts with label scams. Show all posts
Showing posts with label scams. Show all posts

Thursday, March 31, 2011

Using Javascript in the address bar

One easy way to run javascript in your browser is to, simply type:

javascript: and then a javascript function

So for example, if you want to change the term Christian Business into scams, just paste this into your address bar.

javascript: document.write(document.childNodes[1].innerHTML.replace(new RegExp(/Christian Business/gi), "scams").replace(new RegExp(/Christian Business/gi), "scams"))

To test this you could go here: http://www.google.com/search?hl=en&q=%22Christian+Business%22&aq=f&aqi=g10&aql=&oq=

And then just paste said javascript into the browser bar.