I was asked today about how to detect if an applicaiton is running in the IDE or out there in the world
The IDE uses Internet Explorer technologies. It is now impossible to do that as a normal browser, Microsoft has disabled the application.
So just use the EWB function: isIE() and if it's true, you are almost certianly running in either EWB IDE or some vintage application still using the IE OLE object.
Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at: http://www.erickengelke.com