Results 19 comments of leonidukg

I also want to add here that proxy authorization also does not work if ServiceWorker requests it, you can test it on the website: https://scrapbox.io/

See https://github.com/MicrosoftEdge/WebView2Feedback/issues/4154#issuecomment-1815879308

The problem with "window.chrome" is that it's just a Javascript variable and it's very rare, but some scripts redefine it for themselves and after that it's no longer possible to...

Been watching this bug for a long time too. But this bug is not in Webview2, it is Chromium itself that has this problem. It can be seen in Devtools....

> I tried leonidukg's comment. It works, but when the post data include file, the file values will omit. So, it still need to fix. You are right because Network.requestWillBeSent...

Once again encountered this problem and even my workaround won't help. So I had to look for another one, but I already had a function to modify HTML code and...

Better yet, this directory should be created where the script runs. That would be perfect.

What's the problem? ``` string url = addressBar.Text.Trim(); Uri urlx = new(url.ToLower()); await WebView.CoreWebView2.CallDevToolsProtocolMethodAsync("Storage.clearDataForOrigin", "{\"origin\":\"" + urlx.Scheme + "://" + urlx.Host + "\",\"storageTypes\":\"all\"}"); WebView.CoreWebView2.Navigate(url); // NOT RELOAD, need start new...

> @leonidukg I assure you, everything will be broken at some point. But this is a solution that works + to remove cookies from subdomains you can use the code...