Did you know you could do this?
Posted by danielmeyer on October 6, 2009
Did you know you can execute Javascript from the address bar in your browser?
javascript:alert("hi y'all!")
Or perhaps more usefully,
javascript:alert(navigator.userAgent)
(This works in both Firefox and Internet Explorer.)
I didn’t realize that the address bar was actually a command line!
Thanks to this MSDN article for the idea!
