title: How to force JavaScript to be enabled in an embedded WebBrowser control?
body: <p>I have a C++ application that embeds Internet Explorer as a WebBrowser control.</p>
  
  <p>The content I show in that control relies on JavaScript being enabled, but if the user has disabled JavaScript in their Internet Explorer security settings, it's disabled in my embedded control as well.</p>
  
  <p>How can I ensure that JavaScript is enabled for my embedded web browser control?</p>
  
  <p>(Pre-emptive comment response: I'm in full control of the content, so enabling JavaScript is not a security risk.)</p>