I remember back in the good old days when all I seemed to do was to
debug VB applications, the most useful feature was the immediate
window. So I thought, what would be great is a similar feature for IE .
So I set to writing Immediate Window For IE.
My first approach took me along the lines of popping up a new window to
contain the textbox that would execute and report the commands.
However, the access denied problem which I experienced with Document Examiner
popped up it's secure concious head. After doing some digging the
document.domain property is blank for a menu extension. I'd have
thought that this should be the same as the domain property of the
window.opener but clearly not.
Anyway, I managed to solve the problem by inserting the html at the end of the body of the window.opener.
So here it is: Immediate Window For IE
To install the extension, extract the contents of the file somewhere,
right-click the .inf file and choose install. Restart IE and then from
a right-click choose the Immediate Window option.
You are able to query and set various properties using this tool,
placing a ? (question mark) before the command will write out the
return value of the expression on the following line. See this screen shot for a visual example (opens new window)