'Allow System.Windows.Forms.WebBrowser to run javascript
Seriously - read the question all the way through before attempting to answer it. "Use a different browser" doesn't answer this question.
The question is this: How do I get a System.Windows.Forms.WebBrowser control to display a web page that has Javascript embedded in it when I have no control over the incoming page?
I've already seen people suggest adding registry values for IE emulation (Allowing javascript to run on a windows form web browser) and altering the script settings in Internet Options/Security.

I've done that already.
So, here's the test - use a System.Windows.Forms.WebBrowser control to access www.hulu.com.
And we're still getting this.
Any other ideas?
Solution 1:[1]
Possible approaches:
Use a different browser. Replacing .NET WebBrowser control with a better browser, like Chrome?
When your program starts, check the registry to see if IE is configured to allow Javascript. If it isn't, either stop the program or modify the registry. (This might ruffle a LOT of feathers for users or administrators!)
Solution 2:[2]
Only add this line in the top
this.webBrowser1.ScriptErrorsSuppressed = true;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Community |
| Solution 2 | Suraj Rao |
