API for internal VPN remaining size

Hi guys,

How can I get the remaining size of the internal VPN (FF149+) from a user Javascript? A key in localStorage?

Thank you

Hi Serge, what do you mean the remaining size of the internal VPN? I am a bit confused about internal VPN and what do you mean by that.

Thanks

Hi @mozchris ,

I mean this number:

I’m writing a user Javascript library (of course, the user copies all the files to the profile folder manually and voluntarily), that displays some usage info. Now I’d like to add VPN statistics.

I could debug the UI control and look, what event it subscribed to. Or, at least, I could just parse the text label and extract both numbers. But I’d prefer an official API.

Thank you.