dotnet / dotnet/wpf

Webbrowser - Add SuppressScriptErrors property

Open
#2,150 0 comments 0 reactions 0 assignees View on GitHub
Enhancement Requested
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

I know the modern `WebView` exists but its for _viewing purposes_ only and therefore lacks of many features so in more advanced scenarios developers have to still fall back to the webbrowser control. Sadly this is so old that it throws many script errors on many sites. In Winforms it's super easy to suppress these error by setting SuppressScriptErrors flag to true. On WPF this property is missing and therefore requires developers to use unnecessary complicated workarounds like this one https://stackoverflow.com/a/6198700

I would like to request this property to be added to WPF's webbrowser.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.