Hi Agi and team,

as a Mozilla consultant who spent 20 years helping companies create products based on Mozilla, I know that Jochen's request is a fairly common requirement.

For example, one client of mine didn't trust the network (including DNS) and wanted a web browser that tunnels all requests through their own server. Similar to what Opera mobile and Chrome Android do in the "accelerated" proxy mode. The normal HTTP proxy protocols are not sufficient (e.g. leak DNS) and they wanted their own wire protocol.

Another common requirement is to simply stop and block all network requests apart from those to a specific server or domain, for security purposes. You might not want these requests to fail, but to return dummy data, to avoid apps breaking. This is important for dedicated browsers that e.g. wrap a single web application. You might call it Kiosk mode.

Another purpose is to analyze web sites. You run a given website and analyze their behavior, specifically the network requests it makes. You log all that and then you can e.g. security analyze them.

All of the above are real-world examples of past clients I had, and actual products that were built based on Mozilla.

It would be good to have such a standard API. It will be a common request for many use cases where one would use GeckoView.

Kind regards,

Ben


On 21.11.19 19:38, Agi Sferro wrote:
Hi Jochen,

Could you expand a little bit on what exactly are you trying to do? It will help us give you a better answer.

In general, we don't currently support that level of control on network requests outside of a WebExtension.

Thanks,
Agi

On Thu, Nov 21, 2019 at 10:26 AM Emily Toop <et...@mozilla.com> wrote:


---------- Forwarded message ---------
From: Jochen van Waasen <joc...@vanwaasen.ch>
Date: Thu, 21 Nov 2019 at 14:16
Subject: GeckoView
To: <et...@mozilla.com>


Hi Emily

I would like to use GeckoView but need to intercept all request that are coming out of a webpage (URL, resource, XMLHttpRequest, requests coming from inside an iFrame).

Can this be done with GeckoView?

The WebExtension is probably not what I need as I need to stop the request/load and process it differently.
Ideally I could register a WebExecutor globally that gives me this kind of control.

Best Regards
Jochen
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev



_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to