Member Avatar for nssltd

Hi i have been making a web browser program in c# but an annoying dialog pops up on some pages the user navigates. The dialog says

Script error

Syntax error

line 54

char 16


does anybody know how to prevent this from popping up.

Thanks in advance NSSLTD.

p.s it is vital i fix this because otherwise the user is completely blocked from using the browser or exiting it with killing it in task manager.

Does your webbrowser manage javascript?? You can start out from here because that's the problem :)

Member Avatar for nssltd

Check out WebBrowser.ScriptErrorSuppressed property

Thanks ryshad should have noticed it before but it worked! thanks again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.