Can an extension check network type?

Is there an API that allows an extension to check if the user is on a mobile network?

For example, if an extension sends out periodic web requests, it might be nice to add a “Don’t check when on mobile network” option to save the user’s mobile data.

There’s the experimental Network Information API. It’s supported in Firefox for Android.

1 Like

Good to know! Thanks, Danny!