Is there a way to resize a WebBrowser control (which in turn will resize a WinForm or WPF Window) based on a default size of a webpage. For example if I click on a link in IE it will bring up a pop with a different size and width then my web browser. I would like to make a quick app that will directly open this pop and will re-size itself to the webpage. I hope this makes sense. Thanks.