Like HTTPProxy() a possibility to set a proxy for WebGadget AND WebviewGadget is needed.
At the moment I have to use my own WebView2Gadget(), because we need a proxy top access a IPv4 only webpage from an IPv6 net.
But ... this works only in windows an not macOS or linux.
So a general solution is needed.
WebProxy() or similar to set a proxy for WebGadget and WebviewGadget
Re: WebProxy() or similar to set a proxy for WebGadget and WebviewGadget
Yes, it's coming for the next version (only for WevViewGadget())
-
- Addict
- Posts: 1535
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: WebProxy() or similar to set a proxy for WebGadget and WebviewGadget
WevViewGadget for UI.
It is not clear why a proxy is needed?
Re: WebProxy() or similar to set a proxy for WebGadget and WebviewGadget
cant you do this with SetEnvironmentVariable for the process?
or would you need to set it in a console and then use runprogram?
Code: Select all
proxy.s = "--proxy-server=" + Chr(34) + "192.0.0.1:8080" + Chr(34)
SetEnvironmentVariable("WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS",proxy)
or would you need to set it in a console and then use runprogram?