CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
383 stars 89 forks source link

[Question] Is there any way to block resource content/images loading? #300

Open atiyka opened 3 years ago

atiyka commented 3 years ago

I mean, is there something like the WebResourceRequested event in WebView2? Is there a workaround how can I block the resource loading? I'm using the WebView in a WPF application.

Thank you!

ghost commented 3 years ago

Hello atiyka, thank you for your interest in Win32!

I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌

michael-hawker commented 3 years ago

FYI @pagoe-msft.

@atiyka best to ask WebView2 questions on the WebView2 repo.

atiyka commented 3 years ago

I was asking about the WebView, not WebView2, just compared to it.