How I can change about:config (specially network.proxy.http) in Firefox preview or gecko-view?
How I can change about:config (specially network.proxy.http) in Firefox preview or gecko-view in code?
There's no generic way to flip Gecko preferences from the app side. However some of those config options are exposed via the GeckoView API. I'm not sure if the proxy setting is part of that. @snorp @fluffyemily Do you know? Is there a bug about this?
If such an API exists then I'm sure we haven't exposed it in our Android Components yet - which may be necessary so that the app can access it.
Ah, found the GV bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1525486
@pocmo Thank you so much for the response.
Is there any way to set a simple socks or http proxy on firefox preview (such as fenix browser) programmatically?
Not from code to my knowledge.