Script errors while browsing websites using WebBrowser

I'm writing a simple web browser and I get some script errors the doesn't occur when I display those sites using IE9.

I know how to suppress these errors but I want to prevent them.

For example, when I try to brows Jango and click "play", I get the following message:

Can someone tell me what is the problem and how can I solve it?

In my code I set the following settings:

        private void WebBrowser_Load(object sender, EventArgs e)
    {
        webBrowser1.ObjectForScripting = this;
        webBrowser1.AllowWebBrowserDrop = false;
        webBrowser1.IsWebBrowserContextMenuEnabled = false;
        webBrowser1.WebBrowserShortcutsEnabled = false;
        webBrowser1.ObjectForScripting = this;
        webBrowser1.ScriptErrorsSuppressed = false;
        //SuppressScriptErrorsOnly(this.webBrowser1);
    }

Answers


Need Your Help

Entries with dates, loop through and make graph for each date

javascript

I have 700 entries in a multiarray with a date on each.

How to change the opacity (alpha, transparency) of an element in a canvas element after it has been drawn?

html5 canvas transparency opacity alpha

Using the HTML5 <canvas> element, I would like to load an image file (PNG, JPEG, etc.), draw it to the canvas completely transparently, and then fade it in. I have figured out how to load the...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.