Did you know you could do this?

Did you know you can execute Javascript from the address bar in your browser?

javascript:alert("hi y'all!")

javascript-in-address-bar

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!

Advertisements

Recurrent onceness in IE (solved)

Every time I opened Internet Explorer 7 it was going to the “run once” page.  I tried both options under Required settings but got the same error:

ie7-runonce-error

The fix was easy enough.

A Don Varnau recommended a troubleshooting document on enhanceie.com which pointed to this Microsoft KB article.  The KB article suggested adding the following DWORD keys to
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main :

RunOnceHasShown=1
RunOnceComplete=1

I added these keys and values and restarted Internet Explorer, and now it goes to my home page instead of the Run Once page.  Ahh!