reference-browser icon indicating copy to clipboard operation
reference-browser copied to clipboard

How I can change about:config (specially network.proxy.http) in Firefox preview or gecko-view?

Open fpichlou opened this issue 5 years ago • 4 comments

How I can change about:config (specially network.proxy.http) in Firefox preview or gecko-view in code?

fpichlou avatar Jun 20 '20 08:06 fpichlou

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.

pocmo avatar Jun 22 '20 10:06 pocmo

Ah, found the GV bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1525486

pocmo avatar Jun 22 '20 10:06 pocmo

@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?

fpichlou avatar Jun 22 '20 11:06 fpichlou

Not from code to my knowledge.

pocmo avatar Jun 22 '20 11:06 pocmo