For information on how to disable JavaScript, and adjusting WebBrowser permissions in general see the white paper on Adjusting WebBrowser Permissions With InternetSecurityManager up on MSDN.