Hi!
How could I use this for this browser?
--disable-webgl
--disable-web-security
--disable-remote-fonts
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
add Custom line
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: add Custom line
Hi,
Set GlobalWebView2Loader.DisableWebSecurity to True to add the --disable-web-security switch automatically.
To add the rest of the switches you will have to set GlobalWebView2Loader.AdditionalBrowserArguments like this :
If you can't find a switch in uWVLoader.pas then you can add it to the GlobalWebView2Loader.AdditionalBrowserArguments property.
All these properties must be set before the GlobalWebView2Loader.StartWebView2 call.
Set GlobalWebView2Loader.DisableWebSecurity to True to add the --disable-web-security switch automatically.
To add the rest of the switches you will have to set GlobalWebView2Loader.AdditionalBrowserArguments like this :
Code: Select all
GlobalWebView2Loader.AdditionalBrowserArguments := '--disable-webgl --disable-remote-fonts';
All these properties must be set before the GlobalWebView2Loader.StartWebView2 call.
Re: add Custom line
This is amazing! You are a wizard!salvadordf wrote: Sun Mar 20, 2022 7:48 pm Hi,
Set GlobalWebView2Loader.DisableWebSecurity to True to add the --disable-web-security switch automatically.
To add the rest of the switches you will have to set GlobalWebView2Loader.AdditionalBrowserArguments like this :If you can't find a switch in uWVLoader.pas then you can add it to the GlobalWebView2Loader.AdditionalBrowserArguments property.Code: Select all
GlobalWebView2Loader.AdditionalBrowserArguments := '--disable-webgl --disable-remote-fonts';
All these properties must be set before the GlobalWebView2Loader.StartWebView2 call.