I would like to run a browser (Internet Explorer) from a command prompt using a specific web address. As a result of that I would like to see a simple IE window without toolbars and address line. I wonder if JavaScript is able to control “parameters” of windows in which it is loaded. I mean, I want to add some JavaScript into my HTML code such that it change the window in which it is loaded.
Share
I do not think this is possible with Javascript (I hope it isn’t as it would be a nightmare for web sites to be able to manipulate a browser in this fashion). If it is possible it is more likely that you can use command line arguments in the call to IE (anyone executing processes on the computer should have a higher level of trust than client code delivered as part of a web page). I do not know if such command line arguments exist.
However, you can create a new program that embeds a html renderer and then launch this from the command line. In Windows you can embed an Internet Explorer panel in your program and you will have complete control of what is shown bordering the IE panel.
Another popular choice for embedded HTML rendering is Webkit.
Some links on rendering web pages with c#: