Javascript little technique in browser url

You can run a little piece of javascript code on a webpage.
Type “javascript:” and the follow by your javascript code in the url space.
Then you code snippet will run and return the value on the browser.

I use this to call getCenter() when using google map to figure out where I am now.